summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit message (Collapse)AuthorAgeFilesLines
* initial selectiondag support for new INLINEASM node. Note that inline asmsChris Lattner2006-01-261-0/+22
| | | | | | with outputs or inputs are not supported yet. :) llvm-svn: 25664
* First part of bug 680:Nate Begeman2006-01-251-6/+151
| | | | | | | Remove TLI.LowerVA* and replace it with SDNodes that are lowered the same way as everything else. llvm-svn: 25606
* Fix an infinite loop I caused by making sure to legalize the flag operandChris Lattner2006-01-241-1/+9
| | | | | | of CALLSEQ_* nodes llvm-svn: 25582
* Fix Regression/CodeGen/SparcV8/2006-01-22-BitConvertLegalize.ll by makingChris Lattner2006-01-231-2/+4
| | | | | | sure that the result of expanding a BIT_CONVERT node is itself legalized. llvm-svn: 25538
* Fix CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.llChris Lattner2006-01-211-15/+15
| | | | llvm-svn: 25496
* remove some unintentionally committed codeChris Lattner2006-01-201-3/+2
| | | | llvm-svn: 25483
* If the target doesn't support f32 natively, insert the FP_EXTEND in target-indepChris Lattner2006-01-201-2/+3
| | | | | | code, so that the LowerReturn code doesn't have to handle it. llvm-svn: 25482
* Another typoEvan Cheng2006-01-191-1/+1
| | | | llvm-svn: 25440
* was ignoring the legalized chain in this case, fixed SPASS on alphaAndrew Lenharth2006-01-181-1/+1
| | | | llvm-svn: 25428
* 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-171-1/+1
| | | | | | I promise to keep future commits smaller. llvm-svn: 25396
* 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
* 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
* 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
* bswap implementationNate Begeman2006-01-141-0/+68
| | | | 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-131-0/+58
| | | | | | targets to custom expand them as they desire. llvm-svn: 25273
* Allow custom lowering of DYNAMIC_STACKALLOC.Evan Cheng2006-01-111-7/+20
| | | | llvm-svn: 25224
* Add bswap, rotl, and rotr nodesNate Begeman2006-01-111-0/+18
| | | | | | | | | 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
* 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
* Unbreak the build :(Chris Lattner2006-01-061-2/+2
| | | | llvm-svn: 25124
* 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-051-29/+55
| | | | | | inserted in the code. llvm-svn: 25104
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-041-4/+4
| | | | | | | 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-041-14/+21
| | | | llvm-svn: 25096
* Change how MachineDebugInfo is fetched.Jim Laskey2006-01-041-1/+1
| | | | llvm-svn: 25089
* 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
* 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
* Fix a pastoChris Lattner2005-12-231-2/+3
| | | | llvm-svn: 24973
* fix a thinko in the bit_convert handling codeChris Lattner2005-12-231-2/+1
| | | | llvm-svn: 24972
* add very simple support for the BIT_CONVERT nodeChris Lattner2005-12-231-2/+50
| | | | llvm-svn: 24970
* remove dead codeChris Lattner2005-12-221-6/+0
| | | | llvm-svn: 24965
* The 81st column doesn't like code in it.Chris Lattner2005-12-221-3/+4
| | | | llvm-svn: 24943
* Disengage DEBUG_LOC from non-PPC targets.Jim Laskey2005-12-211-12/+16
| | | | llvm-svn: 24919
* * Added support for X86 RET with an additional operand to specify number ofEvan Cheng2005-12-211-0/+10
| | | | | | | bytes to pop off stack. * Added support for X86 SETCC. llvm-svn: 24917
* make sure to relegalize all casesChris Lattner2005-12-211-1/+1
| | | | llvm-svn: 24911
* fix a bug I introduced that broke recursive expansion of nodes (e.g. ↵Chris Lattner2005-12-211-3/+6
| | | | | | scalarizing vectors) llvm-svn: 24905
* Fix a nasty latent bug in the legalizer that was triggered by my patchChris Lattner2005-12-201-22/+30
| | | | | | | | | | | last night, breaking crafty and twolf. Make sure that the newly found legal nodes are themselves not re-legalized until the next iteration. Also, since this functionality exists now, we can reduce number of legalizer iterations by depending on this behavior instead of having to misuse 'do another iteration' to get the same effect. llvm-svn: 24875
* X86 conditional branch support.Evan Cheng2005-12-191-0/+10
| | | | llvm-svn: 24870
* Make sure to relegalize new nodesChris Lattner2005-12-181-11/+21
| | | | llvm-svn: 24843
* More corrections for flagged copyto/from regChris Lattner2005-12-181-8/+11
| | | | llvm-svn: 24828
* legalize copytoreg and copyfromreg nodes that have flag operands correctly.Chris Lattner2005-12-181-11/+34
| | | | llvm-svn: 24826
* allow custom expansion of BR_CCChris Lattner2005-12-171-11/+25
| | | | llvm-svn: 24804
* X86 lowers SELECT to a cmp / test followed by a conditional move.Evan Cheng2005-12-171-0/+10
| | | | llvm-svn: 24754
* Added source file/line correspondence for dwarf (PowerPC only at this point.)Jim Laskey2005-12-161-3/+34
| | | | llvm-svn: 24748
OpenPOWER on IntegriCloud