Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unnecessary include. | Vikram S. Adve | 2002-09-14 | 1 | -2/+0 | |
| | | | | llvm-svn: 3723 | |||||
* | Break RA_DEBUG option into several levels to get better output. | Vikram S. Adve | 2002-09-14 | 1 | -0/+23 | |
| | | | | llvm-svn: 3722 | |||||
* | Moving to lib/CodeGen/RegAlloc. | Vikram S. Adve | 2002-09-14 | 1 | -18/+0 | |
| | | | | llvm-svn: 3718 | |||||
* | Fix a bug I introduced into the code generator. :( | Chris Lattner | 2002-09-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 3694 | |||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -8/+8 | |
| | | | | | | indexes for sequential types. llvm-svn: 3681 | |||||
* | Make sure the leakdetector is told about temporary Phi nodes also, so it doesn't | Chris Lattner | 2002-09-08 | 1 | -1/+6 | |
| | | | | | | erroneously report them as leaks llvm-svn: 3624 | |||||
* | Inform the memory leak detector that TmpInstruction objects should not be | Chris Lattner | 2002-09-08 | 1 | -0/+24 | |
| | | | | | | subject to memory leak checking. llvm-svn: 3623 | |||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -7/+7 | |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574 | |||||
* | moved this file from lib/Reoptimizer/Mapping | Anand Shukla | 2002-08-27 | 1 | -0/+75 | |
| | | | | llvm-svn: 3519 | |||||
* | Makefile for new sub directory | Anand Shukla | 2002-08-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 3518 | |||||
* | Added Mapping subdir | Anand Shukla | 2002-08-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 3517 | |||||
* | Use newly-added type inspection support in InstTreeNode subclasses. | Vikram S. Adve | 2002-08-24 | 1 | -5/+4 | |
| | | | | llvm-svn: 3501 | |||||
* | Moved code here to extract memory instruction indices and to check | Vikram S. Adve | 2002-08-24 | 1 | -17/+96 | |
| | | | | | | | whether FoldGetElemNodes should be called. This is machine-independent but was in the Sparc directory. This is in a new function: GetMemInstArgs. llvm-svn: 3500 | |||||
* | Added #include <alloca.h> | Anand Shukla | 2002-08-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 3491 | |||||
* | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 2 | -9/+8 | |
| | | | | llvm-svn: 3487 | |||||
* | dumpNode() does not need to print MachineInstrs. | Vikram S. Adve | 2002-08-22 | 1 | -15/+2 | |
| | | | | llvm-svn: 3444 | |||||
* | Unary Not (boolean and bitwise) is no longer a separate LLVM instruction | Vikram S. Adve | 2002-08-15 | 1 | -2/+7 | |
| | | | | | | | | | but is instead implemented with XOR. Note that the InstrForest opLabels for Not and BNot remain the same, i.e., the XOR is recognized and represented as a (boolean or bitwise) Not when building the instruction trees. But these tree nodes are now binary, not unary. llvm-svn: 3343 | |||||
* | 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 | 4 | -51/+16 | |
| | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | |||||
* | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 5 | -50/+23 | |
| | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3277 | |||||
* | We are using std::vector, so remove extraneous namespace prefixes | Chris Lattner | 2002-08-09 | 1 | -8/+7 | |
| | | | | llvm-svn: 3275 | |||||
* | Very minor cleanups | Chris Lattner | 2002-08-09 | 1 | -23/+15 | |
| | | | | llvm-svn: 3271 | |||||
* | - Cleaned up the interface to AnalysisUsage to take analysis class names | Chris Lattner | 2002-08-08 | 1 | -1/+1 | |
| | | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265 | |||||
* | - Cleaned up the interface to AnalysisUsage to take analysis class names | Chris Lattner | 2002-08-08 | 1 | -2/+2 | |
| | | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3264 | |||||
* | Add function GetConstantValueAsUnsignedInt. | Vikram S. Adve | 2002-08-04 | 1 | -52/+49 | |
| | | | | | | | | Fix 2 bugs in FoldGetElemChain so index vector is not modified when no GEPs are folded in, and so a hasLeadingZero is computed only for the last folded GEP, not the one after that if any. llvm-svn: 3244 | |||||
* | * Move InstructionSelection Pass here instead of living in Sparc.cpp. It | Chris Lattner | 2002-07-30 | 1 | -169/+146 | |
| | | | | | | | | | is platform independant afterall. * Object orientize the functions, cleanup code a bit. Instead of static global functions, the helpers for instruction selection are now part of the InstructionSelection Pass class. llvm-svn: 3147 | |||||
* | Remove unused vector | Chris Lattner | 2002-07-30 | 1 | -3/+0 | |
| | | | | llvm-svn: 3143 | |||||
* | Refix stuff for GCC 2.95, 3.0.4 & 3.1 | Chris Lattner | 2002-07-25 | 1 | -6/+6 | |
| | | | | llvm-svn: 3094 | |||||
* | now removes deleted nops from MachineCodeForInstruction | Mehwish Nagda | 2002-07-25 | 1 | -8/+20 | |
| | | | | llvm-svn: 3090 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 5 | -12/+12 | |
| | | | | llvm-svn: 3075 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 3058 | |||||
* | Non-standard hash classes are not in the std:: namespace | Chris Lattner | 2002-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 3057 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 6 | -11/+10 | |
| | | | | llvm-svn: 3056 | |||||
* | moving to the Reoptimizer/Mapping dir | Mehwish Nagda | 2002-07-22 | 1 | -279/+0 | |
| | | | | llvm-svn: 2993 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-22 | 3 | -18/+25 | |
| | | | | llvm-svn: 2985 | |||||
* | changed size computation | Mehwish Nagda | 2002-07-19 | 1 | -35/+57 | |
| | | | | llvm-svn: 2974 | |||||
* | added check for Function with 0 BB | Mehwish Nagda | 2002-07-17 | 1 | -18/+28 | |
| | | | | llvm-svn: 2942 | |||||
* | Now will profile all Basic Blocks | Mehwish Nagda | 2002-07-16 | 1 | -22/+22 | |
| | | | | llvm-svn: 2922 | |||||
* | Initial checking : Writes LLVM - MI mappiing to the .s file | Mehwish Nagda | 2002-07-15 | 1 | -0/+247 | |
| | | | | llvm-svn: 2911 | |||||
* | added std:: to endl | Anand Shukla | 2002-07-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 2875 | |||||
* | Fix print of BB name in dump(). | Vikram S. Adve | 2002-07-10 | 1 | -2/+1 | |
| | | | | llvm-svn: 2861 | |||||
* | 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 | |||||
* | changed mem_fun to std::mem_fun | Anand Shukla | 2002-07-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 2847 | |||||
* | Significant changes to correctly spill CC registers and to correctly | Vikram S. Adve | 2002-07-08 | 1 | -239/+164 | |
| | | | | | | | | | | | | | | | | | handle conditional move instructions: -- cpMem<->Reg functions now support CC registers (int and FP) correctly. -- Scratch registers must be explicitly provided to cpMem<->Reg when needed, since CC regs need one to be copied to/from memory. -- CC regs are saved to a scratch register instead of stack. -- All regs used by a instruction are now recorded in MachineInstr::regsUsed, since regs used to save values *across* an instruction are not obvious either from the operands or from the LiveVar sets. -- An (explicit or implicit) operand may now be both a def and a use. This is needed for conditional move operations. So an operand may need spill code both before and after the instruction. -- class MachineCodeForBasicBlock is now an annotation on BasicBlock. llvm-svn: 2833 | |||||
* | MachineInstr* in vector are not const (and never really were) | Vikram S. Adve | 2002-07-08 | 1 | -9/+10 | |
| | | | | | | | because operands may be modified directly to set register. Also, class MachineCodeForBasicBlock is now an annotation on BasicBlock. llvm-svn: 2832 | |||||
* | Rename static struct Initializer to avoid name conflict with BB. | Vikram S. Adve | 2002-07-08 | 1 | -3/+3 | |
| | | | | llvm-svn: 2831 | |||||
* | Fix printing of BB in dump. | Vikram S. Adve | 2002-07-08 | 1 | -2/+3 | |
| | | | | llvm-svn: 2830 | |||||
* | Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.h. | Vikram S. Adve | 2002-07-08 | 1 | -3/+4 | |
| | | | | | | This class is now an annotation on BasicBlock. llvm-svn: 2829 | |||||
* | MachineInstr::dump() now takes no arguments. | Vikram S. Adve | 2002-07-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 2828 | |||||
* | Implementation of class MachineCodeForBasicBlock. | Vikram S. Adve | 2002-07-08 | 1 | -0/+28 | |
| | | | | | | Moved here from MachineInstr.cpp to make it an annotation on BasicBlock. llvm-svn: 2827 |