summaryrefslogtreecommitdiff
path: root/lib/CodeGen
Commit message (Collapse)AuthorAge
...
* Implement a method for inline asm supportChris Lattner2006-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25660 91177308-0d34-0410-b5e6-96231b3b80d8
* Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals.Jim Laskey2006-01-26
| | | | | | | Global Variable information is now pulled from "llvm.dbg.globals" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25655 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up some code; improve efficiency; and fixed a potential bug involvingEvan Cheng2006-01-26
| | | | | | | chain successors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25630 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't break the optimized build (by incorrect placement of #endif)Reid Spencer2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25613 91177308-0d34-0410-b5e6-96231b3b80d8
* initialize an instance var, apparently I forgot to commit this long agoChris Lattner2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25609 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to keep track of top and bottom nodes in a group since the vector isEvan Cheng2006-01-25
| | | | | | | already in order. Thanks Jim for pointing it out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25608 91177308-0d34-0410-b5e6-96231b3b80d8
* Set SchedulingForLatency to be the default scheduling preference for all.Evan Cheng2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25607 91177308-0d34-0410-b5e6-96231b3b80d8
* First part of bug 680:Nate Begeman2006-01-25
| | | | | | | | Remove TLI.LowerVA* and replace it with SDNodes that are lowered the same way as everything else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25606 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it even more portable.Jeff Cohen2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25605 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ compilation error.Jeff Cohen2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8
* Bottom up register usage reducing list scheduler.Evan Cheng2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25601 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep track of bottom / top element of a set of flagged nodes.Evan Cheng2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25600 91177308-0d34-0410-b5e6-96231b3b80d8
* If scheduler choice is the default (-sched=default), use target schedulingEvan Cheng2006-01-25
| | | | | | | | | preference to determine which scheduler to use. SchedulingForLatency == Breadth first; SchedulingForRegPressure == bottom up register reduction list scheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25599 91177308-0d34-0410-b5e6-96231b3b80d8
* Portably cast a pointer to an integer.Jeff Cohen2006-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25594 91177308-0d34-0410-b5e6-96231b3b80d8
* fix build on 64 bit hostsAndrew Lenharth2006-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25591 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an infinite loop I caused by making sure to legalize the flag operandChris Lattner2006-01-24
| | | | | | | of CALLSEQ_* nodes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25582 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ compilation error.Jeff Cohen2006-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25577 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused variables.Jeff Cohen2006-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25576 91177308-0d34-0410-b5e6-96231b3b80d8
* rename methodChris Lattner2006-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25572 91177308-0d34-0410-b5e6-96231b3b80d8
* Crude Dwarf global variable debugging.Jim Laskey2006-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25569 91177308-0d34-0410-b5e6-96231b3b80d8
* Print file-scope inline asm blocks at the start of the output file.Chris Lattner2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25565 91177308-0d34-0410-b5e6-96231b3b80d8
* another couple selectsAndrew Lenharth2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25551 91177308-0d34-0410-b5e6-96231b3b80d8
* another selecttoAndrew Lenharth2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25548 91177308-0d34-0410-b5e6-96231b3b80d8
* Typo.Jim Laskey2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25545 91177308-0d34-0410-b5e6-96231b3b80d8
* Skeleton of the list schedule.Evan Cheng2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25544 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor clean up.Evan Cheng2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25543 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Regression/CodeGen/SparcV8/2006-01-22-BitConvertLegalize.ll by makingChris Lattner2006-01-23
| | | | | | | sure that the result of expanding a BIT_CONVERT node is itself legalized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25538 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a couple of unnecessary #include'sEvan Cheng2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25535 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out more instruction scheduler code to the base class.Evan Cheng2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25532 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugs lowering stackrestore, fixing 2004-08-12-InlinerAndAllocas.c onChris Lattner2006-01-23
| | | | | | | PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25522 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit #includes of <iostream>Chris Lattner2006-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25515 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in a recent refactor that caused a bunch of programs to miscompileChris Lattner2006-01-21
| | | | | | | or the compiler to crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25503 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.llChris Lattner2006-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25496 91177308-0d34-0410-b5e6-96231b3b80d8
* Do some code refactoring on Jim's scheduler in preparation of the new listEvan Cheng2006-01-21
| | | | | | | scheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25493 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify search for abbreviations.Jim Laskey2006-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25491 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct some simple errors.Jim Laskey2006-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25490 91177308-0d34-0410-b5e6-96231b3b80d8
* Right size integer values before emitting.Jim Laskey2006-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25489 91177308-0d34-0410-b5e6-96231b3b80d8
* Reworked how Dwarf debug info entries and abbreviations are handled. AddedJim Laskey2006-01-20
| | | | | | | pubnames and debuy str sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25487 91177308-0d34-0410-b5e6-96231b3b80d8
* remove some unintentionally committed codeChris Lattner2006-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25483 91177308-0d34-0410-b5e6-96231b3b80d8
* If the target doesn't support f32 natively, insert the FP_EXTEND in target-indepChris Lattner2006-01-20
| | | | | | | code, so that the LowerReturn code doesn't have to handle it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25482 91177308-0d34-0410-b5e6-96231b3b80d8
* Another typoEvan Cheng2006-01-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25440 91177308-0d34-0410-b5e6-96231b3b80d8
* was ignoring the legalized chain in this case, fixed SPASS on alphaAndrew Lenharth2006-01-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25428 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of code in the DAGCombiner that is duplicated in SelectionDAG.cppNate Begeman2006-01-18
| | | | | | | Now all constant folding in the code generator is in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25426 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary work around for a libcall insertion bug: If a target doesn'tChris Lattner2006-01-18
| | | | | | | support FSIN/FCOS nodes, do not lower sin/cos to them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25425 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a backwards conditional that caused an inf loop in some cases. ThisChris Lattner2006-01-18
| | | | | | | fixes: test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25419 91177308-0d34-0410-b5e6-96231b3b80d8
* Added minimum Dwarf aranges. Cleaned up some section headers. Line numberJim Laskey2006-01-18
| | | | | | | support now works in gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25417 91177308-0d34-0410-b5e6-96231b3b80d8
* Add frame work for additional dwarf sections. Comments will improve as codeJim Laskey2006-01-17
| | | | | | | is added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25410 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for the insertelement operation.Robert Bocchino2006-01-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25405 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: missing LegalizeOp() on newly created nodes.Evan Cheng2006-01-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25401 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding basic support for Dwarf line number debug information.Jim Laskey2006-01-17
| | | | | | | I promise to keep future commits smaller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25396 91177308-0d34-0410-b5e6-96231b3b80d8