summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
...
* Add frame work for additional dwarf sections. Comments will improve as codeJim Laskey2006-01-171-0/+72
| | | | | | is added. llvm-svn: 25410
* Support for the insertelement operation.Robert Bocchino2006-01-171-0/+1
| | | | llvm-svn: 25405
* Bug fix: missing LegalizeOp() on newly created nodes.Evan Cheng2006-01-171-1/+6
| | | | llvm-svn: 25401
* Adding basic support for Dwarf line number debug information.Jim Laskey2006-01-173-115/+1273
| | | | | | I promise to keep future commits smaller. llvm-svn: 25396
* For PR411:Reid Spencer2006-01-162-16/+39
| | | | | | | | | | | | | | | | This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
* Constant fold ctpop/ctlz/cttz, and a couple other small cleanupsNate Begeman2006-01-161-2/+58
| | | | llvm-svn: 25357
* Expand case for 64b Legalize, even though no one should end up using thisNate Begeman2006-01-161-4/+43
| | | | | | | (itanium supports bswap natively, alpha should custom lower it using the VAX floating point swapload, ha ha). llvm-svn: 25356
* Add BSWAP stuff to intrinsic lowering for CBE & friends.Nate Begeman2006-01-161-2/+106
| | | | llvm-svn: 25355
* 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
OpenPOWER on IntegriCloud