Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add new shorter predicates for testing machine operands for various types: | Chris Lattner | 2007-12-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464 | |||||
* | Use MachineOperand::getImm instead of MachineOperand::getImmedValue. ↵ | Chris Lattner | 2007-12-30 | 1 | -3/+3 | |
| | | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Add lengthof and endof templates that hide a lot of sizeof computations. | Owen Anderson | 2007-09-07 | 1 | -1/+2 | |
| | | | | | | Patch by Sterling Stein! llvm-svn: 41758 | |||||
* | RemoveBranch() and InsertBranch() now returns number of instructions deleted ↵ | Evan Cheng | 2007-05-18 | 1 | -3/+5 | |
| | | | | | | / inserted. llvm-svn: 37193 | |||||
* | Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead | Evan Cheng | 2006-11-27 | 1 | -1/+1 | |
| | | | | | | of opcode and number of operands. llvm-svn: 31947 | |||||
* | Matches MachineInstr changes. | Evan Cheng | 2006-11-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 31712 | |||||
* | fix warning about missing newline at end of file | Rafael Espindola | 2006-10-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 31162 | |||||
* | implement uncond branch insertion for sparc to fix regressions from last night | Chris Lattner | 2006-10-24 | 1 | -0/+8 | |
| | | | | | | due to branchfolding llvm-svn: 31157 | |||||
* | Rename SPARC V8 target to be the LLVM SPARC target. | Chris Lattner | 2006-02-05 | 1 | -0/+98 | |
| | | | | llvm-svn: 25985 | |||||
* | Great renaming: Sparc --> SparcV9 | Brian Gaeke | 2004-02-25 | 1 | -799/+0 | |
| | | | | llvm-svn: 11826 | |||||
* | Reorganized the Sparc backend to be more modular -- each different | Misha Brukman | 2003-12-17 | 1 | -21/+22 | |
| | | | | | | | | | | | | | implementation of a Target{RegInfo, InstrInfo, Machine, etc} now has a separate header and a separate implementation file. This means that instead of a massive SparcInternals.h that forces a recompilation of the whole target whenever a minor detail is changed, you should only recompile a few files. Note that SparcInternals.h is still around; its contents should be minimized. llvm-svn: 10500 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | * Use the MachineConstantPool for storing constants instead of a hash_set; | Misha Brukman | 2003-11-07 | 1 | -17/+41 | |
| | | | | | | | | * Do not create new globals for constants! Also, order #includes as per coding style guide llvm-svn: 9772 | |||||
* | 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 |