Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the IA-64 backend. | Dan Gohman | 2009-07-24 | 1 | -193/+0 |
| | | | | llvm-svn: 76920 | ||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -4/+4 |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | ||||
* | eliminate extra space. | Torok Edwin | 2009-07-14 | 1 | -5/+5 |
| | | | | llvm-svn: 75630 | ||||
* | Remove extra \n from LLVM_UNREACHABLE calls. | Torok Edwin | 2009-07-12 | 1 | -4/+3 |
| | | | | llvm-svn: 75416 | ||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 1 | -5/+6 |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | ||||
* | Change MachineInstrBuilder::addReg() to take a flag instead of a list of | Bill Wendling | 2009-05-13 | 1 | -4/+4 |
| | | | | | | | | | | | | booleans. This gives a better indication of what the "addReg()" is doing. Remembering what all of those booleans mean isn't easy, especially if you aren't spending all of your time in that code. I took Jakob's suggestion and made it illegal to pass in "true" for the flag. This should hopefully prevent any unintended misuse of this (by reverting to the old way of using addReg()). llvm-svn: 71722 | ||||
* | Factor out the code to add a MachineOperand to a MachineInstrBuilder. | Dan Gohman | 2009-02-18 | 1 | -18/+4 |
| | | | | llvm-svn: 64891 | ||||
* | Remove non-DebugLoc versions of BuildMI from IA64, Mips. | Dale Johannesen | 2009-02-13 | 1 | -1/+3 |
| | | | | llvm-svn: 64438 | ||||
* | Eliminate a couple of non-DebugLoc BuildMI variants. | Dale Johannesen | 2009-02-12 | 1 | -3/+5 |
| | | | | | | Modify callers. llvm-svn: 64409 | ||||
* | Move debug loc info along when the spiller creates new instructions. | Bill Wendling | 2009-02-12 | 1 | -30/+43 |
| | | | | llvm-svn: 64342 | ||||
* | Change TargetInstrInfo::isMoveInstr to return source and destination ↵ | Evan Cheng | 2009-01-20 | 1 | -2/+5 |
| | | | | | | sub-register indices as well. llvm-svn: 62600 | ||||
* | Tidy up #includes, deleting a bunch of unnecessary #includes. | Dan Gohman | 2009-01-05 | 1 | -0/+1 |
| | | | | llvm-svn: 61715 | ||||
* | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 1 | -8/+8 |
| | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | ||||
* | Make TargetInstrInfo::copyRegToReg return a bool indicating whether the copy ↵ | Owen Anderson | 2008-08-26 | 1 | -3/+5 |
| | | | | | | | | | requested was inserted or not. This allows bitcast in fast isel to properly handle the case where an appropriate reg-to-reg copy is not available. llvm-svn: 55375 | ||||
* | Convert uses of std::vector in TargetInstrInfo to SmallVector. This change ↵ | Owen Anderson | 2008-08-14 | 1 | -1/+1 |
| | | | | | | had to be propoagated down into all the targets and up into all clients of this API. llvm-svn: 54802 | ||||
* | Pool-allocation for MachineInstrs, MachineBasicBlocks, and | Dan Gohman | 2008-07-07 | 1 | -2/+2 |
| | | | | | | | | | | | MachineMemOperands. The pools are owned by MachineFunctions. This drastically reduces the number of calls to malloc/free made during the "Emit" phase of scheduling, as well as later phases in CodeGen. Combined with other changes, this speeds up the "instruction selection" phase of CodeGen by 10% in some cases. llvm-svn: 53212 | ||||
* | remove MachineOpCode typedef. | Chris Lattner | 2008-01-07 | 1 | -1/+1 |
| | | | | llvm-svn: 45679 | ||||
* | Move some more instruction creation methods from RegisterInfo into InstrInfo. | Owen Anderson | 2008-01-01 | 1 | -0/+108 |
| | | | | llvm-svn: 45484 | ||||
* | Fix a problem where lib/Target/TargetInstrInfo.h would include and use | Chris Lattner | 2008-01-01 | 1 | -1/+1 |
| | | | | | | | | | | a header file from libcodegen. This violates a layering order: codegen depends on target, not the other way around. The fix to this is to split TII into two classes, TII and TargetInstrInfoImpl, which defines stuff that depends on libcodegen. It is defined in libcodegen, where the base is not. llvm-svn: 45475 | ||||
* | Move copyRegToReg from MRegisterInfo to TargetInstrInfo. This is part of the | Owen Anderson | 2007-12-31 | 1 | -0/+18 |
| | | | | | | Machine-level API cleanup instigated by Chris. llvm-svn: 45470 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | RemoveBranch() and InsertBranch() now returns number of instructions deleted ↵ | Evan Cheng | 2007-05-18 | 1 | -3/+5 |
| | | | | | | / inserted. llvm-svn: 37192 | ||||
* | Relex assertions to account for additional implicit def / use operands. | Evan Cheng | 2007-04-25 | 1 | -1/+1 |
| | | | | llvm-svn: 36430 | ||||
* | Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead | Evan Cheng | 2006-11-27 | 1 | -2/+3 |
| | | | | | | of opcode and number of operands. llvm-svn: 31947 | ||||
* | 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 the branch folding pass | Chris Lattner | 2006-10-24 | 1 | -0/+7 |
| | | | | llvm-svn: 31159 | ||||
* | add bundling! well not really, for now it's just stop-insertion. | Duraid Madina | 2006-01-25 | 1 | -0/+1 |
| | | | | llvm-svn: 25593 | ||||
* | Convert tabs to spaces | Misha Brukman | 2005-04-22 | 1 | -1/+1 |
| | | | | llvm-svn: 21452 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -2/+2 |
| | | | | llvm-svn: 21424 | ||||
* | and so it begins... | Duraid Madina | 2005-03-17 | 1 | -0/+47 |
PHASE 1: write instruction selector PHASE 2: ??? PHASE 3: profit! llvm-svn: 20652 |