Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Match tblgen changes. | Evan Cheng | 2006-08-26 | 1 | -30/+38 | |
| | | | | llvm-svn: 29895 | |||||
* | SelectNodeTo() may return a SDOperand that is different from the input. | Evan Cheng | 2006-08-16 | 1 | -31/+20 | |
| | | | | llvm-svn: 29726 | |||||
* | Match tablegen changes. | Evan Cheng | 2006-08-11 | 1 | -25/+21 | |
| | | | | llvm-svn: 29604 | |||||
* | Match tablegen isel changes. | Evan Cheng | 2006-08-07 | 1 | -70/+28 | |
| | | | | llvm-svn: 29549 | |||||
* | Remove InFlightSet hack. No longer needed. | Evan Cheng | 2006-07-28 | 1 | -1/+0 | |
| | | | | llvm-svn: 29373 | |||||
* | Remove NodeDepth | Evan Cheng | 2006-07-27 | 1 | -6/+1 | |
| | | | | llvm-svn: 29338 | |||||
* | It was pointed out that DEBUG() is only available with -debug. | Jim Laskey | 2006-07-11 | 1 | -1/+5 | |
| | | | | llvm-svn: 29106 | |||||
* | Ensure that dump calls that are associated with asserts are removed from | Jim Laskey | 2006-07-11 | 1 | -1/+1 | |
| | | | | | | non-debug build. llvm-svn: 29105 | |||||
* | Assert if InflightSet is not cleared after instruction selecting a BB. | Evan Cheng | 2006-05-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 28459 | |||||
* | Clear HandleMap and ReplaceMap after instruction selection. Or it may cause | Evan Cheng | 2006-05-24 | 1 | -0/+2 | |
| | | | | | | non-deterministic behavior. llvm-svn: 28454 | |||||
* | Move this code to a common place | Andrew Lenharth | 2006-05-16 | 1 | -3/+0 | |
| | | | | llvm-svn: 28329 | |||||
* | #include Intrinsics.h into all dag isels | Chris Lattner | 2006-03-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 27109 | |||||
* | Added getTargetLowering() to TargetMachine. Refactored targets to support this. | Evan Cheng | 2006-03-13 | 1 | -3/+4 | |
| | | | | llvm-svn: 26742 | |||||
* | fix storing booleans (grawp missed this one) | Duraid Madina | 2006-02-11 | 1 | -3/+3 | |
| | | | | llvm-svn: 26120 | |||||
* | Match getTargetNode() changes (now return SDNode* instead of SDOperand). | Evan Cheng | 2006-02-09 | 1 | -64/+78 | |
| | | | | llvm-svn: 26085 | |||||
* | Change Select() from | Evan Cheng | 2006-02-09 | 1 | -48/+82 | |
| | | | | | | | | SDOperand Select(SDOperand N); to void Select(SDOperand &Result, SDOperand N); llvm-svn: 26067 | |||||
* | Use SelectRoot() as entry of any tblgen based isel. | Evan Cheng | 2006-02-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 25997 | |||||
* | Allow the specification of explicit alignments for constant pool entries. | Evan Cheng | 2006-01-31 | 1 | -2/+4 | |
| | | | | llvm-svn: 25855 | |||||
* | Targets all now request ConstantFP to be legalized into TargetConstantFP. | Chris Lattner | 2006-01-29 | 1 | -1/+1 | |
| | | | | | | 'fpimm' in .td files is now TargetConstantFP. llvm-svn: 25771 | |||||
* | Remove some dead code | Chris Lattner | 2006-01-28 | 1 | -30/+0 | |
| | | | | llvm-svn: 25719 | |||||
* | Add explicit #includes of <iostream> | Chris Lattner | 2006-01-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 25515 | |||||
* | insignificant, but next up is proper stack frame layout! | Duraid Madina | 2006-01-21 | 1 | -1/+2 | |
| | | | | llvm-svn: 25497 | |||||
* | remove RET hack, add proper support for rets (watching out for ret voids) | Duraid Madina | 2006-01-20 | 1 | -51/+0 | |
| | | | | llvm-svn: 25486 | |||||
* | fix sext breakage: now we correctly deal with functions that return | Duraid Madina | 2006-01-20 | 1 | -1/+1 | |
| | | | | | | int vs uint llvm-svn: 25478 | |||||
* | fix storing bools! eek! | Duraid Madina | 2006-01-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 25476 | |||||
* | oops, this shouldn't have gotten in | Duraid Madina | 2006-01-17 | 1 | -2/+0 | |
| | | | | llvm-svn: 25388 | |||||
* | fixing divides | Duraid Madina | 2006-01-17 | 1 | -12/+9 | |
| | | | | llvm-svn: 25383 | |||||
* | fixing divides: FP should now be 100%, and integers are fine too | Duraid Madina | 2006-01-16 | 1 | -17/+24 | |
| | | | | | | | unless you try to div/mod 0 by anything, in which case you will get some cute number, and not 0, which is bad. llvm-svn: 25358 | |||||
* | fix division! again!! pattern isel, prepare to die. | Duraid Madina | 2006-01-16 | 1 | -101/+97 | |
| | | | | llvm-svn: 25353 | |||||
* | explain that r12 is the stack pointer reg | Duraid Madina | 2006-01-15 | 1 | -32/+2 | |
| | | | | llvm-svn: 25336 | |||||
* | don't be a doofus - this fixes storing bools | Duraid Madina | 2006-01-13 | 1 | -2/+5 | |
| | | | | llvm-svn: 25274 | |||||
* | tblgen does this now | Chris Lattner | 2006-01-11 | 1 | -2/+0 | |
| | | | | llvm-svn: 25220 | |||||
* | cleanup GETFD | Duraid Madina | 2006-01-11 | 1 | -4/+3 | |
| | | | | llvm-svn: 25198 | |||||
* | unbreak calls, a few more tests should run. Tomorrow: bugpoint! | Duraid Madina | 2005-12-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 25010 | |||||
* | this is a hack, which may or may not hang around. In short: | Duraid Madina | 2005-12-22 | 1 | -0/+67 | |
| | | | | | | | | | | whimper out of doing things the Right Way, and hack up a generic 'BRCALL' instruction, that gets generated when calls are lowered. This gets selected by hand in the DAG isel, where it gets turned into real (i.e. in tablegen) br.call instructions. BUG: this dies on void calls, but seems to work otherwise? llvm-svn: 24952 | |||||
* | we can't do this directly in lowering, so we need this case | Duraid Madina | 2005-12-22 | 1 | -0/+8 | |
| | | | | llvm-svn: 24951 | |||||
* | kill SelectCALL() in the DAG isel, we handle this in lowering now, like | Duraid Madina | 2005-12-22 | 1 | -189/+47 | |
| | | | | | | | SPARCv8. (we copy sparcv8's workaround for tablegen not being nice about ISD::CALL/TAILCALL) llvm-svn: 24941 | |||||
* | Pay attn to the node returned by SelectNodeTo | Chris Lattner | 2005-11-30 | 1 | -37/+28 | |
| | | | | llvm-svn: 24551 | |||||
* | add support for dynamic_stackalloc to the dag isel (thanks andrew ;) | Duraid Madina | 2005-11-25 | 1 | -3/+31 | |
| | | | | | | next up: support argument passing in memory, not just registers llvm-svn: 24490 | |||||
* | add support for div/rem to the dag->dag isel. yay. | Duraid Madina | 2005-11-21 | 1 | -0/+180 | |
| | | | | llvm-svn: 24472 | |||||
* | add support for storing and returning bools | Duraid Madina | 2005-11-07 | 1 | -5/+26 | |
| | | | | llvm-svn: 24228 | |||||
* | just some random hacking - calls (particularly indirect) need a lot of | Duraid Madina | 2005-11-06 | 1 | -14/+25 | |
| | | | | | | love (especially with -sched=simple) llvm-svn: 24225 | |||||
* | oops, forgot to load GP for indirect calls, though the old code now commented | Duraid Madina | 2005-11-04 | 1 | -4/+21 | |
| | | | | | | | | | out failed (e.g. methcall) - now the code compiles, though it's not quite right just yet (tm) ;) would fix this but it's 3am! :O llvm-svn: 24186 | |||||
* | add support for loading bools | Duraid Madina | 2005-11-04 | 1 | -1/+7 | |
| | | | | llvm-svn: 24182 | |||||
* | "fix" support for FP constants (this code asserts in the scheduler, | Duraid Madina | 2005-11-02 | 1 | -2/+4 | |
| | | | | | | though) llvm-svn: 24152 | |||||
* | add support for loading FP constants +0.0 and +1.0 to the dag isel, | Duraid Madina | 2005-11-02 | 1 | -0/+8 | |
| | | | | | | stop pretending -0.0 and -1.0 are machine constants llvm-svn: 24146 | |||||
* | FORTRAN!!! :( and other similarly unfortunate things mean that on ia64 | Duraid Madina | 2005-11-01 | 1 | -0/+20 | |
| | | | | | | one sometimes needs to pass FP args in both FP *and* integer registers. llvm-svn: 24134 | |||||
* | add some FP stuff, some mix.* stuff, and constant pool support to the | Duraid Madina | 2005-10-29 | 1 | -0/+7 | |
| | | | | | | | DAG instruction selector, which should be destroyed one day (in the pattern isel also) since ia64 can pack any constant in the instruction stream llvm-svn: 24094 | |||||
* | These are autogenerated | Chris Lattner | 2005-10-28 | 1 | -33/+0 | |
| | | | | llvm-svn: 24063 | |||||
* | DAG->DAG instruction selection for ia64! "hello world" works, not much else. | Duraid Madina | 2005-10-28 | 1 | -0/+497 | |
use -enable-ia64-dag-isel to turn this on TODO: delete lowering stuff from the pattern isel : get operations on predicate bits working : get other bits of pseudocode going : use sampo's mulh/mull-using divide-by-constant magic : *so* many patterns ("extr", "tbit" and "dep" will be fun :) : add FP : add a JIT! : get it working 100% in short: this'll be happier in a couple of weeks, but it's here now so the tester can make me feel guilty sooner. OTHER: there are a couple of fixes to the pattern isel, in particular making the linker happy with big blobs of fun like pypy. llvm-svn: 24058 |