aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a way for TargetLowering to specify what values can be used as theEvan Cheng2006-03-164-13/+42
| | | | | | | scale component of the target addressing mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26802 91177308-0d34-0410-b5e6-96231b3b80d8
* in functions that use a lot of callee saved regs, this can be more thanChris Lattner2006-03-161-1/+1
| | | | | | | 5 instructions away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26801 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for copying registers. still needed: spilling and reloading themChris Lattner2006-03-163-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26800 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for CopyFromReg from vector values. Note: this doesn't supportChris Lattner2006-03-161-104/+119
| | | | | | | illegal vector types yet! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26799 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach CreateRegForValue how to handle vector types.Chris Lattner2006-03-161-23/+53
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26798 91177308-0d34-0410-b5e6-96231b3b80d8
* set TransformToType correctly for vector types.Chris Lattner2006-03-161-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26797 91177308-0d34-0410-b5e6-96231b3b80d8
* Add markers for the first and last vector value type.Chris Lattner2006-03-161-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26796 91177308-0d34-0410-b5e6-96231b3b80d8
* Another case we could do better on.Nate Begeman2006-03-161-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26795 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase, the new CFE compiles this into insertelement instructions, theChris Lattner2006-03-161-0/+11
| | | | | | | old one crashes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26794 91177308-0d34-0410-b5e6-96231b3b80d8
* Save/restore VRSAVE once per function, not once per block.Chris Lattner2006-03-161-39/+52
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26793 91177308-0d34-0410-b5e6-96231b3b80d8
* Typo.Jim Laskey2006-03-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26792 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo Eric van Riet Paap noticedChris Lattner2006-03-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26791 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a RUN: line so this test doesn't fail.Reid Spencer2006-03-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26790 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for the bitconvert nodeChris Lattner2006-03-161-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26789 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for vector->vector castsChris Lattner2006-03-152-35/+79
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26788 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a note, this code should be moved to the dag combiner.Chris Lattner2006-03-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26787 91177308-0d34-0410-b5e6-96231b3b80d8
* minor changes so that GCC builtin can be specified before the Intrinsic info,Chris Lattner2006-03-151-4/+14
| | | | | | | add some more PPC intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26786 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach the strip pass to strip type names in addition to value names. ThisChris Lattner2006-03-151-0/+5
| | | | | | | is fallout from the type/value split in the symtab long long ago :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26785 91177308-0d34-0410-b5e6-96231b3b80d8
* allow the GCCBuiltinName field to be optionalChris Lattner2006-03-151-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26784 91177308-0d34-0410-b5e6-96231b3b80d8
* Update doc to reflect changes in subprogram and block descriptors.Jim Laskey2006-03-151-23/+55
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26783 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand subprogram and added block descriptor.Jim Laskey2006-03-153-40/+128
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26782 91177308-0d34-0410-b5e6-96231b3b80d8
* no heap is happening hereAndrew Lenharth2006-03-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26781 91177308-0d34-0410-b5e6-96231b3b80d8
* better checkAndrew Lenharth2006-03-151-3/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26780 91177308-0d34-0410-b5e6-96231b3b80d8
* remove qsort for nowAndrew Lenharth2006-03-151-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26779 91177308-0d34-0410-b5e6-96231b3b80d8
* Also requires -mattr=-sse3Evan Cheng2006-03-153-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26778 91177308-0d34-0410-b5e6-96231b3b80d8
* allow field sensitivity to be a tunable parameterAndrew Lenharth2006-03-151-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26777 91177308-0d34-0410-b5e6-96231b3b80d8
* Update scheduling info for vrsave instructionNate Begeman2006-03-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26776 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle one offset with growth case seen in povray. Namely, if we have an ↵Andrew Lenharth2006-03-151-10/+39
| | | | | | | | | | offset, and the offset lands at a field boundary in the old type, construct a new type, copying the fields masked by the offset from the old type, and unify with that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26775 91177308-0d34-0410-b5e6-96231b3b80d8
* improve mem intrinsics and add a few things povray usesAndrew Lenharth2006-03-151-3/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26774 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ build error.Jeff Cohen2006-03-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26773 91177308-0d34-0410-b5e6-96231b3b80d8
* remove typoChris Lattner2006-03-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26772 91177308-0d34-0410-b5e6-96231b3b80d8
* Autogenerate a table of intrinsic names, so we can map from intrinsic ID toChris Lattner2006-03-152-4/+22
| | | | | | | LLVM intrinsic function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26771 91177308-0d34-0410-b5e6-96231b3b80d8
* Autogenerate code to map from GCC builtin to LLVM intrinsic.Chris Lattner2006-03-153-1/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26770 91177308-0d34-0410-b5e6-96231b3b80d8
* Set TargetPrefix on target-specific intrinsics. That way, in theory, differentChris Lattner2006-03-151-7/+7
| | | | | | | targets could have different implemenations of a __builtin_foo gcc intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26769 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed a typo in the vsetfp examples.Robert Bocchino2006-03-141-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26768 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the 'vset' instruction into two instructions, 'vsetint' andRobert Bocchino2006-03-141-38/+73
| | | | | | | | 'vsetfp', to reflect the fact that the semantics are different for integer and fp values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26767 91177308-0d34-0410-b5e6-96231b3b80d8
* Update this to match the documentation in the GC doc and to match actualChris Lattner2006-03-141-6/+10
| | | | | | | practice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26766 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the gcread/gcwrite intrinsic specifications, fixingChris Lattner2006-03-141-5/+5
| | | | | | | CodeGen/Generic/GC/alloc_loop.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26765 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugfix, unbreaking CodeGen/PowerPC/cttz.llChris Lattner2006-03-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26764 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an et-forest memory leak. Patch by Daniel Berlin.Chris Lattner2006-03-141-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26763 91177308-0d34-0410-b5e6-96231b3b80d8
* add a noteChris Lattner2006-03-141-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26762 91177308-0d34-0410-b5e6-96231b3b80d8
* Reflect the fact that empty strings can be expressed as null.Jim Laskey2006-03-141-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26761 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Use null for serialized empty strings.Jim Laskey2006-03-141-9/+17
| | | | | | | | 2. Allow for user defined debug descriptors. 3. Allow for user augmented fields on debug descriptors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26760 91177308-0d34-0410-b5e6-96231b3b80d8
* Bring debugging information up to date.Jim Laskey2006-03-141-636/+1166
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26759 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an off by one error that caused PPC LLC failures last night.Chris Lattner2006-03-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26758 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a FIXME, recusively reassociatingChris Lattner2006-03-141-26/+65
| | | | | | | | | A*A*B + A*A*C --> A*(A*B+A*C) --> A*(A*(B+C)) This implements Reassociate/mul-factor3.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26757 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase from a FIXME in the codeChris Lattner2006-03-142-2/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26756 91177308-0d34-0410-b5e6-96231b3b80d8
* extract some code into a method, no functionality changeChris Lattner2006-03-141-50/+56
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26755 91177308-0d34-0410-b5e6-96231b3b80d8
* transformation implementedChris Lattner2006-03-141-10/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26754 91177308-0d34-0410-b5e6-96231b3b80d8
* Promote shifts by a constant to multiplies so that we can reassociateChris Lattner2006-03-141-13/+17
| | | | | | | | (x<<1)+(y<<1) -> (X+Y)<<1. This implements Transforms/Reassociate/shift-factor.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26753 91177308-0d34-0410-b5e6-96231b3b80d8