Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move InstrSelection into lib/Target/Sparc, as it's sparc specific | Chris Lattner | 2004-01-09 | 4 | -1036/+0 |
| | | | | llvm-svn: 10730 | ||||
* | Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering | Chris Lattner | 2003-12-28 | 1 | -8/+4 |
| | | | | | | implementation from the TargetMachine directly. llvm-svn: 10636 | ||||
* | Whoops, don't try to lower non intrinsic calls | Chris Lattner | 2003-12-28 | 1 | -0/+1 |
| | | | | llvm-svn: 10632 | ||||
* | Use the intrinsic lowering functionality | Chris Lattner | 2003-12-28 | 1 | -15/+44 |
| | | | | llvm-svn: 10626 | ||||
* | Change interface of MachineOperand as follows: | Alkis Evlogimenos | 2003-12-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | a) remove opIsUse(), opIsDefOnly(), opIsDefAndUse() b) add isUse(), isDef() c) rename opHiBits32() to isHiBits32(), opLoBits32() to isLoBits32(), opHiBits64() to isHiBits64(), opLoBits64() to isLoBits64(). This results to much more readable code, for example compare "op.opIsDef() || op.opIsDefAndUse()" to "op.isDef()" a pattern used very often in the code. llvm-svn: 10461 | ||||
* | This appears to fix Bug 172 and does not break any other feature tests or | John Criswell | 2003-12-10 | 1 | -0/+6 |
| | | | | | | regression tests. llvm-svn: 10388 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 3 | -1/+14 |
| | | | | llvm-svn: 9903 | ||||
* | Make code layout more consistent. | Misha Brukman | 2003-10-23 | 3 | -318/+259 |
| | | | | llvm-svn: 9426 | ||||
* | Added LLVM copyright notice to Makefiles. | John Criswell | 2003-10-20 | 1 | -0/+8 |
| | | | | llvm-svn: 9312 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 3 | -0/+21 |
| | | | | | | 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 | -2/+2 |
| | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | ||||
* | Decrease usage of use_size() | Chris Lattner | 2003-10-15 | 1 | -1/+1 |
| | | | | llvm-svn: 9135 | ||||
* | Fixed spelling. | Misha Brukman | 2003-09-17 | 2 | -4/+4 |
| | | | | llvm-svn: 8588 | ||||
* | The word `dependent' has no `a'. | Misha Brukman | 2003-08-21 | 1 | -1/+1 |
| | | | | llvm-svn: 8030 | ||||
* | Factory methods for function passes now return type FunctionPass *. | Brian Gaeke | 2003-08-14 | 1 | -5/+2 |
| | | | | | | Get rid of RegisterLLC, which can't handle FunctionPasses anyway. llvm-svn: 7836 | ||||
* | All constant-evaluation code now unified into | Vikram S. Adve | 2003-07-29 | 1 | -31/+8 |
| | | | | | | TargetInstrInfo::ConvertConstantToIntType(). llvm-svn: 7390 | ||||
* | Making this code const-correct would be a pain, so I'll hack it. | Chris Lattner | 2003-07-26 | 1 | -4/+5 |
| | | | | llvm-svn: 7350 | ||||
* | 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 | ||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -0/+1 |
| | | | | | | system. llvm-svn: 7014 | ||||
* | Actually, change it to use explicit new/delete, which is more likely to be | Chris Lattner | 2003-06-16 | 1 | -2/+3 |
| | | | | | | optimized INTO an alloca llvm-svn: 6727 | ||||
* | Remove two using decls | Chris Lattner | 2003-06-16 | 1 | -18/+14 |
| | | | | | | Remove usage of alloca llvm-svn: 6725 | ||||
* | Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h", | Brian Gaeke | 2003-06-16 | 1 | -1/+1 |
| | | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723 | ||||
* | 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 | 2 | -6/+13 |
| | | | | | | | | 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 | ||||
* | Remove unneccesary &* | Chris Lattner | 2003-04-23 | 1 | -1/+1 |
| | | | | llvm-svn: 5871 | ||||
* | 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 | 2 | -30/+27 |
| | | | | 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 | 2 | -2/+2 |
| | | | | llvm-svn: 5204 | ||||
* | Fix warning | Chris Lattner | 2002-11-09 | 1 | -2/+2 |
| | | | | llvm-svn: 4649 | ||||
* | 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 | ||||
* | Remove usage of MachineBasicBlock::get | Chris Lattner | 2002-10-28 | 1 | -14/+18 |
| | | | | llvm-svn: 4342 | ||||
* | Change MachineBasicBlock's to not be Annotations, instead they are kept as | Chris Lattner | 2002-10-28 | 1 | -4/+10 |
| | | | | | | | part of a linked list tracked by MachineFunction. MachineBasicBlock::get is now linear time instead of constant time, and thus is deprecated! llvm-svn: 4337 | ||||
* | 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 | ||||
* | *** empty log message *** | Chris Lattner | 2002-10-28 | 1 | -1/+0 |
| | | | | llvm-svn: 4323 | ||||
* | Rename MachineCodeForBasicBlock to MachineBasicBlock | Chris Lattner | 2002-10-28 | 1 | -5/+5 |
| | | | | llvm-svn: 4318 | ||||
* | Changed `MachineCodeForMethod' to `MachineFunction'. | Misha Brukman | 2002-10-28 | 2 | -3/+3 |
| | | | | llvm-svn: 4301 | ||||
* | Tell PassManager that this pass does not invalidate the CFG so that dominator | Chris Lattner | 2002-10-23 | 1 | -0/+4 |
| | | | | | | information and Loop info will not have to be recomputed after this runs. llvm-svn: 4269 | ||||
* | 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 |