| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
| * | All constant-evaluation code now unified into | Vikram S. Adve | 2003-07-29 | 1 | -31/+8 |
| | | | | | | | TargetInstrInfo::ConvertConstantToIntType(). llvm-svn: 7390 | ||||
| * | Remove unnecessary casts | Chris Lattner | 2003-07-23 | 1 | -2/+2 |
| | | | | | llvm-svn: 7250 | ||||
| * | Remove using decl | Chris Lattner | 2003-07-23 | 1 | -7/+4 |
| | | | | | llvm-svn: 7246 | ||||
| * | Choose register instead of immediate for ConstantExpr in ChooseRegOrImmed. | Vikram S. Adve | 2003-07-06 | 1 | -3/+4 |
| | | | | | llvm-svn: 7112 | ||||
| * | Do not hastily change the Opcode from 'r' to 'i' type if we're not actually | Misha Brukman | 2003-06-07 | 1 | -7/+6 |
| | | | | | | | | | SETTING the operand to be an immediate or have verified that one of the operands is really a SignExtended or Unextended immediate value already, which warrants an 'i' opcode. llvm-svn: 6662 | ||||
| * | I have finally seen the light. The code to change the opcode must live higher in | Misha Brukman | 2003-06-04 | 1 | -4/+13 |
| | | | | | | | | | | | | the loop, and in both cases. In the first case, it is a VReg that is a constant so it may be actually converted to a constant. In the second case, it is already a constant, but then if it doesn't change its type (e.g. to become a register and have the value loaded from memory if it is too large to live in its instruction field), we must change the opcode BEFORE the 'continue', otherwise we miss the opportunity. llvm-svn: 6602 | ||||
| * | Moved code to modify the opcode from 'reg' to 'imm' form to a more logical ↵ | Misha Brukman | 2003-06-03 | 1 | -15/+6 |
| | | | | | | | place. llvm-svn: 6563 | ||||
| * | Added MachineCodeForInstruction object as an argument to | Vikram S. Adve | 2003-05-31 | 1 | -2/+1 |
| | | | | | | | | | TmpInstruction constructors because every TmpInstruction object has to be registered with a MachineCodeForInstruction to prevent leaks. This simplifies the user's code. llvm-svn: 6469 | ||||
| * | When converting virtual registers to immediate constants, change the opcode. | Misha Brukman | 2003-05-30 | 1 | -0/+14 |
| | | | | | llvm-svn: 6452 | ||||
| * | Move sparc specific code into the Sparc backend | Chris Lattner | 2003-01-15 | 1 | -256/+2 |
| | | | | | llvm-svn: 5317 | ||||
| * | Fix bug in previous checkin | Chris Lattner | 2003-01-15 | 1 | -1/+2 |
| | | | | | llvm-svn: 5310 | ||||
| * | Minor changes | Chris Lattner | 2003-01-15 | 1 | -21/+16 |
| | | | | | llvm-svn: 5302 | ||||
| * | Remove dead code | Chris Lattner | 2003-01-15 | 1 | -67/+0 |
| | | | | | llvm-svn: 5298 | ||||
| * | Rename MachineInstrInfo -> TargetInstrInfo | Chris Lattner | 2003-01-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 5272 | ||||
| * | More renamings of Target/Machine*Info to Target/Target*Info | Chris Lattner | 2002-12-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 5204 | ||||
| * | Use higher level method | Chris Lattner | 2002-10-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 4386 | ||||
| * | MachineInstrInfo no longer #includes this header, so we must | Chris Lattner | 2002-10-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 4366 | ||||
| * | Rename the redundant MachineOperand::getOperandType() to ↵ | Chris Lattner | 2002-10-28 | 1 | -8/+8 |
| | | | | | | | MachineOperand::getType() llvm-svn: 4331 | ||||
| * | Add #includes now that MachineInstr.h doesn't include ↵ | Chris Lattner | 2002-10-28 | 1 | -0/+1 |
| | | | | | | | llvm/Target/MachineInstrInfo.h llvm-svn: 4327 | ||||
| * | Changed `MachineCodeForMethod' to `MachineFunction'. | Misha Brukman | 2002-10-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 4301 | ||||
| * | Significant improvement: GEP used by a load or store no longer generates | Vikram S. Adve | 2002-10-14 | 1 | -36/+74 |
| | | | | | | | | | | a separate ADD; instead just use the indexed load/store instruction! Also, a bug fix: folding a GEP with a leading non-zero index with its predecessor was incorrect: now it only happens if the predecessor is pointing to an indexable type (aka SequentialType). llvm-svn: 4168 | ||||
| * | Bug fix in folding getElementPtr instructions: don't fold one into | Vikram S. Adve | 2002-09-29 | 1 | -27/+45 |
| | | | | | | | | a predecessor if it has a non-zero first index and the predecessor ends with a struct index. llvm-svn: 3982 | ||||
| * | Sign-extend integer constants from original type size to 64 bits! | Vikram S. Adve | 2002-09-27 | 1 | -5/+9 |
| | | | | | llvm-svn: 3958 | ||||
| * | 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 | ||||
| * | - 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 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 | ||||
| * | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 1 | -5/+5 |
| | | | | | llvm-svn: 3487 | ||||
| * | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 1 | -11/+5 |
| | | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | ||||
| * | 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 | ||||
| * | Remove unused vector | Chris Lattner | 2002-07-30 | 1 | -3/+0 |
| | | | | | llvm-svn: 3143 | ||||
| * | 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 | ||||
| * | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 2486 | ||||
| * | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -1/+0 |
| | | | | | llvm-svn: 2397 | ||||
| * | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 2378 | ||||
| * | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -7/+8 |
| | | | | | | | | 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 | ||||
| * | Major overhaul to FoldGetElemPtr to handle mixed array and struct refs. | Vikram S. Adve | 2002-03-24 | 1 | -10/+35 |
| | | | | | llvm-svn: 1968 | ||||
| * | 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 | ||||
| * | * Switch over to cleaner TmpInstruction model | Chris Lattner | 2002-02-03 | 1 | -5/+7 |
| | | | | | llvm-svn: 1648 | ||||
| * | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 1503 | ||||
| * | Eliminate all uses of memInst->getIndicesBROKEN(). | Vikram S. Adve | 2001-12-15 | 1 | -3/+3 |
| | | | | | llvm-svn: 1485 | ||||
| * | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -20/+16 |
| | | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
| * | The old getIndices has been deprecated, because it no longer works. It now | Chris Lattner | 2001-11-26 | 1 | -2/+2 |
| | | | | | | | | is named getIndicesBROKEN() and shall be removed when the codebase is updated to not call it llvm-svn: 1338 | ||||
| * | Don't assume constant operand can only be in position 1! | Vikram S. Adve | 2001-11-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 1308 | ||||
| * | Idiotic error in last fix. | Vikram S. Adve | 2001-11-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 1306 | ||||
| * | Don't need to load a NULL pointer constant from memory! | Vikram S. Adve | 2001-11-14 | 1 | -2/+10 |
| | | | | | llvm-svn: 1305 | ||||

