summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Re-add parsing of function-local metadata; this time with testcase.Victor Hernandez2010-01-053-21/+50
| | | | llvm-svn: 92793
* more rearrangement and cleanup, fix my test failure.Chris Lattner2010-01-052-122/+108
| | | | llvm-svn: 92792
* cleanupChris Lattner2010-01-051-18/+15
| | | | llvm-svn: 92790
* remove two trunc xforms that are subsumed by EvaluateInDifferentType.Chris Lattner2010-01-052-36/+2
| | | | | | | The only difference is that EvaluateInDifferentType checks to ensure they are profitable before doing them :) llvm-svn: 92788
* merge some tests.Chris Lattner2010-01-055-49/+39
| | | | llvm-svn: 92786
* Add Rt2 to the asm format string for 32-bit Thumb load/store register dualJohnny Chen2010-01-051-3/+3
| | | | | | instructions. Thumb does not have the restriction that t2 = t+1. llvm-svn: 92785
* merge cast2 into cast.llChris Lattner2010-01-052-37/+37
| | | | llvm-svn: 92784
* Allow null to be an element of NamedMDNode. e.g. !llvm.stuff = !{!0, !1, null}Devang Patel2010-01-056-12/+22
| | | | llvm-svn: 92783
* remove useless test.Chris Lattner2010-01-051-35/+0
| | | | llvm-svn: 92782
* another example.Chris Lattner2010-01-051-0/+8
| | | | llvm-svn: 92781
* Don't specify CR sub-registers as implicit defs of BL instructions.Jakob Stoklund Olesen2010-01-051-6/+2
| | | | | | | It is enough to give the super registers CR0, CR1, ..., and specifying the sub-registers as well causes confusion in the liveness computations. llvm-svn: 92778
* remove a useless negative test, add a rdar # to an xfail that I'm working on.Chris Lattner2010-01-052-46/+1
| | | | llvm-svn: 92777
* clean up tests.Chris Lattner2010-01-053-28/+9
| | | | llvm-svn: 92776
* just remove this xform which is subsumed by others.Chris Lattner2010-01-052-28/+3
| | | | llvm-svn: 92775
* Fix comment for CheckDebugInfoIntrinsicsVictor Hernandez2010-01-051-2/+3
| | | | llvm-svn: 92774
* move a trunc-specific transform out of commonIntCastTransforms into visitTrunc.Chris Lattner2010-01-051-32/+34
| | | | llvm-svn: 92773
* Restore dump() methods to Loop and MachineLoop.Dan Gohman2010-01-054-1/+15
| | | | llvm-svn: 92772
* Move remaining stuff to the isInteger predicate.Benjamin Kramer2010-01-0514-40/+31
| | | | llvm-svn: 92771
* move a zext specific xform out of commonIntCastTransforms into visitZExt and ↵Chris Lattner2010-01-051-10/+9
| | | | | | modernize it. llvm-svn: 92770
* Remove livein checks from machine code verifier.Jakob Stoklund Olesen2010-01-051-99/+13
| | | | | | | | | | | A phi operand that is implicitly defined in a predecessor becomes an undefined register after phi elimination. This causes a lot of false positives when the verifier is checking if live-in registers are live-out from all predecessors. Removing the verifier checks seems like a better solution than insisting on IMPLICIT_DEF instructions in predecessor blocks. llvm-svn: 92769
* move a trunc-specific xform out of commonIntCastTransforms into visitTruncChris Lattner2010-01-051-16/+25
| | | | llvm-svn: 92768
* reduce indentationChris Lattner2010-01-051-15/+18
| | | | llvm-svn: 92766
* RegenerateAnton Korobeynikov2010-01-051-1/+1
| | | | llvm-svn: 92763
* Proper deduce z/System LLVM target from target triple whenAnton Korobeynikov2010-01-051-1/+1
| | | | | | --enable-targets=host is specified. llvm-svn: 92762
* NamedMDNode is a collection MDNodes.Devang Patel2010-01-056-23/+25
| | | | llvm-svn: 92761
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-0517-39/+36
| | | | llvm-svn: 92760
* Add a new predicate for integer type equality tests.Benjamin Kramer2010-01-052-0/+8
| | | | llvm-svn: 92759
* Add an !eq() operator to TableGen. It operates on strings only.David Greene2010-01-057-2/+37
| | | | | | Use !cast<string>() to compare other types of objects. llvm-svn: 92754
* Add an entry on SmallBitVector.Dan Gohman2010-01-051-1/+21
| | | | llvm-svn: 92747
* optimize comparisons against cttz/ctlz/ctpop, patch by Alastair Lynn!Chris Lattner2010-01-052-5/+49
| | | | llvm-svn: 92745
* Delete useless trailing semicolons.Dan Gohman2010-01-0557-102/+102
| | | | llvm-svn: 92740
* Nick Lewycky pointed out that this code makes changes unconditionally.Dan Gohman2010-01-051-1/+2
| | | | llvm-svn: 92739
* Have TableGen emit code that uses dbgs() rather than errs().David Greene2010-01-051-2/+2
| | | | llvm-svn: 92738
* If a scope has only one instruction then first instruction is also the last ↵Devang Patel2010-01-052-1/+19
| | | | | | instruction. llvm-svn: 92736
* Set Changed properly after calling DeleteDeadPHIs.Dan Gohman2010-01-052-2/+2
| | | | llvm-svn: 92735
* Use do+while instead of while for loops which obviously have aDan Gohman2010-01-0512-29/+23
| | | | | | non-zero trip count. Use SmallVector's pop_back_val(). llvm-svn: 92734
* Fix indentation.Dan Gohman2010-01-051-1/+1
| | | | llvm-svn: 92733
* Make RecursivelyDeleteTriviallyDeadInstructions,Dan Gohman2010-01-054-15/+25
| | | | | | | RecursivelyDeleteDeadPHINode, and DeleteDeadPHIs return a flag indicating whether they made any changes. llvm-svn: 92732
* Some versions of GCC don't like non-static data members in sizeofDan Gohman2010-01-051-1/+1
| | | | | | in this context. llvm-svn: 92731
* Add a SmallBitVector class, which mimics BitVector but uses onlyDan Gohman2010-01-054-0/+671
| | | | | | | | | | | | a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the pointer points to a heap-allocated object. Also, give BitVector empty and swap functions. And, add some simple unittests for BitVector and SmallBitVector. llvm-svn: 92730
* Add newline at EOF.Benjamin Kramer2010-01-051-1/+1
| | | | llvm-svn: 92727
* Avoid going through the LLVMContext for type equality where it's safe to ↵Benjamin Kramer2010-01-0525-58/+46
| | | | | | dereference the type pointer. llvm-svn: 92726
* prune some #includes.Chris Lattner2010-01-051-8/+1
| | | | llvm-svn: 92712
* split and/or/xor out into one overly-large (2000LOC) file. However, I thinkChris Lattner2010-01-053-1963/+1978
| | | | | | it does make sense to keep them together, at least for now. llvm-svn: 92711
* missed file with previous commit.Chris Lattner2010-01-051-418/+0
| | | | llvm-svn: 92710
* split instcombine of shifts out to its own file.Chris Lattner2010-01-052-0/+437
| | | | llvm-svn: 92709
* eliminate getBitCastOperand and simplify some over-complex inbounds stuff.Chris Lattner2010-01-051-46/+22
| | | | llvm-svn: 92708
* split call handling out to InstCombineCalls.cppChris Lattner2010-01-053-1110/+1133
| | | | llvm-svn: 92707
* optimize cttz and ctlz when we can prove something about the Chris Lattner2010-01-052-2/+58
| | | | | | leading/trailing bits. Patch by Alastair Lynn! llvm-svn: 92706
* this inline function moved to addsubChris Lattner2010-01-051-24/+0
| | | | llvm-svn: 92705
OpenPOWER on IntegriCloud