Chris Lattner
|
c3728c281b
|
* getAsString requires that the input array is string compatible, so
assert it.
* Use WriteAsOperand instead of getStringValue for constants
llvm-svn: 2296
|
2002-04-18 18:15:38 +00:00 |
Chris Lattner
|
0b32d0d511
|
Handle the FP format problem, where outputed FP constants were not precise
enough. This fixes compilation of the health benchmark.
llvm-svn: 2228
|
2002-04-11 21:44:02 +00:00 |
Chris Lattner
|
46f8b0e759
|
Use new higher level isFloatingPoint() function
llvm-svn: 2191
|
2002-04-09 05:16:08 +00:00 |
Chris Lattner
|
6915f8fc3c
|
* Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.h
because the slot calculator is already part of the VMCore library.
* Rename incorporateMethod and purgeMethod to *Function
llvm-svn: 2154
|
2002-04-07 22:49:37 +00:00 |
Chris Lattner
|
62b7fd136e
|
Change references to the Method class to be references to the Function
class. The Method class is obsolete (renamed) and all references to it
are being converted over to Function.
llvm-svn: 2144
|
2002-04-07 20:49:59 +00:00 |
Vikram S. Adve
|
07c874547b
|
Minor cleanup in printing constants. I think this included a bug
fix related to putting a read-write variable in a read-only section,
but I'm not sure now.
llvm-svn: 2073
|
2002-03-31 19:03:58 +00:00 |
Vikram S. Adve
|
270f56a085
|
Handling of global names was severely broken when converting to 2 passes.
Different labels were generated for the same name in different passes.
Use an annotation to hold a fixed table of names.
llvm-svn: 1891
|
2002-03-18 03:07:26 +00:00 |
Vikram S. Adve
|
15148e7e8c
|
Fix include error.
llvm-svn: 1819
|
2002-03-03 20:46:32 +00:00 |
Chris Lattner
|
5536c9c938
|
Clean up std namespace issues
Silence warning
llvm-svn: 1790
|
2002-02-24 23:02:40 +00:00 |
Chris Lattner
|
13b2227ccc
|
EmitAssembly doesn't need an UltraSparc, it can do with any TargetMachine
llvm-svn: 1680
|
2002-02-04 15:53:23 +00:00 |
Chris Lattner
|
d682045227
|
Convert assembly emission over to a two pass approach.
llvm-svn: 1662
|
2002-02-03 23:41:08 +00:00 |
Chris Lattner
|
e772d28862
|
* prune #includes
* Implement permethod output of machine code to assembly
llvm-svn: 1652
|
2002-02-03 07:48:06 +00:00 |
Chris Lattner
|
7f74a56e24
|
Changes to build successfully with GCC 3.02
llvm-svn: 1503
|
2002-01-20 22:54:45 +00:00 |
Chris Lattner
|
b2b1b3d036
|
Remove unsized array support
llvm-svn: 1461
|
2001-12-14 16:30:51 +00:00 |
Chris Lattner
|
2413b160ec
|
Renamed inst_const_iterator -> const_inst_iterator
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408
|
2001-12-04 00:03:30 +00:00 |
Chris Lattner
|
3462ae3ad7
|
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407
|
2001-12-03 22:26:30 +00:00 |
Chris Lattner
|
5de2204fe8
|
Create a new #include "Support/..." directory structure to move things
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
|
2001-11-27 00:03:19 +00:00 |
Ruchira Sasanka
|
1a9a7f2ef1
|
Changed checking for invalid register number - earlier it was uisng a contant
llvm-svn: 1293
|
2001-11-13 23:08:19 +00:00 |
Vikram S. Adve
|
68d00415b4
|
Fix bogus code that was eliminating needed args.
llvm-svn: 1259
|
2001-11-11 23:11:36 +00:00 |
Vikram S. Adve
|
295600c417
|
Several bug fixes in printing constants, particularly with unsized
arrays and multi-dimensional arrays.
llvm-svn: 1239
|
2001-11-10 02:03:06 +00:00 |
Vikram S. Adve
|
2ccb900add
|
Add support to print constant arrays and structures.
Align data larger than an L1 cache line on L1 cache line boundary.
llvm-svn: 1228
|
2001-11-09 02:19:29 +00:00 |
Vikram S. Adve
|
56e61ec517
|
Bug fix: need to use .reserve for uninitialized data.
llvm-svn: 1205
|
2001-11-08 14:29:57 +00:00 |
Vikram S. Adve
|
03f12f521f
|
Fixed function getEscapedString to follow the Sparc assembly rules
for symbol names! (And renamed it to getValidSymbolName).
Fixed format for float and other constants.
llvm-svn: 1195
|
2001-11-08 05:12:37 +00:00 |
Chris Lattner
|
41a8289eb8
|
Check in to use moved stringizing code
llvm-svn: 1024
|
2001-10-29 13:39:38 +00:00 |
Vikram S. Adve
|
5ff15721c9
|
Minor fix I omitted to check in.
llvm-svn: 1012
|
2001-10-28 22:19:06 +00:00 |
Vikram S. Adve
|
71b265a848
|
Major overhaul to print globals and constants.
llvm-svn: 1004
|
2001-10-28 21:38:52 +00:00 |
Ruchira Sasanka
|
0863c161e9
|
Fixed load syntax in EmitAssembly
Fixed cpReg2Mem (store) operand oreder in SparcRegInfo.cpp
llvm-svn: 984
|
2001-10-24 22:05:34 +00:00 |
Vikram S. Adve
|
a0177cdca5
|
Split JMPL into JMPLCALL and JMPLRET.
llvm-svn: 943
|
2001-10-22 13:44:53 +00:00 |
Vikram S. Adve
|
9bc488984f
|
Fixed printing of offset operand for RETURN instruction.
llvm-svn: 928
|
2001-10-20 21:33:50 +00:00 |
Vikram S. Adve
|
72ebb454d0
|
Minor bug fix in printing operands of JMPL.
llvm-svn: 926
|
2001-10-20 20:56:40 +00:00 |
Chris Lattner
|
3294e7c14b
|
Emit the proper .type declarations to tell the debugger what a function is
llvm-svn: 845
|
2001-10-15 19:34:17 +00:00 |
Chris Lattner
|
77d2c22d94
|
Handle abnormal jmpl syntax correctly
llvm-svn: 844
|
2001-10-15 19:21:31 +00:00 |
Chris Lattner
|
02b671388e
|
Be const correct
llvm-svn: 826
|
2001-10-15 15:54:43 +00:00 |
Chris Lattner
|
4b717c0edc
|
Add support for new style casts
llvm-svn: 694
|
2001-10-01 16:18:37 +00:00 |
Chris Lattner
|
0156ba6185
|
Fix emission of return instructions
llvm-svn: 688
|
2001-10-01 02:32:34 +00:00 |
Chris Lattner
|
b021f68438
|
* Properly escape function names
* Ignore %xcc argument on conditional branches
llvm-svn: 663
|
2001-09-28 15:07:24 +00:00 |
Chris Lattner
|
e86a0230aa
|
Seperate instruction definitions into new SparcInstr.def file
Move contents of SparcMachineInstrDesc[] out of SparcInternals.h
into Sparc.cpp
llvm-svn: 644
|
2001-09-19 15:56:23 +00:00 |
Chris Lattner
|
036a317f2a
|
First cut at assembly output
llvm-svn: 636
|
2001-09-19 13:47:27 +00:00 |