summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix PR1316Chris Lattner2007-04-091-4/+4
| | | | llvm-svn: 35783
* Fix for CodeGen/X86/2007-04-08-InlineAsmCrash.ll and PR1314Chris Lattner2007-04-081-1/+1
| | | | llvm-svn: 35779
* minor comment fixChris Lattner2007-04-061-1/+1
| | | | llvm-svn: 35696
* Change the bit_part_select (non)implementation from "return 0" to abort.Reid Spencer2007-04-051-3/+5
| | | | llvm-svn: 35679
* Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.Reid Spencer2007-04-041-0/+5
| | | | llvm-svn: 35678
* Properly emit range comparisons for switch cases, where neighbour casesAnton Korobeynikov2007-04-041-71/+181
| | | | | | | go to the same destination. Now we're producing really good code for switch-lower-feature.ll testcase llvm-svn: 35672
* For PR1297:Reid Spencer2007-04-011-24/+31
| | | | | | | Adjust for changes in the bit counting intrinsics. They all return i32 now so we have to trunc/zext the DAG node accordingly. llvm-svn: 35546
* move a bunch of code out of the sdisel pass into its own opt pass ↵Chris Lattner2007-03-311-483/+1
| | | | | | "codegenprepare". llvm-svn: 35529
* Scale 1 is always ok.Evan Cheng2007-03-281-1/+1
| | | | llvm-svn: 35407
* GEP index sinking fixes:Evan Cheng2007-03-281-40/+35
| | | | | | | | | 1) Take address scale into consideration. e.g. i32* -> scale 4. 2) Examine all the users of GEP. 3) Generalize to inter-block GEP's (no longer uses loopinfo). 4) Don't do xform if GEP has other variable index(es). llvm-svn: 35403
* Remove dead codeAnton Korobeynikov2007-03-271-82/+46
| | | | llvm-svn: 35380
* Split big monster into small helpers. No functionality change.Anton Korobeynikov2007-03-271-190/+285
| | | | llvm-svn: 35379
* SDISel does not preserve all, it changes CFG and other info.Evan Cheng2007-03-271-1/+0
| | | | llvm-svn: 35376
* First step of switch lowering refactoring: perform worklist-drivenAnton Korobeynikov2007-03-251-176/+249
| | | | | | strategy, emit JT's where possible. llvm-svn: 35338
* Implement support for vector operands to inline asm, implementingChris Lattner2007-03-251-4/+16
| | | | | | CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll llvm-svn: 35332
* switch TargetLowering::getConstraintType to take the entire constraint,Chris Lattner2007-03-251-4/+4
| | | | | | not just the first letter. No functionality change. llvm-svn: 35322
* Change uses of Function::front to Function::getEntryBlock for readability.Dan Gohman2007-03-221-1/+1
| | | | llvm-svn: 35265
* Minor bug.Evan Cheng2007-03-201-1/+2
| | | | llvm-svn: 35219
* Use SmallSet instead of std::set.Evan Cheng2007-03-171-1/+1
| | | | llvm-svn: 35133
* If sdisel has decided to sink GEP index expression into any BB. Replace all usesEvan Cheng2007-03-171-22/+37
| | | | | | in that BB. llvm-svn: 35132
* Turn on GEP index sinking by default.Evan Cheng2007-03-161-7/+0
| | | | llvm-svn: 35127
* Stupid bug.Evan Cheng2007-03-161-1/+1
| | | | llvm-svn: 35126
* Sink a binary expression into its use blocks if it is a loop invariantEvan Cheng2007-03-161-0/+92
| | | | | | | computation used as GEP indexes and if the expression can be folded into target addressing mode of GEP load / store use types. llvm-svn: 35123
* implement support for floating point constants used as inline asm memory ↵Chris Lattner2007-03-081-2/+7
| | | | | | operands. llvm-svn: 35033
* make this fail even in non-assert builds.Chris Lattner2007-03-081-2/+4
| | | | llvm-svn: 35025
* Refactoring of formal parameter flags. Enable properly use ofAnton Korobeynikov2007-03-071-24/+27
| | | | | | zext/sext/aext stuff. llvm-svn: 35008
* Enumerate SDISel formal parameter attributes. Make use of newAnton Korobeynikov2007-03-061-22/+24
| | | | | | enumeration. llvm-svn: 34960
* Unbreak VC++ build.Jeff Cohen2007-03-051-1/+1
| | | | llvm-svn: 34917
* Lower eh filter intrinsic.Jim Laskey2007-03-011-1/+4
| | | | llvm-svn: 34802
* MERGE_VALUES unnecessary.Jim Laskey2007-02-281-12/+4
| | | | llvm-svn: 34750
* track signedness of formal argument, though we have a fixme here.Chris Lattner2007-02-261-0/+8
| | | | llvm-svn: 34620
* Fix for PR1224.Jim Laskey2007-02-251-35/+50
| | | | llvm-svn: 34610
* optimize duplicate ValueMap lookupsChris Lattner2007-02-251-9/+6
| | | | llvm-svn: 34599
* Deal with cases when MMI is not requested.Jim Laskey2007-02-241-0/+14
| | | | llvm-svn: 34556
* Handle improper cast.Jim Laskey2007-02-231-6/+19
| | | | llvm-svn: 34535
* Tighten up error checking of args.Jim Laskey2007-02-221-17/+23
| | | | llvm-svn: 34493
* Handle lowering invoke to call correctly.Jim Laskey2007-02-221-95/+97
| | | | llvm-svn: 34492
* Selection and lowering for exception handling.Jim Laskey2007-02-211-2/+137
| | | | llvm-svn: 34481
* For PR1195:Reid Spencer2007-02-151-8/+8
| | | | | | | Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
* For PR1195:Reid Spencer2007-02-151-29/+29
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
* fix a warningChris Lattner2007-02-141-1/+1
| | | | llvm-svn: 34272
* Refix CodeGen/Generic/switch-lower.ll. In contrast to my previous patch,Chris Lattner2007-02-141-5/+5
| | | | | | this doesn't miscompile lots of programs :) llvm-svn: 34268
* Generalize TargetData strings, to support more interesting forms of data.Chris Lattner2007-02-141-4/+4
| | | | | | Patch by Scott Michel. llvm-svn: 34266
* revert my previous switch lowering change, which miscompiles a few programs.Chris Lattner2007-02-131-2/+2
| | | | | | This will break a dj test until I have time to investigate. llvm-svn: 34247
* Add a space between // and the comment.Lauro Ramos Venancio2007-02-131-9/+9
| | | | llvm-svn: 34244
* Add "original alignment" to function arguments flags.Lauro Ramos Venancio2007-02-131-10/+30
| | | | llvm-svn: 34240
* Fix switch lowering to order cases in zext order, which is how we emit theChris Lattner2007-02-131-2/+2
| | | | | | | comparisons. This fixes an infinite loop on CodeGen/Generic/switch-lower.ll and PR1197 llvm-svn: 34216
* Privatize StructLayout::MemberOffsets, adding an accessorChris Lattner2007-02-101-2/+2
| | | | llvm-svn: 34156
* Add function live-ins to entry block live-in set.Evan Cheng2007-02-101-0/+8
| | | | llvm-svn: 34112
* Rename some variables to avoid confusion with SelectionDAGISel::BB.Evan Cheng2007-02-101-6/+6
| | | | llvm-svn: 34110
OpenPOWER on IntegriCloud