Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make the logic for determining function alignment more explicit. No ↵ | Eli Friedman | 2011-05-06 | 2 | -8/+2 | |
| | | | | | | functionality change. llvm-svn: 131012 | |||||
* | Remove unused variables caught by GCC's -Wunused-but-set-variable. | Benjamin Kramer | 2011-05-03 | 1 | -2/+0 | |
| | | | | llvm-svn: 130755 | |||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 | |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | |||||
* | Revert r124611 - "Keep track of incoming argument's location while emitting ↵ | Devang Patel | 2011-02-21 | 1 | -1/+1 | |
| | | | | | | | | | | | LiveIns." In other words, do not keep track of argument's location. The debugger (gdb) is not prepared to see line table entries for arguments. For the debugger, "second" line table entry marks beginning of function body. This requires some coordination with debugger to get this working. - The debugger needs to be aware of prolog_end attribute attached with line table entries. - The compiler needs to accurately mark prolog_end in line table entries (at -O0 and at -O1+) llvm-svn: 126155 | |||||
* | Generate correct Sparc32 ABI compliant code for functions that return a struct. | Venkatraman Govindaraju | 2011-02-21 | 4 | -8/+84 | |
| | | | | llvm-svn: 126108 | |||||
* | Use explicit add_subdirectory's for LLVM target sublibraries instead | Oscar Fuentes | 2011-02-20 | 1 | -0/+2 | |
| | | | | | | | | | of testing for its presence at cmake time. This way the build automatically regenerates the makefiles when a svn update brings in a new sublibrary. llvm-svn: 126068 | |||||
* | Swap VT and DebugLoc operands of getExtLoad() for consistency with | Stuart Hastings | 2011-02-16 | 1 | -1/+1 | |
| | | | | | | other getNode() methods. Radar 9002173. llvm-svn: 125665 | |||||
* | Prevent IMPLICIT_DEF/KILL to become a delay filler instruction in SPARC backend. | Venkatraman Govindaraju | 2011-02-12 | 1 | -0/+3 | |
| | | | | llvm-svn: 125444 | |||||
* | Keep track of incoming argument's location while emitting LiveIns. | Devang Patel | 2011-01-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 124611 | |||||
* | Pass sret arguments through the stack instead of through registers in Sparc ↵ | Venkatraman Govindaraju | 2011-01-22 | 3 | -4/+75 | |
| | | | | | | backend. It makes the code generated more compliant with the sparc32 ABI. llvm-svn: 124030 | |||||
* | Added ICC, FCC as uses of movcc instruction to generate correct code when ↵ | Venkatraman Govindaraju | 2011-01-22 | 1 | -42/+51 | |
| | | | | | | -mattr=v9 is used. llvm-svn: 124027 | |||||
* | Sparc backend: | Venkatraman Govindaraju | 2011-01-21 | 3 | -23/+28 | |
| | | | | | | | Rename FLUSH to FLUSHW. Output "ta 3" instead of a "flushw" instruction if v8 instruction set is used. llvm-svn: 123997 | |||||
* | Implement support for byval arguments in Sparc backend. | Venkatraman Govindaraju | 2011-01-21 | 1 | -1/+31 | |
| | | | | llvm-svn: 123974 | |||||
* | Sparc backend: Implements a delay slot filler that attempt to fill delay slots | Venkatraman Govindaraju | 2011-01-20 | 2 | -8/+225 | |
| | | | | | | with useful instructions. llvm-svn: 123884 | |||||
* | SPARC backend: Modified LowerCall and LowerFormalArguments so that they use ↵ | Venkatraman Govindaraju | 2011-01-18 | 2 | -272/+221 | |
| | | | | | | CallingConv assignments. llvm-svn: 123749 | |||||
* | Implement AnalyzeBranch in Sparc Backend. | Venkatraman Govindaraju | 2011-01-16 | 2 | -7/+199 | |
| | | | | llvm-svn: 123561 | |||||
* | Teach frame lowering to ignore debug values after the terminators. | Jakob Stoklund Olesen | 2011-01-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 123399 | |||||
* | Implement RETURNADDR and FRAMEADDR lowering in SPARC backend. | Venkatraman Govindaraju | 2011-01-12 | 3 | -4/+85 | |
| | | | | llvm-svn: 123310 | |||||
* | Remove SPARC backend getpcx instruction's Uses. Also, insert an assert to | Venkatraman Govindaraju | 2011-01-12 | 2 | -3/+5 | |
| | | | | | | ensure %o7 is not assigned as the destination of getpcx instruction. llvm-svn: 123304 | |||||
* | Fix SPARC backend call instruction so that arguments passed through registers | Venkatraman Govindaraju | 2011-01-12 | 2 | -11/+24 | |
| | | | | | | | are correctly marked as used instead of passing all possible argument registers as used. llvm-svn: 123301 | |||||
* | SPARC backend: correct ICC/FCC uses for ADDX and SELECT_CC | Venkatraman Govindaraju | 2011-01-11 | 1 | -15/+19 | |
| | | | | llvm-svn: 123281 | |||||
* | Update CMake stuff | Anton Korobeynikov | 2011-01-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 123171 | |||||
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 4 | -15/+17 | |
| | | | | | | and fixes here and there. llvm-svn: 123170 | |||||
* | SPARC backend fix: correctly passing arguments through stack | Venkatraman Govindaraju | 2010-12-29 | 1 | -23/+51 | |
| | | | | llvm-svn: 122626 | |||||
* | Multiple SPARC backend fixes: added Y register; updated select_cc, subx, ↵ | Venkatraman Govindaraju | 2010-12-28 | 3 | -21/+35 | |
| | | | | | | | | subxcc defs/uses; and fixed CustomInserter. llvm-svn: 122607 | |||||
* | Flag -> Glue, the ongoing saga | Chris Lattner | 2010-12-23 | 1 | -10/+10 | |
| | | | | llvm-svn: 122513 | |||||
* | rename MVT::Flag to MVT::Glue. "Flag" is a terrible name for | Chris Lattner | 2010-12-21 | 2 | -7/+7 | |
| | | | | | | | something that just glues two nodes together, even if it is sometimes used for flags. llvm-svn: 122310 | |||||
* | Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept. | Wesley Peck | 2010-11-23 | 1 | -19/+19 | |
| | | | | llvm-svn: 119990 | |||||
* | Move hasFP() and few related hooks to TargetFrameInfo. | Anton Korobeynikov | 2010-11-18 | 3 | -6/+2 | |
| | | | | llvm-svn: 119740 | |||||
* | Attempt to unbreak cmake-based builds | Anton Korobeynikov | 2010-11-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 119098 | |||||
* | First step of huge frame-related refactoring: move emit{Prologue,Epilogue} ↵ | Anton Korobeynikov | 2010-11-15 | 6 | -62/+130 | |
| | | | | | | out of TargetRegisterInfo to TargetFrameInfo, which is definitely much better suitable place llvm-svn: 119097 | |||||
* | move all the target's asmprinters into the main target. The piece | Chris Lattner | 2010-11-14 | 5 | -22/+2 | |
| | | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056 | |||||
* | Inside the calling convention logic LocVT is always a simple | Duncan Sands | 2010-11-03 | 1 | -1/+1 | |
| | | | | | | | | | | value type, so there is no point in passing it around using an EVT. Use the simpler MVT everywhere. Rather than trying to propagate this information maximally in all the code that using the calling convention stuff, I chose to do a mainly low impact change instead. llvm-svn: 118167 | |||||
* | Removed a bunch of unnecessary target_link_libraries. | Oscar Fuentes | 2010-09-28 | 1 | -2/+0 | |
| | | | | llvm-svn: 114999 | |||||
* | fix a long standing wart: all the ComplexPattern's were being | Chris Lattner | 2010-09-21 | 1 | -8/+6 | |
| | | | | | | | | | | | passed the root of the match, even though only a few patterns actually needed this (one in X86, several in ARM [which should be refactored anyway], and some in CellSPU that I don't feel like detangling). Instead of requiring all ComplexPatterns to take the dead root, have targets opt into getting the root by putting SDNPWantRoot on the ComplexPattern. llvm-svn: 114471 | |||||
* | update a bunch of code to use the MachinePointerInfo version of getStore. | Chris Lattner | 2010-09-21 | 1 | -7/+8 | |
| | | | | llvm-svn: 114461 | |||||
* | propagate MachinePointerInfo through various uses of the old | Chris Lattner | 2010-09-21 | 1 | -1/+1 | |
| | | | | | | SelectionDAG::getExtLoad overload, and eliminate it. llvm-svn: 114446 | |||||
* | convert the targets off the non-MachinePointerInfo of getLoad. | Chris Lattner | 2010-09-21 | 1 | -14/+16 | |
| | | | | llvm-svn: 114410 | |||||
* | Simplify eliminateFrameIndex() interface back down now that PEI doesn't need | Jim Grosbach | 2010-08-26 | 2 | -7/+4 | |
| | | | | | | to try to re-use scavenged frame index reference registers. rdar://8277890 llvm-svn: 112241 | |||||
* | Don't call Predicate_* methods directly from Sparc target. | Jakob Stoklund Olesen | 2010-08-17 | 2 | -14/+6 | |
| | | | | | | | | | Modernize predicates a bit. The Predicate_* methods are not used by TableGen any longer. They are only emitted for the sake of legacy code. llvm-svn: 111263 | |||||
* | fix emacs language spec's, patch by Edmund Grimley-Evans! | Chris Lattner | 2010-08-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 111241 | |||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 2 | -2/+2 | |
| | | | | llvm-svn: 110460 | |||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 2 | -2/+2 | |
| | | | | llvm-svn: 110410 | |||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 2 | -2/+2 | |
| | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | |||||
* | Remove the isMoveInstr() hook. | Jakob Stoklund Olesen | 2010-07-16 | 2 | -46/+0 | |
| | | | | llvm-svn: 108567 | |||||
* | Don't pass StringRef by reference. | Benjamin Kramer | 2010-07-14 | 2 | -4/+4 | |
| | | | | llvm-svn: 108366 | |||||
* | RISC architectures get their memory operand folding for free. | Jakob Stoklund Olesen | 2010-07-11 | 2 | -67/+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 | 2 | -28/+18 | |
| | | | | llvm-svn: 108086 | |||||
* | Move getExtLoad() and (some) getLoad() DebugLoc argument after EVT argument ↵ | Evan Cheng | 2010-07-07 | 1 | -1/+1 | |
| | | | | | | for consistency sake. llvm-svn: 107820 | |||||
* | Split the SDValue out of OutputArg so that SelectionDAG-independent | Dan Gohman | 2010-07-07 | 2 | -5/+9 | |
| | | | | | | code can do calling-convention queries. This obviates OutputArgReg. llvm-svn: 107786 |