summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Fix VC++ compilation error.Jeff Cohen2006-01-251-1/+1
| | | | llvm-svn: 25604
* Bottom up register usage reducing list scheduler.Evan Cheng2006-01-251-21/+451
| | | | llvm-svn: 25601
* Keep track of bottom / top element of a set of flagged nodes.Evan Cheng2006-01-251-1/+6
| | | | llvm-svn: 25600
* If scheduler choice is the default (-sched=default), use target schedulingEvan Cheng2006-01-251-2/+10
| | | | | | | | preference to determine which scheduler to use. SchedulingForLatency == Breadth first; SchedulingForRegPressure == bottom up register reduction list scheduler. llvm-svn: 25599
* Portably cast a pointer to an integer.Jeff Cohen2006-01-251-1/+1
| | | | llvm-svn: 25594
* fix build on 64 bit hostsAndrew Lenharth2006-01-241-1/+1
| | | | llvm-svn: 25591
* Fix an infinite loop I caused by making sure to legalize the flag operandChris Lattner2006-01-242-1/+22
| | | | | | of CALLSEQ_* nodes llvm-svn: 25582
* Fix VC++ compilation error.Jeff Cohen2006-01-241-0/+1
| | | | llvm-svn: 25577
* Remove unused variables.Jeff Cohen2006-01-241-3/+0
| | | | llvm-svn: 25576
* rename methodChris Lattner2006-01-241-3/+4
| | | | llvm-svn: 25572
* Crude Dwarf global variable debugging.Jim Laskey2006-01-241-136/+246
| | | | llvm-svn: 25569
* Print file-scope inline asm blocks at the start of the output file.Chris Lattner2006-01-231-0/+5
| | | | llvm-svn: 25565
* another couple selectsAndrew Lenharth2006-01-231-0/+22
| | | | llvm-svn: 25551
* another selecttoAndrew Lenharth2006-01-231-0/+23
| | | | llvm-svn: 25548
* Typo.Jim Laskey2006-01-231-1/+1
| | | | llvm-svn: 25545
* Skeleton of the list schedule.Evan Cheng2006-01-232-0/+65
| | | | llvm-svn: 25544
* Minor clean up.Evan Cheng2006-01-231-1/+2
| | | | llvm-svn: 25543
* 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
* Remove a couple of unnecessary #include'sEvan Cheng2006-01-231-2/+0
| | | | llvm-svn: 25535
* Factor out more instruction scheduler code to the base class.Evan Cheng2006-01-233-333/+306
| | | | llvm-svn: 25532
* Fix bugs lowering stackrestore, fixing 2004-08-12-InlinerAndAllocas.c onChris Lattner2006-01-231-3/+4
| | | | | | PPC. llvm-svn: 25522
* Add explicit #includes of <iostream>Chris Lattner2006-01-227-0/+7
| | | | llvm-svn: 25515
* Fix a bug in a recent refactor that caused a bunch of programs to miscompileChris Lattner2006-01-211-1/+1
| | | | | | or the compiler to crash. llvm-svn: 25503
* Fix CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.llChris Lattner2006-01-211-15/+15
| | | | llvm-svn: 25496
* Do some code refactoring on Jim's scheduler in preparation of the new listEvan Cheng2006-01-213-1131/+933
| | | | | | scheduler. llvm-svn: 25493
* Simplify search for abbreviations.Jim Laskey2006-01-211-10/+2
| | | | llvm-svn: 25491
* Correct some simple errors.Jim Laskey2006-01-211-2/+2
| | | | llvm-svn: 25490
* Right size integer values before emitting.Jim Laskey2006-01-201-8/+24
| | | | llvm-svn: 25489
* Reworked how Dwarf debug info entries and abbreviations are handled. AddedJim Laskey2006-01-201-159/+423
| | | | | | pubnames and debuy str sections. llvm-svn: 25487
* 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-202-2/+7
| | | | | | 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
* Get rid of code in the DAGCombiner that is duplicated in SelectionDAG.cppNate Begeman2006-01-181-74/+80
| | | | | | Now all constant folding in the code generator is in one place. llvm-svn: 25426
* Temporary work around for a libcall insertion bug: If a target doesn'tChris Lattner2006-01-181-2/+6
| | | | | | support FSIN/FCOS nodes, do not lower sin/cos to them. llvm-svn: 25425
* Fix a backwards conditional that caused an inf loop in some cases. ThisChris Lattner2006-01-181-1/+1
| | | | | | fixes: test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll llvm-svn: 25419
* Added minimum Dwarf aranges. Cleaned up some section headers. Line numberJim Laskey2006-01-181-7/+47
| | | | | | support now works in gdb. llvm-svn: 25417
* 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
OpenPOWER on IntegriCloud