Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for GCC 2.96 | Chris Lattner | 2002-09-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 3777 | |||||
* | Add a version of ChooseRegOrImmed to handle numerical constants | Vikram S. Adve | 2002-09-16 | 1 | -83/+118 | |
| | | | | | | introduced by InstrSelection. llvm-svn: 3735 | |||||
* | 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 | |||||
* | 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 | |||||
* | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 2 | -25/+10 | |
| | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | |||||
* | We are using std::vector, so remove extraneous namespace prefixes | Chris Lattner | 2002-08-09 | 1 | -8/+7 | |
| | | | | llvm-svn: 3275 | |||||
* | 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 | |||||
* | 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 | 1 | -5/+9 | |
| | | | | 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 | |||||
* | 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 | |||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 1 | -2/+3 | |
| | | | | llvm-svn: 2791 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 2 | -52/+35 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778 | |||||
* | Hide debugging options | Chris Lattner | 2002-05-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 2676 | |||||
* | Better folding getelementptr operations with mixed | Vikram S. Adve | 2002-05-19 | 1 | -41/+61 | |
| | | | | | | | | array and struct indexes. Update operand values in CallArgsDescriptor (a new class) when replacing constant values with immediates. llvm-svn: 2645 | |||||
* | cpValue2Value now needs a vector of MachineInstr to store return values. | Vikram S. Adve | 2002-05-19 | 1 | -16/+20 | |
| | | | | llvm-svn: 2644 | |||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 2486 | |||||
* | Add neccesary #include | Chris Lattner | 2002-04-29 | 1 | -0/+1 | |
| | | | | llvm-svn: 2406 | |||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 2 | -2/+0 | |
| | | | | llvm-svn: 2397 | |||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 2 | -2/+2 | |
| | | | | llvm-svn: 2378 | |||||
* | Move FunctionArgument out of iOther.h into Argument.h and rename class to | Chris Lattner | 2002-04-09 | 1 | -1/+1 | |
| | | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216 | |||||
* | GCC3.0 is reported to die without an alloca definition. | Chris Lattner | 2002-04-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 2186 | |||||
* | Don't leak memory like a seive | Chris Lattner | 2002-04-08 | 1 | -18/+5 | |
| | | | | llvm-svn: 2185 | |||||
* | Value cannot be directly instantiated. I think that this code was TRYING to | Chris Lattner | 2002-04-08 | 1 | -5/+3 | |
| | | | | | | | make a PHI node, although it was badly broken. This keeps tests passing, so we'll go with it. llvm-svn: 2184 | |||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 2 | -27/+24 | |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | |||||
* | Fix a bug in previous bug fix. | Vikram S. Adve | 2002-03-31 | 1 | -6/+14 | |
| | | | | llvm-svn: 2069 | |||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -6/+6 | |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | |||||
* | Major overhaul to FoldGetElemPtr to handle mixed array and struct refs. | Vikram S. Adve | 2002-03-24 | 1 | -10/+35 | |
| | | | | llvm-svn: 1968 | |||||
* | Use deterministic iterator for treeRoots. | Vikram S. Adve | 2002-03-24 | 1 | -10/+10 | |
| | | | | llvm-svn: 1967 | |||||
* | Change treeRoots data structure to make enumeration deterministic. | Vikram S. Adve | 2002-03-24 | 1 | -15/+24 | |
| | | | | llvm-svn: 1962 | |||||
* | Constants are now added to the constant pool only when a load | Vikram S. Adve | 2002-03-18 | 1 | -25/+17 | |
| | | | | | | | instruction is actually generated for them. Rename the different versions of SetMachineOperand. llvm-svn: 1903 | |||||
* | Use vector for machine instructions returned by GetInstructionsByRule. | Vikram S. Adve | 2002-03-18 | 1 | -70/+31 | |
| | | | | | | Fix constants in instructions generated for Phi elimination. llvm-svn: 1902 | |||||
* | * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into | Chris Lattner | 2002-02-12 | 1 | -1/+1 | |
| | | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750 | |||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 1 | -3/+6 | |
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746 | |||||
* | * Switch over to cleaner TmpInstruction model | Chris Lattner | 2002-02-03 | 1 | -5/+7 | |
| | | | | llvm-svn: 1648 |