Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Hrm, unbreak stuph :( | Chris Lattner | 2003-10-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 9334 | |||||
* | Fix preselection/lowerswitches bug | Chris Lattner | 2003-10-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 9333 | |||||
* | 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 | |||||
* | Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵ | Chris Lattner | 2003-10-19 | 1 | -1/+1 | |
| | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | |||||
* | Don't include "Config/stdlib.h". | Brian Gaeke | 2003-10-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 9037 | |||||
* | Unify all constant evaluations that depend on register size | Vikram S. Adve | 2003-07-29 | 1 | -66/+92 | |
| | | | | | | in ConvertConstantToIntType. llvm-svn: 7395 | |||||
* | Simplify code by using ConstantInt::getRawValue instead of checking to see | Chris Lattner | 2003-07-23 | 1 | -11/+5 | |
| | | | | | | whether the constant is signed or unsigned, then casting llvm-svn: 7252 | |||||
* | Bug fix in creating constants: need 1U << 31, not 1 << 31. | Vikram S. Adve | 2003-07-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 7158 | |||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -1/+1 | |
| | | | | | | system. llvm-svn: 7014 | |||||
* | * Changed Bcc instructions to behave like BPcc instructions | Misha Brukman | 2003-06-06 | 1 | -2/+2 | |
| | | | | | | | | | * BPA and BPN do not take a %cc register as a parameter * SLL/SRL/SRA{r,i}5 are there for a reason - they are ONLY 32-bit instructions * Likewise, SLL/SRL/SRAX{r,i}6 are only 64-bit * Added WRCCR{r,i} opcodes llvm-svn: 6655 | |||||
* | Convert load/store opcodes from register to immediate forms, if necessary. | Misha Brukman | 2003-06-03 | 1 | -4/+13 | |
| | | | | llvm-svn: 6565 | |||||
* | Extensive changes to the way code generation occurs for function | Vikram S. Adve | 2003-05-31 | 1 | -20/+25 | |
| | | | | | | | | | | | | | | call arguments and return values: Now all copy operations before and after a call are generated during selection instead of during register allocation. The values are copied to virtual registers (or to the stack), but in the former case these operands are marked with the correct physical registers according to the calling convention. Although this complicates scheduling and does not work well with live range analysis, it simplifies the machine-dependent part of register allocation. llvm-svn: 6465 | |||||
* | Added 'r' or 'i' annotations to instructions, as SparcInstr.def has changed. | Misha Brukman | 2003-05-27 | 1 | -16/+16 | |
| | | | | llvm-svn: 6373 | |||||
* | Bug fix: sign-extension was not happening for C = -MININT since C == -C! | Vikram S. Adve | 2003-05-25 | 1 | -2/+3 | |
| | | | | llvm-svn: 6332 | |||||
* | Cleaned up code layout, spacing, etc. for readability purposes and to be more | Misha Brukman | 2003-05-21 | 1 | -115/+100 | |
| | | | | | | | | | consistent with the style of LLVM's code base (and itself! it's inconsistent in some places.) No functional changes were made. llvm-svn: 6265 | |||||
* | Sparc instruction opcodes now all live under the `V9' namespace. | Misha Brukman | 2003-05-20 | 1 | -74/+76 | |
| | | | | llvm-svn: 6249 | |||||
* | IntegerRegSize is always 8 for sparc | Chris Lattner | 2003-04-26 | 1 | -3/+1 | |
| | | | | llvm-svn: 5961 | |||||
* | Fix obvious type-o | Chris Lattner | 2003-04-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 5932 | |||||
* | Move sparc specific code into the Sparc backend | Chris Lattner | 2003-01-15 | 1 | -0/+47 | |
| | | | | llvm-svn: 5317 | |||||
* | Use BuildMI more | Chris Lattner | 2003-01-15 | 1 | -26/+15 | |
| | | | | llvm-svn: 5299 | |||||
* | Use BuildMI more, Create*Instruction less | Chris Lattner | 2003-01-15 | 1 | -21/+17 | |
| | | | | llvm-svn: 5291 | |||||
* | * Elimiante a bunch of functions from InstrSelectionSupport.h, replacing users | Chris Lattner | 2003-01-15 | 1 | -33/+26 | |
| | | | | | | | of them with BUildMI calls instead. * Fix def information in instructions generated by prologepilog inserter llvm-svn: 5287 | |||||
* | Rename MachineInstrInfo -> TargetInstrInfo | Chris Lattner | 2003-01-14 | 1 | -4/+4 | |
| | | | | llvm-svn: 5272 | |||||
* | * TargetData is no longer directly accessable from TargetMachine | Chris Lattner | 2002-12-28 | 1 | -8/+9 | |
| | | | | | | * Constpool & frame info is no longer directly in MachineFunction llvm-svn: 5174 | |||||
* | MachineInstrInfo doesn't need a TargetMachine | Chris Lattner | 2002-10-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 4372 | |||||
* | Changed `MachineCodeForMethod' to `MachineFunction'. | Misha Brukman | 2002-10-28 | 1 | -10/+10 | |
| | | | | llvm-svn: 4301 | |||||
* | - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to | Chris Lattner | 2002-10-13 | 1 | -8/+8 | |
| | | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147 | |||||
* | Make sure to handle small negative values hiding as large unsigned longs -- | Vikram S. Adve | 2002-10-13 | 1 | -4/+10 | |
| | | | | | | this is a common case created by the front-end. llvm-svn: 4127 | |||||
* | Modify operand order for Create{Sign,Zero}ExtensionInstructions. | Vikram S. Adve | 2002-09-27 | 1 | -17/+17 | |
| | | | | llvm-svn: 3960 | |||||
* | Add methods to query about the representation of LLVM quantities (e.g., | Vikram S. Adve | 2002-09-16 | 1 | -0/+79 | |
| | | | | | | | constants). Useful for target-dependent LLVM transformations like Preselection. llvm-svn: 3743 | |||||
* | Bug fixes in casting between floats and ints smaller than 64 bits. | Vikram S. Adve | 2002-09-05 | 1 | -48/+102 | |
| | | | | | | Add UltraSparcInstrInfo::CreateZeroExtensionInstructions to help with that. llvm-svn: 3580 | |||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -5/+5 | |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574 | |||||
* | Several bug fixes in casting to signed int values. | Vikram S. Adve | 2002-08-13 | 1 | -69/+141 | |
| | | | | llvm-svn: 3301 | |||||
* | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 1 | -26/+14 | |
| | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | |||||
* | Bug fix in CreateCodeToLoadConst(): use sign of dest, not operand, | Vikram S. Adve | 2002-08-04 | 1 | -29/+7 | |
| | | | | | | in choosing how to create int-set instructions. llvm-svn: 3248 | |||||
* | Just improved comments and assertions. | Vikram S. Adve | 2002-07-31 | 1 | -14/+18 | |
| | | | | llvm-svn: 3191 | |||||
* | GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵ | Chris Lattner | 2002-07-25 | 1 | -1/+1 | |
| | | | | | | directory is built. llvm-svn: 3073 | |||||
* | Major overhaul to stop using pseudo-instructions (SETX, SETUW, SETSW) | Vikram S. Adve | 2002-07-10 | 1 | -110/+207 | |
| | | | | | | | | | | | and generate actual machine instruction sequences directly. Also a couple of bug fixes in code for putting constants into registers: -- Do *not* sign-extend unsigned constant that is shorter than int reg size -- Fix handling of address constant (a GlobalValue) vs. constant that must be loaded. llvm-svn: 2856 | |||||
* | Remove diff-cluttering tags | Chris Lattner | 2002-06-30 | 1 | -1/+0 | |
| | | | | llvm-svn: 2808 | |||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 2791 | |||||
* | Numerous bug fixes: | Vikram S. Adve | 2002-05-19 | 1 | -85/+212 | |
| | | | | | | | | | | | | | | | | | | | | | | | | -- correct sign extensions for integer casts and for shift-by-constant instructions generated for integer multiply -- passing FP arguments to functions with more than 6 arguments -- passing FP arguments to varargs functions -- passing FP arguments to functions with no prototypes -- incorrect stack frame size when padding a section -- folding getelementptr operations with mixed array and struct indexes -- use uint64_t instead of uint for constant offsets in mem operands -- incorrect coloring for CC registers (both int and FP): interferences were being completely ignored for int CC and were considered but no spills were marked for fp CC! Also some code improvements: -- better interface to generating machine instr for common cases (many places still need to be updated to use this interface) -- annotations on MachineInstr to communicate information from one codegen phase to another (now used to pass information about CALL/JMPLCALL operands from selection to register allocation) -- all sizes and offests in class TargetData are uint64_t instead of uint llvm-svn: 2640 | |||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -4/+4 | |
| | | | | 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 | -15/+15 | |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | |||||
* | Fix CreateUIntSetInstruction() to handle sign extensions correctly. | Vikram S. Adve | 2002-03-31 | 1 | -7/+37 | |
| | | | | llvm-svn: 2059 | |||||
* | Use distinct names for the three types of SetMachineOperand to | Vikram S. Adve | 2002-03-18 | 1 | -35/+39 | |
| | | | | | | avoid painful overloading problems and errors. llvm-svn: 1893 | |||||
* | * Switch to new TmpInstruction model | Chris Lattner | 2002-02-03 | 1 | -9/+5 | |
| | | | | llvm-svn: 1654 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -19/+15 | |
| | | | | llvm-svn: 1503 | |||||
* | Remove int hack to allow unsigned numbers greater than 2^63 - 1... | Vikram S. Adve | 2001-12-15 | 1 | -6/+35 | |
| | | | | llvm-svn: 1483 |