Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the isMoveInstr() hook. | Jakob Stoklund Olesen | 2010-07-16 | 1 | -6/+0 |
| | | | | llvm-svn: 108567 | ||||
* | RISC architectures get their memory operand folding for free. | Jakob Stoklund Olesen | 2010-07-11 | 1 | -12/+0 |
| | | | | | | | | The only folding these load/store architectures can do is converting COPY into a load or store, and the target independent part of foldMemoryOperand already knows how to do that. llvm-svn: 108099 | ||||
* | Replace copyRegToReg with copyPhysReg for Sparc. | Jakob Stoklund Olesen | 2010-07-11 | 1 | -6/+4 |
| | | | | llvm-svn: 108086 | ||||
* | Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). This | Stuart Hastings | 2010-06-17 | 1 | -1/+2 |
| | | | | | | | | | | | | addresses a longstanding deficiency noted in many FIXMEs scattered across all the targets. This effectively moves the problem up one level, replacing eleven FIXMEs in the targets with eight FIXMEs in CodeGen, plus one path through FastISel where we actually supply a DebugLoc, fixing Radar 7421831. llvm-svn: 106243 | ||||
* | Add a DebugLoc argument to TargetInstrInfo::copyRegToReg, so that it | Dan Gohman | 2010-05-06 | 1 | -1/+2 |
| | | | | | | doesn't have to guess. llvm-svn: 103194 | ||||
* | Add argument TargetRegisterInfo to loadRegFromStackSlot and storeRegToStackSlot. | Evan Cheng | 2010-05-06 | 1 | -2/+4 |
| | | | | llvm-svn: 103193 | ||||
* | several major improvements to the sparc backend: support for weak linkage | Chris Lattner | 2009-09-15 | 1 | -0/+2 |
| | | | | | | and PIC codegen. Patch by Venkatraman Govindaraju! llvm-svn: 81877 | ||||
* | Remove unused member functions. | Eli Friedman | 2009-07-24 | 1 | -10/+0 |
| | | | | llvm-svn: 76960 | ||||
* | Change TargetInstrInfo::isMoveInstr to return source and destination ↵ | Evan Cheng | 2009-01-20 | 1 | -4/+4 |
| | | | | | | sub-register indices as well. llvm-svn: 62600 | ||||
* | Split foldMemoryOperand into public non-virtual and protected virtual | Dan Gohman | 2008-12-03 | 1 | -8/+8 |
| | | | | | | | parts, and add target-independent code to add/preserve MachineMemOperands. llvm-svn: 60488 | ||||
* | Add more const qualifiers. This fixes build breakage from r59540. | Dan Gohman | 2008-11-18 | 1 | -2/+4 |
| | | | | llvm-svn: 59542 | ||||
* | Const-ify several TargetInstrInfo methods. | Dan Gohman | 2008-10-16 | 1 | -2/+2 |
| | | | | llvm-svn: 57622 | ||||
* | Make TargetInstrInfo::copyRegToReg return a bool indicating whether the copy ↵ | Owen Anderson | 2008-08-26 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | Change target-specific classes to use more precise static types. | Dan Gohman | 2008-05-14 | 1 | -1/+1 |
| | | | | | | | This eliminates the need for several awkward casts, including the last dynamic_cast under lib/Target. llvm-svn: 51091 | ||||
* | Add explicit keywords. | Dan Gohman | 2008-03-25 | 1 | -1/+1 |
| | | | | llvm-svn: 48801 | ||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -1/+1 |
| | | | | llvm-svn: 46930 | ||||
* | It's not always safe to fold movsd into xorpd, etc. Check the alignment of ↵ | Evan Cheng | 2008-02-08 | 1 | -2/+4 |
| | | | | | | the load address first to make sure it's 16 byte aligned. llvm-svn: 46893 | ||||
* | Move even more functionality from MRegisterInfo into TargetInstrInfo. | Owen Anderson | 2008-01-07 | 1 | -0/+10 |
| | | | | | | Some day I'll get it all moved over... llvm-svn: 45672 | ||||
* | Move some more instruction creation methods from RegisterInfo into InstrInfo. | Owen Anderson | 2008-01-01 | 1 | -0/+20 |
| | | | | 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/+7 |
| | | | | | | 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/+3 |
| | | | | | | / inserted. llvm-svn: 37193 | ||||
* | implement uncond branch insertion for sparc to fix regressions from last night | Chris Lattner | 2006-10-24 | 1 | -0/+5 |
| | | | | | | due to branchfolding llvm-svn: 31157 | ||||
* | Patches to make the LLVM sources more -pedantic clean. Patch provided | Chris Lattner | 2006-05-24 | 1 | -1/+1 |
| | | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447 | ||||
* | Rename SPARC V8 target to be the LLVM SPARC target. | Chris Lattner | 2006-02-05 | 1 | -0/+68 |
llvm-svn: 25985 |