aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Rework the SelectionDAG-based implementations of SimplifyDemandedBitsNate Begeman2006-02-161-17/+55
| | | | | | | | and ComputeMaskedBits to match the new improved versions in instcombine. Tested against all of multisource/benchmarks on ppc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26238 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename maxStoresPerMemSet to maxStoresPerMemset, etc.Evan Cheng2006-02-141-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26174 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo that caused build failures for things trying to use m_Or.Chris Lattner2006-02-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26153 91177308-0d34-0410-b5e6-96231b3b80d8
* Sync up the tag numbers with gcc4.Jim Laskey2006-02-131-9/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26146 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename to better reflect usage (current and planned.)Jim Laskey2006-02-131-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26145 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a methodChris Lattner2006-02-131-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26141 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorg for integration with gcc4. Old style debug info will not be passed thoughJim Laskey2006-02-111-59/+169
| | | | | | | to SelIDAG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26115 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a level of indirection.Chris Lattner2006-02-101-9/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26109 91177308-0d34-0410-b5e6-96231b3b80d8
* Added SelectionDAG::InsertISelMapEntry(). This is used to workaround the gccEvan Cheng2006-02-091-2/+8
| | | | | | | | | problem where it inline the map insertion call too aggressively. Before this change it was producing a frame size of 24k for Select_store(), now it's down to 10k (by calling this method rather than calling the map insertion operator). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26094 91177308-0d34-0410-b5e6-96231b3b80d8
* More changes to reduce frame size.Evan Cheng2006-02-091-236/+72
| | | | | | | | | | Move all getTargetNode() out of SelectionDAG.h into SelectionDAG.cpp. This prevents them from being inlined. Change getTargetNode() so they return SDNode * instead of SDOperand to prevent copying. It should also help compilation speed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26083 91177308-0d34-0410-b5e6-96231b3b80d8
* instead of keeping track of Constant/alignment pairs, actually compute theChris Lattner2006-02-091-17/+15
| | | | | | | offset of each entry from the start of the constant pool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26077 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a MachineConstantPoolEntry struct instead of a pair to holdChris Lattner2006-02-091-5/+15
| | | | | | | constant pool entries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26075 91177308-0d34-0410-b5e6-96231b3b80d8
* Assert invariantsChris Lattner2006-02-091-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26073 91177308-0d34-0410-b5e6-96231b3b80d8
* Require an alignment.Chris Lattner2006-02-091-6/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26072 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment: value is log2Chris Lattner2006-02-091-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26068 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for assembler directives that wrap inline asmChris Lattner2006-02-081-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26065 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some happy helper methods.Chris Lattner2006-02-081-1/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26046 91177308-0d34-0410-b5e6-96231b3b80d8
* getConstraintType should be virtual.Chris Lattner2006-02-071-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26041 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new Type::getIntegralTypeMask() method, which is useful for clients thatChris Lattner2006-02-073-2/+9
| | | | | | | want to do bitwise inspection of integer types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26032 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some truncation warnings.Jeff Cohen2006-02-071-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26029 91177308-0d34-0410-b5e6-96231b3b80d8
* fix an error compiling with -pedanticChris Lattner2006-02-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26028 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the prototype of PrintAsmOperandChris Lattner2006-02-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26020 91177308-0d34-0410-b5e6-96231b3b80d8
* Goodbye nasty macro.Jim Laskey2006-02-061-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26019 91177308-0d34-0410-b5e6-96231b3b80d8
* Edit requests from Sabre.Jim Laskey2006-02-061-25/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26018 91177308-0d34-0410-b5e6-96231b3b80d8
* Changing model for the construction of debug information.Jim Laskey2006-02-062-100/+331
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26016 91177308-0d34-0410-b5e6-96231b3b80d8
* * Added SDNode::isOnlyUse().Evan Cheng2006-02-051-1/+4
| | | | | | | * Fix hasNUsesOfValue(), it should be const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25990 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new method, getPreferredAlignmentLog.Chris Lattner2006-02-051-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25977 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor a bunch of code into a non-inlined methodChris Lattner2006-02-041-33/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25972 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of some memory leaks identified by ValgrindEvan Cheng2006-02-041-5/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25960 91177308-0d34-0410-b5e6-96231b3b80d8
* add a methodChris Lattner2006-02-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25959 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some methods for inline asm support.Chris Lattner2006-02-041-3/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25950 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a framework for eliminating instructions that produces undemanded bits.Nate Begeman2006-02-031-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25945 91177308-0d34-0410-b5e6-96231b3b80d8
* Move isLoadFrom/StoreToStackSlot from MRegisterInfo to TargetInstrInfo,Chris Lattner2006-02-022-18/+18
| | | | | | | | a far more logical place. Other methods should also be moved if anyone is interested. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25912 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new isStoreToStackSlot methodChris Lattner2006-02-021-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25909 91177308-0d34-0410-b5e6-96231b3b80d8
* add an instance var and argument.Chris Lattner2006-02-021-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25891 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new PrintAsmOperand method, move some stuff around for ease of reading.Chris Lattner2006-02-011-9/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25885 91177308-0d34-0410-b5e6-96231b3b80d8
* Beef up the interface to inline asm constraint parsing, making it moreChris Lattner2006-02-011-3/+27
| | | | | | | general, useful, and easier to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25864 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the specification of explicit alignments for constant pool entries.Evan Cheng2006-01-313-11/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25855 91177308-0d34-0410-b5e6-96231b3b80d8
* One more getTargetNode() variant shouldn't hurt...Evan Cheng2006-01-301-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25816 91177308-0d34-0410-b5e6-96231b3b80d8
* Clear the OpAction field before setting it. This allows a target to setChris Lattner2006-01-301-0/+1
| | | | | | | an instruction operation action to Expand, then set it to Legal later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25812 91177308-0d34-0410-b5e6-96231b3b80d8
* Add AddSymbol() method to DynamicLibrary to work around Windows limitationJeff Cohen2006-01-301-0/+14
| | | | | | | | of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25805 91177308-0d34-0410-b5e6-96231b3b80d8
* Move MaskedValueIsZero from the DAGCombiner to the TargetLowering interface,Chris Lattner2006-01-301-6/+14
| | | | | | | | making isMaskedValueZeroForTargetNode simpler, and useable from other parts of the compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25802 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass the address of the main MaskedValueIsZero function to allow recursion.Chris Lattner2006-01-301-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25797 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extra qualifier.Jim Laskey2006-01-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25790 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the interface to ValueTypeActions, allowing Legalize to use a copyChris Lattner2006-01-291-11/+36
| | | | | | | | of it more cleanly. Double the size of OpActions, allowing it to hold actions for any VT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25782 91177308-0d34-0410-b5e6-96231b3b80d8
* revert an accidental commitChris Lattner2006-01-291-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25781 91177308-0d34-0410-b5e6-96231b3b80d8
* remove some methodsChris Lattner2006-01-291-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25779 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ConstantFP legalize into TargetConstantFP like other leaf nodes do. AllowChris Lattner2006-01-293-6/+16
| | | | | | | | | targets to register custom legalizers for ConstantFP in case there isn't a fixed list of constants that can be generated. On some architectures (ia64?) all fp immediates are legal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25769 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the getBR2Way_CC methodChris Lattner2006-01-291-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25768 91177308-0d34-0410-b5e6-96231b3b80d8
* add another variantChris Lattner2006-01-281-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25743 91177308-0d34-0410-b5e6-96231b3b80d8