Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (1) Added special register class containing (for now) %fsr. | Vikram S. Adve | 2003-05-27 | 1 | -15/+17 | |
| | | | | | | | | | | | | | Fixed spilling of %fcc[0-3] which are part of %fsr. (2) Moved some machine-independent reg-class code to class TargetRegInfo from SparcReg{Class,}Info. (3) Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly() and related functions and flags. Fixed several bugs where only "isDef" was being checked, not "isDefAndUse". llvm-svn: 6341 | |||||
* | Remove obsolete ctor | Chris Lattner | 2003-01-15 | 1 | -9/+0 | |
| | | | | llvm-svn: 5301 | |||||
* | Rename MachineInstrInfo -> TargetInstrInfo | Chris Lattner | 2003-01-14 | 1 | -3/+3 | |
| | | | | llvm-svn: 5272 | |||||
* | Add support for 3 new forms of MachineOperand | Chris Lattner | 2003-01-13 | 1 | -18/+39 | |
| | | | | llvm-svn: 5217 | |||||
* | * Add printing support for FrameIndex operands | Chris Lattner | 2002-12-28 | 1 | -24/+29 | |
| | | | | llvm-svn: 5194 | |||||
* | Implement printing of MBB arguments | Chris Lattner | 2002-12-15 | 1 | -17/+28 | |
| | | | | llvm-svn: 5053 | |||||
* | Print is const! | Chris Lattner | 2002-11-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 4737 | |||||
* | Remove only uses of markDef/markDefAndUse methods | Chris Lattner | 2002-11-17 | 1 | -6/+9 | |
| | | | | llvm-svn: 4719 | |||||
* | Remove fixme | Chris Lattner | 2002-10-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 4447 | |||||
* | Add special code to make printing SSA form machine instructions nicer | Chris Lattner | 2002-10-30 | 1 | -4/+15 | |
| | | | | llvm-svn: 4446 | |||||
* | Use MRegisterInfo, if available, to print symbolic register names | Chris Lattner | 2002-10-30 | 1 | -7/+14 | |
| | | | | llvm-svn: 4438 | |||||
* | Implement structured machine code printing | Chris Lattner | 2002-10-30 | 1 | -7/+102 | |
| | | | | llvm-svn: 4435 | |||||
* | Implement autoinserting ctor | Chris Lattner | 2002-10-29 | 1 | -0/+20 | |
| | | | | llvm-svn: 4426 | |||||
* | Remove separate vector of implicit refs from MachineInstr, and | Vikram S. Adve | 2002-10-29 | 1 | -11/+24 | |
| | | | | | | | | instead record them as extra operands in the operands[] vector. Also, move CallArgsDescriptor into this class instead of making it an annotation on the machine instruction. llvm-svn: 4399 | |||||
* | Move TargetInstrDescriptors extern to the one .cpp file that refers to it: | Chris Lattner | 2002-10-29 | 1 | -0/+8 | |
| | | | | | | MachineInstr.cpp llvm-svn: 4392 | |||||
* | Use higher level methods, don't use TargetInstrDescriptors directly! | Chris Lattner | 2002-10-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 4389 | |||||
* | Remove all traces of the "Opcode Mask" field in the MachineInstr class | Chris Lattner | 2002-10-28 | 1 | -4/+3 | |
| | | | | llvm-svn: 4359 | |||||
* | Remove more default arguments that are never used | Chris Lattner | 2002-10-28 | 1 | -7/+4 | |
| | | | | llvm-svn: 4358 | |||||
* | Remove default operands that are never used | Chris Lattner | 2002-10-28 | 1 | -6/+10 | |
| | | | | llvm-svn: 4357 | |||||
* | * Make MachineOperand ctors private, so MachineOperand can only be created | Chris Lattner | 2002-10-28 | 1 | -20/+21 | |
| | | | | | | | | by MachineInstr. * Add a bunch of new methods to allow incremental addition of operands to the machine instr instance. llvm-svn: 4356 | |||||
* | Remove two arguments that are never specified | Chris Lattner | 2002-10-28 | 1 | -8/+2 | |
| | | | | llvm-svn: 4348 | |||||
* | Fairly major overhaul of MachineInstr & Operand classes | Chris Lattner | 2002-10-28 | 1 | -6/+21 | |
| | | | | | | | | - Inline methods that are mostly a single line anyway - Eliminate several methods that were never called - Group methods a bit more consistently llvm-svn: 4329 | |||||
* | Add #includes now that MachineInstr.h doesn't include ↵ | Chris Lattner | 2002-10-28 | 1 | -0/+1 | |
| | | | | | | llvm/Target/MachineInstrInfo.h llvm-svn: 4327 | |||||
* | - Two minor improvements to the MachineInstr class to reduce footprint and | Chris Lattner | 2002-10-22 | 1 | -4/+4 | |
| | | | | | | | overhead: Merge 3 parallel vectors into 1, change regsUsed hash_set to be a bitvector. Sped up LLC a little less than 10% in a debug build! llvm-svn: 4261 | |||||
* | Add method MachineInstr::replace to rewrite a machine instruction in place. | Vikram S. Adve | 2002-09-20 | 1 | -0/+16 | |
| | | | | llvm-svn: 3843 | |||||
* | Dump routine now writes out allocated register numbers if available. | Vikram S. Adve | 2002-09-16 | 1 | -4/+13 | |
| | | | | llvm-svn: 3737 | |||||
* | Add method MachineInstr::substituteValue() which substitutes | Vikram S. Adve | 2002-08-14 | 1 | -0/+29 | |
| | | | | | | | one Value with another one in all operands and implicit references of the machine instruction. llvm-svn: 3306 | |||||
* | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 1 | -15/+2 | |
| | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -5/+5 | |
| | | | | llvm-svn: 3075 | |||||
* | Add support for marking each operand as a %hh, %hm, %lm or %lo. | Vikram S. Adve | 2002-07-10 | 1 | -34/+38 | |
| | | | | | | | Represent previous bools and these ones with flags in a single byte per operand. llvm-svn: 2860 | |||||
* | Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.{cpp,h}. | Vikram S. Adve | 2002-07-08 | 1 | -11/+25 | |
| | | | | | | | | An (explicit or implicit) operand may now be both a def and a use. Also add a set of regs used by each instruction. dump() no longer takes an optional argument, which doesn't work in gdb. llvm-svn: 2821 | |||||
* | Improve printing during dumps. | Vikram S. Adve | 2002-04-25 | 1 | -28/+16 | |
| | | | | llvm-svn: 2311 | |||||
* | s/method/function | Chris Lattner | 2002-04-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 2177 | |||||
* | Bug fix in setting CC register. | Vikram S. Adve | 2002-03-18 | 1 | -8/+11 | |
| | | | | | | | Also use distinct names for the three types of SetMachineOperand to avoid painful overloading problems and errors. llvm-svn: 1904 | |||||
* | * Prune #includes | Chris Lattner | 2002-02-03 | 1 | -259/+1 | |
| | | | | | | * Remove MachineCodeFor(Method|VMInstr) code to their own .cpp files llvm-svn: 1649 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -30/+23 | |
| | | | | llvm-svn: 1503 | |||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -2/+2 | |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | |||||
* | Added naming to inserted phi copy values - for easy debugging | Ruchira Sasanka | 2001-11-15 | 1 | -3/+3 | |
| | | | | llvm-svn: 1325 | |||||
* | Modify AllocateLocalVar method to take a size argument. | Vikram S. Adve | 2001-11-15 | 1 | -3/+29 | |
| | | | | llvm-svn: 1318 | |||||
* | Small changed to printing a machine operand - It the operand is a def, it prints | Ruchira Sasanka | 2001-11-14 | 1 | -2/+6 | |
| | | | | | | a star after it - only for debugging llvm-svn: 1309 | |||||
* | Bug fix in offset alignment computations: don't subtract the padding | Vikram S. Adve | 2001-11-12 | 1 | -37/+32 | |
| | | | | | | value from size *before* subtracting size from offset! llvm-svn: 1283 | |||||
* | Improved printing routines. | Vikram S. Adve | 2001-11-12 | 1 | -4/+14 | |
| | | | | llvm-svn: 1263 | |||||
* | Adjust all stack variable offsets to be aligned by size. | Vikram S. Adve | 2001-11-12 | 1 | -13/+55 | |
| | | | | llvm-svn: 1261 | |||||
* | Fix errors in computing downgrowing offsets, and in | Vikram S. Adve | 2001-11-11 | 1 | -11/+14 | |
| | | | | | | computing size of extra outgoing args. llvm-svn: 1256 | |||||
* | Major overhaul of stack frame management. | Vikram S. Adve | 2001-11-08 | 1 | -20/+150 | |
| | | | | llvm-svn: 1185 | |||||
* | Make reg. numbers signed ints. | Vikram S. Adve | 2001-11-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 1137 | |||||
* | Added class MachineCodeForMethod. | Vikram S. Adve | 2001-10-22 | 1 | -1/+39 | |
| | | | | llvm-svn: 947 | |||||
* | Added implict operand printing for operator( ostream, MachineInstr&) | Ruchira Sasanka | 2001-10-18 | 1 | -0/+20 | |
| | | | | llvm-svn: 912 | |||||
* | 1. Add a bottom-up pass on BURG trees that is used to fix constant operands. | Vikram S. Adve | 2001-10-17 | 1 | -2/+3 | |
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. llvm-svn: 859 | |||||
* | Moved code generation support routines to InstrSelectionSupport.cpp. | Vikram S. Adve | 2001-10-10 | 1 | -215/+0 | |
| | | | | llvm-svn: 717 |