summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Make MaskedValueIsZero a bit more aggressiveChris Lattner2005-10-091-3/+9
* Fix funky xcode indentationChris Lattner2005-10-091-50/+50
* Remove useless variable.Jeff Cohen2005-10-071-1/+1
* Factor the GetGEPGlobalInitializer out of this pass and into Transforms/UtilsChris Lattner2005-09-261-44/+2
* Move MaskedValueIsZero up.Chris Lattner2005-09-241-77/+146
* Refactor this code a bit and make it more general. This now compiles:Chris Lattner2005-09-181-24/+53
* CompileChris Lattner2005-09-181-31/+70
* Generalize this transform, using MaskedValueIsZero, allowing us to compile:Chris Lattner2005-09-181-14/+21
* fix typeoChris Lattner2005-09-181-1/+1
* Remove unintentionally committed codeChris Lattner2005-09-181-3/+0
* implement shift.ll:test25. This compiles:Chris Lattner2005-09-181-3/+53
* Implement add.ll:test29. Codegening:Chris Lattner2005-09-181-0/+66
* remove debug outputChris Lattner2005-09-181-1/+0
* Implement or.ll:test21. This teaches instcombine to be able to turn this:Chris Lattner2005-09-181-3/+25
* Fix the regression last night compiling povrayChris Lattner2005-09-141-2/+3
* Add a simple xform to simplify array accesses with casts in the way.Chris Lattner2005-09-131-2/+62
* Add a helper function, allowing us to simplify some code a bit, changingChris Lattner2005-09-131-39/+47
* Implement a simple xform to turn code like this:Chris Lattner2005-09-121-0/+66
* Another load-peephole optimization: do gcse when two loads are next toChris Lattner2005-09-121-2/+5
* Implement a trivial form of store->load forwarding where the store and theChris Lattner2005-09-121-0/+9
* Use the new 'moveBefore' method to simplify some code. Really, which isChris Lattner2005-08-081-2/+1
* Add some simple folds that occur in bitfield cases. Fix a minor bug inChris Lattner2005-08-071-0/+32
* now that hasConstantValue defaults to only returning values that dominateChris Lattner2005-08-051-19/+2
* Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization intoNate Begeman2005-08-041-1/+1
* Update to use the new MathExtras.h support for log2 computation.Chris Lattner2005-08-021-22/+15
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-7/+7
* Do not let MaskedValueIsZero consider undef to be zero, for reasonsChris Lattner2005-07-201-2/+8
* When transforming &A[i] < &A[j] -> i < j, make sure to perform the comparisonChris Lattner2005-07-181-4/+11
* Fix a problem that instcombine would hit when dealing with unreachable code.Chris Lattner2005-07-071-5/+29
* Clean up some uninitialized variables and missing return statements thatReid Spencer2005-06-181-3/+3
* This is not true: (X != 13 | X < 15) -> X < 15Chris Lattner2005-06-171-2/+1
* Don't crash when dealing with INTMIN. This fixes PR585 andChris Lattner2005-06-171-0/+2
* avoid constructing out of range shift amounts.Chris Lattner2005-06-171-2/+4
* Fix PR583 and testcase Transforms/InstCombine/2005-06-15-DivSelectCrash.llChris Lattner2005-06-161-1/+1
* Fix PR571, removing code that does just the WRONG thing :)Chris Lattner2005-06-161-27/+1
* Fix a bug in my previous patch. Do not get the shift amount type (whichChris Lattner2005-06-161-1/+1
* Fix PR577 and testcase InstCombine/2005-06-15-ShiftSetCCCrash.ll.Chris Lattner2005-06-151-2/+16
* Put the hack back in that removes features, causes regressions to fail, butReid Spencer2005-06-151-0/+2
* Unbreak several InstCombine regression checks introduced by a hack toReid Spencer2005-06-131-2/+0
* hack to fix bzip2 (bug 571)Andrew Lenharth2005-06-041-0/+2
* preserve calling conventions when hacking on codeChris Lattner2005-05-141-0/+2
* calling a function with the wrong CC is undefined, turn it into an unreachableChris Lattner2005-05-131-0/+14
* implement and.ll:test33Chris Lattner2005-05-091-2/+18
* Strength reduce SAR into SHR if there is no way sign bits could be shiftedChris Lattner2005-05-081-0/+10
* Fix a miscompilation of crafty by clobbering the "A" variable.Chris Lattner2005-05-071-9/+10
* Preserve tail markerChris Lattner2005-05-061-0/+2
* Teach instcombine propagate zeroness through shl instructions, implementingChris Lattner2005-05-061-8/+4
* Implement shift.ll:test23. If we are shifting right then immediately truncatingChris Lattner2005-05-061-3/+19
* Implement xor.ll:test22Chris Lattner2005-05-061-0/+9
* implement and.ll:test30 and set.ll:test21Chris Lattner2005-05-061-18/+60
OpenPOWER on IntegriCloud