summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable two transformations that contribute to bus errors on SparcV8.Chris Lattner2006-01-151-2/+6
| | | | llvm-svn: 25339
* Allow the target to specify 'expand' if they just require the amount toChris Lattner2006-01-151-9/+19
| | | | | | be subtracted from the stack pointer. llvm-svn: 25331
* Fix custom lowering of dynamic_stackallocChris Lattner2006-01-151-6/+9
| | | | llvm-svn: 25329
* add a missing node nameChris Lattner2006-01-151-0/+1
| | | | llvm-svn: 25327
* Token chain results are not always the first or last result. Consider ↵Chris Lattner2006-01-141-3/+17
| | | | | | copyfromreg nodes, where they are the middle result (the flag result is last) llvm-svn: 25325
* Remove some duplicated codeNate Begeman2006-01-141-8/+0
| | | | llvm-svn: 25313
* bswap implementationNate Begeman2006-01-142-0/+83
| | | | llvm-svn: 25312
* If a target specified a stack pointer with setStackPointerRegisterToSaveRestore,Chris Lattner2006-01-131-5/+21
| | | | | | lower STACKSAVE/STACKRESTORE into a copy from/to that register. llvm-svn: 25276
* Compile llvm.stacksave/restore into STACKSAVE/STACKRESTORE nodes, and allowChris Lattner2006-01-132-4/+72
| | | | | | targets to custom expand them as they desire. llvm-svn: 25273
* add stacksave/stackrestore nodesChris Lattner2006-01-131-2/+6
| | | | llvm-svn: 25270
* Add "support" for stacksave/stackrestore to the dag iselChris Lattner2006-01-131-0/+5
| | | | llvm-svn: 25268
* Add "support" for the llvm.stacksave/stackrestore intrinsics, this isChris Lattner2006-01-131-2/+15
| | | | | | used by the C backend. llvm-svn: 25267
* Add a simple missing fold to produce this:Chris Lattner2006-01-121-0/+8
| | | | | | | | | | | subfic r3, r2, 33 instead of this: subfic r2, r2, 32 addi r3, r2, 1 llvm-svn: 25255
* If using __main, emit global ctor/dtor list like any other globalChris Lattner2006-01-121-2/+2
| | | | llvm-svn: 25251
* Don't create rotate instructions in unsupported types, because we don't haveChris Lattner2006-01-121-2/+2
| | | | | | promote/expand code yet. This fixes the 177.mesa failure on PPC. llvm-svn: 25250
* Allow custom lowering of DYNAMIC_STACKALLOC.Evan Cheng2006-01-111-7/+20
| | | | llvm-svn: 25224
* ignore register #0Evan Cheng2006-01-111-1/+1
| | | | llvm-svn: 25223
* Add bswap, rotl, and rotr nodesNate Begeman2006-01-113-2/+65
| | | | | | | | | Add dag combiner code to recognize rotl, rotr Add ppc code to match rotl Targets should add rotl/rotr patterns if they have them llvm-svn: 25222
* silence a warningChris Lattner2006-01-101-1/+2
| | | | llvm-svn: 25184
* Added selection DAG support for the extractelement operation.Robert Bocchino2006-01-101-0/+1
| | | | llvm-svn: 25179
* Minor cleanup, no functionality change for current targetsChris Lattner2006-01-101-1/+2
| | | | llvm-svn: 25173
* Fix an exponential function in libcall insertion to not be exponential. :)Chris Lattner2006-01-091-6/+10
| | | | llvm-svn: 25165
* * Allow custom lowering of ADD_PARTS, SUB_PARTS, SHL_PARTS, SRA_PARTS,Evan Cheng2006-01-091-11/+46
| | | | | | | and SRL_PARTS. * Fix a bug that caused *_PARTS to be custom lowered twice. llvm-svn: 25157
* New getNode() variants.Evan Cheng2006-01-091-14/+0
| | | | llvm-svn: 25156
* Unbreak the build :(Chris Lattner2006-01-061-2/+2
| | | | llvm-svn: 25124
* Revert the previous check-in. Leave shl x, 1 along for target to deal with.Evan Cheng2006-01-061-3/+0
| | | | llvm-svn: 25121
* fold (shl x, 1) -> (add x, x)Evan Cheng2006-01-061-0/+3
| | | | llvm-svn: 25120
* Support for custom lowering of ISD::RET.Evan Cheng2006-01-061-0/+16
| | | | llvm-svn: 25116
* Added initial support for DEBUG_LABEL allowing debug specific labels to beJim Laskey2006-01-053-31/+57
| | | | | | inserted in the code. llvm-svn: 25104
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-045-94/+156
| | | | | | | pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. llvm-svn: 25100
* Add unique id to debug location for debug label use (work in progress.)Jim Laskey2006-01-043-15/+24
| | | | llvm-svn: 25096
* Add check for debug presence.Jim Laskey2006-01-041-0/+4
| | | | llvm-svn: 25095
* Tie dwarf generation to darwin assembler.Jim Laskey2006-01-042-0/+96
| | | | llvm-svn: 25093
* Moving MachineDebugInfo to module level location.Jim Laskey2006-01-041-1/+1
| | | | llvm-svn: 25090
* Change how MachineDebugInfo is fetched.Jim Laskey2006-01-041-1/+1
| | | | llvm-svn: 25089
* Extending MachineDebugInfo.Jim Laskey2006-01-041-0/+90
| | | | llvm-svn: 25086
* Add support for targets (like Alpha) that have terminator instructions whichChris Lattner2006-01-041-5/+41
| | | | | | | | | use virtual registers. We now allow the first instruction in a block of terminators to use virtual registers, and update phi elimination to correctly update livevar when eliminating phi's. This fixes a problem on a testcase Andrew sent me. llvm-svn: 25083
* Add an assertion, update DefInst even though no one uses it (dangling pointersChris Lattner2006-01-042-0/+5
| | | | | | don't help anyone) llvm-svn: 25081
* Add a LiveVariables::VarInfo::dump methodChris Lattner2006-01-041-0/+20
| | | | llvm-svn: 25080
* Change a variable from being an iterator to a raw MachineInstr*, to makeChris Lattner2006-01-031-12/+12
| | | | | | GDB use tolerable llvm-svn: 25064
* Make sure to pass the offset into the new node, so that we don't silentlyNate Begeman2005-12-301-1/+1
| | | | | | drop it on the floor. llvm-svn: 25044
* purity++Duraid Madina2005-12-291-0/+1
| | | | llvm-svn: 25041
* add these so I can be less naughtyDuraid Madina2005-12-282-0/+2
| | | | llvm-svn: 25034
* HB is *the* code janitor.Duraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25031
* mixed-STL programs are big and nasty :(Duraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25030
* allow custom lowering to return null for legal resultsAndrew Lenharth2005-12-251-17/+15
| | | | llvm-svn: 25007
* Support Custom lowering of a few more operations.Andrew Lenharth2005-12-241-5/+31
| | | | | | Alpha needs to custom lower *DIV and *REM llvm-svn: 25006
* Remove redundant debug locations.Jim Laskey2005-12-231-0/+34
| | | | llvm-svn: 24995
* unbreak the build :-/Chris Lattner2005-12-231-3/+3
| | | | llvm-svn: 24992
* Allow custom lowering of LOAD, EXTLOAD, ZEXTLOAD, STORE, and TRUNCSTORE. NotEvan Cheng2005-12-231-15/+84
| | | | | | currently used. llvm-svn: 24988
OpenPOWER on IntegriCloud