summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Do not fold a load into a comparison that is used by more than one place.Chris Lattner2005-01-171-8/+8
| | | | | | | The comparison will probably be folded, so this is not ok to do. This fixed 197.parser. llvm-svn: 19624
* Do not codegen 'xor bool, true' as 'not reg'. not reg inverts the upper bitsChris Lattner2005-01-171-4/+7
| | | | | | of the bytereg. This fixes yacr2, 300.twolf and probably others. llvm-svn: 19622
* Set up the shift and setcc types.Chris Lattner2005-01-171-1/+32
| | | | | | | If we emit a load because we followed a token chain to get to it, try to fold it into its single user if possible. llvm-svn: 19620
* Shift and setcc types default to the pointer type.Chris Lattner2005-01-161-1/+1
| | | | llvm-svn: 19619
* Implement legalize of call nodes.Chris Lattner2005-01-161-3/+17
| | | | llvm-svn: 19617
* Added paramters to a few functions in order to allow me to change the ↵Tanya Lattner2005-01-161-14/+16
| | | | | | functions to preserve SSA llvm-svn: 19615
* * Adjust to changes in TargetLowering interfaces.Chris Lattner2005-01-161-43/+52
| | | | | | | | | | | | * Remove custom promotion for bool and byte select ops. Legalize now promotes them for us. * Allow folding ConstantPoolIndexes into EXTLOAD's, useful for float immediates. * Declare which operations are not supported better. * Add some hacky code for TRUNCSTORE to pretend that we have truncstore for i16 types. This is useful for testing promotion code because I can just remove 16-bit registers all together and verify that programs work. llvm-svn: 19614
* Revamp supported ops. Instead of just being supported or not, we now keepChris Lattner2005-01-161-11/+54
| | | | | | | | | | track of how to deal with it, and provide the target with a hook that they can use to legalize arbitrary operations in arbitrary ways. Implement custom lowering for a couple of ops, implement promotion for select operations (which x86 needs). llvm-svn: 19613
* add method stubChris Lattner2005-01-161-0/+5
| | | | llvm-svn: 19612
* Don't mash stuff together.Chris Lattner2005-01-161-1/+1
| | | | llvm-svn: 19611
* Use enums, move virtual dtor out of line.Chris Lattner2005-01-161-8/+14
| | | | llvm-svn: 19610
* Implement some more missing promotions.Chris Lattner2005-01-161-8/+19
| | | | llvm-svn: 19606
* Fix bugpointChris Lattner2005-01-161-2/+1
| | | | llvm-svn: 19605
* cycles_t -> CycleCount_tChris Lattner2005-01-163-54/+54
| | | | llvm-svn: 19604
* Clarify assertion.Chris Lattner2005-01-161-1/+1
| | | | llvm-svn: 19597
* Add assertions.Chris Lattner2005-01-161-0/+31
| | | | llvm-svn: 19596
* Add support for promoted registers being live across blocks.Chris Lattner2005-01-161-1/+22
| | | | llvm-svn: 19595
* Rename BUILD_* to PROJ_*Reid Spencer2005-01-161-1/+1
| | | | llvm-svn: 19592
* Fixed a couple of instructions that broke SSA.Tanya Lattner2005-01-161-10/+33
| | | | llvm-svn: 19587
* Improve compatiblity with HPUX on Itanium, patch by Duraid MadinaChris Lattner2005-01-162-6/+6
| | | | llvm-svn: 19586
* Set up identity transforms.Chris Lattner2005-01-161-0/+7
| | | | llvm-svn: 19584
* Move some information into the TargetLowering object.Chris Lattner2005-01-161-56/+5
| | | | llvm-svn: 19583
* Use the new TLI method to get this.Chris Lattner2005-01-161-3/+1
| | | | llvm-svn: 19582
* Move some information out of LegalizeDAG into the generic Target interface.Chris Lattner2005-01-161-2/+55
| | | | llvm-svn: 19581
* legalize a bunch of operations that I missed.Chris Lattner2005-01-161-9/+19
| | | | llvm-svn: 19580
* Add support for targets that require promotions.Chris Lattner2005-01-161-1/+6
| | | | llvm-svn: 19579
* Fix some serious bugs in promotion.Chris Lattner2005-01-161-2/+2
| | | | llvm-svn: 19578
* Eliminate unneeded extensions.Chris Lattner2005-01-161-0/+9
| | | | llvm-svn: 19577
* Implement promotion of a whole bunch more operators. I think that this isChris Lattner2005-01-151-12/+174
| | | | | | basically everything. llvm-svn: 19576
* Print extra type for nodes with extra type info.Chris Lattner2005-01-152-0/+4
| | | | llvm-svn: 19575
* Add support for legalizing FP_ROUND_INREG, SIGN_EXTEND_INREG, andChris Lattner2005-01-151-21/+58
| | | | | | ZERO_EXTEND_INREG for targets that don't support them. llvm-svn: 19573
* Common code factored out.Chris Lattner2005-01-151-24/+4
| | | | llvm-svn: 19572
* implement these methods.Chris Lattner2005-01-151-0/+52
| | | | llvm-svn: 19571
* Add support for promoting ADD/MUL.Chris Lattner2005-01-151-0/+66
| | | | | | | | Add support for new SIGN_EXTEND_INREG, ZERO_EXTEND_INREG, and FP_ROUND_INREG operators. Realize that if we do any promotions, we need to iterate SelectionDAG construction. llvm-svn: 19569
* Add new SIGN_EXTEND_INREG, ZERO_EXTEND_INREG, and FP_ROUND_INREG operators.Chris Lattner2005-01-152-17/+57
| | | | llvm-svn: 19568
* Add a new target-independent code generator flag.Chris Lattner2005-01-151-0/+6
| | | | llvm-svn: 19567
* Add support for truncstore and *extload.Chris Lattner2005-01-151-2/+142
| | | | llvm-svn: 19566
* Add intitial support for promoting some operators.Chris Lattner2005-01-151-7/+119
| | | | llvm-svn: 19565
* We don't distribute the operating system specific directories any more.Reid Spencer2005-01-141-1/+1
| | | | llvm-svn: 19563
* Adjust to CopyFromReg changes, implement deletion of truncating/extendingChris Lattner2005-01-143-6/+38
| | | | | | stores/loads. llvm-svn: 19562
* Adjust to CopyFromREg changes.Chris Lattner2005-01-141-2/+14
| | | | llvm-svn: 19561
* Start implementing truncating stores and extending loads.Chris Lattner2005-01-142-7/+72
| | | | llvm-svn: 19559
* Fix Regression/CodeGen/PowerPC/2005-01-14-UndefLong.llChris Lattner2005-01-141-0/+2
| | | | llvm-svn: 19557
* Fix: Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.llChris Lattner2005-01-141-1/+2
| | | | llvm-svn: 19555
* Fix some bugs in an xform added yesterday. This fixes Prolangs-C/allroots.Chris Lattner2005-01-141-2/+2
| | | | llvm-svn: 19553
* Fix a compile crash on spiffChris Lattner2005-01-141-7/+4
| | | | llvm-svn: 19552
* Improve compatibility with accChris Lattner2005-01-141-2/+2
| | | | llvm-svn: 19549
* Make this compatible with the HP/intel compiler. Fix by Duraid, thanks!Chris Lattner2005-01-141-1/+1
| | | | llvm-svn: 19548
* Fix and improve win32 path validation.Jeff Cohen2005-01-141-10/+22
| | | | llvm-svn: 19545
* Make asctime_r work for HP/UX.Reid Spencer2005-01-141-0/+4
| | | | llvm-svn: 19544
OpenPOWER on IntegriCloud