summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Rearrange some code, fold "rem X, 0", implementing rem.ll:test6Chris Lattner2006-02-281-38/+39
* Merge two almost-identical pieces of code.Chris Lattner2006-02-271-46/+42
* Fold (A^B) == A -> B == 0Chris Lattner2006-02-271-0/+26
* Fold (X|C1)^C2 -> X^(C1|C2) when possible. This implementsChris Lattner2006-02-261-0/+14
* Fix a problem that Nate noticed that boils down to an over conservative checkChris Lattner2006-02-241-22/+17
* Fix bugs identified by VC++.Jeff Cohen2006-02-181-2/+2
* Rework the SelectionDAG-based implementations of SimplifyDemandedBitsNate Begeman2006-02-161-3/+3
* Implement Instcombine/and.ll:test34Chris Lattner2006-02-131-0/+12
* If any of the sign extended bits are demanded, the input sign bit is demandedChris Lattner2006-02-131-3/+9
* Be careful not to request or look at bits shifted in from outside the sizeChris Lattner2006-02-131-3/+9
* remove some more dead special case codeChris Lattner2006-02-121-35/+8
* Eliminate special case hacks that are superceded by general purpose hacksChris Lattner2006-02-121-139/+51
* Three changes:Chris Lattner2006-02-121-6/+135
* Port the recent innovations in ComputeMaskedBits to SimplifyDemandedBits.Chris Lattner2006-02-111-211/+425
* Fix 80-column violationsChris Lattner2006-02-091-8/+9
* Enhance MVIZ in three ways:Chris Lattner2006-02-091-55/+157
* Simplify some code, reducing calls to MaskedValueIsZero. Implement a minorChris Lattner2006-02-081-16/+32
* Use EraseInstFromFunction in a few cases to put the uses of the removedChris Lattner2006-02-081-15/+37
* Fix a problem in my patch yesterday, causing a miscompilation of 176.gccChris Lattner2006-02-081-2/+3
* Fix Transforms/InstCombine/2006-02-07-SextZextCrash.llChris Lattner2006-02-071-3/+5
* Generalize MaskedValueIsZero into a ComputeMaskedNonZeroBits function, whichChris Lattner2006-02-071-44/+53
* Make MaskedValueIsZero take a uint64_t instead of a ConstantIntegral as aChris Lattner2006-02-071-69/+58
* Use Type::getIntegralTypeMask() to simplify some codeChris Lattner2006-02-071-15/+8
* Implement the beginnings of a facility for simplifying expressions based onChris Lattner2006-02-071-3/+145
* Turn A % (C << N), where C is 2^k, into A & ((C << N)-1) [urem only].Chris Lattner2006-02-051-0/+35
* Make iostream #inclusion explicitChris Lattner2006-01-221-0/+1
* Implement casts.ll:test26: a cast from float -> double -> integer, doesn'tChris Lattner2006-01-191-2/+11
* fix a crash due to missing parensChris Lattner2006-01-161-1/+1
* Added instcombine support for extractelement.Robert Bocchino2006-01-131-1/+54
* Do a simple instcombine xforms to delete llvm.stackrestore cases.Chris Lattner2006-01-131-0/+33
* Simplify this a tiny bit by using the new IntrinsicInst functionality.Chris Lattner2006-01-131-7/+12
* fix some 176.gcc miscompilation from my previous patch.Chris Lattner2006-01-071-7/+33
* silence some bogus gcc warnings on fenrisChris Lattner2006-01-061-10/+11
* Enhance the shift-shift folding code to allow a no-op cast to occur in betweenChris Lattner2006-01-061-55/+88
* Simplify the code a bit moreChris Lattner2006-01-061-3/+5
* Extract a bunch of code out of visitShiftInst into FoldShiftByConstant. NoChris Lattner2006-01-061-180/+189
* Add support alignment of allocation instructions.Nate Begeman2005-11-051-4/+4
* Turn sdiv into udiv if both operands have a clear sign bit. This occursChris Lattner2005-11-051-0/+19
* Turn srem -> urem when neither input has their sign bit set. This triggersChris Lattner2005-11-051-1/+19
* make this 64 bit clean, fixed test30 of /Regression/Transforms/InstCombine/ad...Andrew Lenharth2005-11-021-1/+1
* Limit the search depth of MaskedValueIsZero to 6 instructions, to avoidChris Lattner2005-10-311-10/+14
* Pull some code out into a function, give it the ability to see through +.Chris Lattner2005-10-291-24/+59
* Remove a special case, allowing the general case to handle it. No functionalityChris Lattner2005-10-291-49/+37
* Fix a bit of backwards logic that broke exptree and smg2000Chris Lattner2005-10-281-1/+1
* Do not sink any instruction with side effects, including vaarg. This fixesChris Lattner2005-10-271-4/+2
* Fix typoChris Lattner2005-10-271-1/+1
* Teach instcombine to promote stuff like (cast (malloc sbyte, 8*X) to int*)Chris Lattner2005-10-271-7/+26
* Promote cases like cast (malloc sbyte, 100) to int* intoChris Lattner2005-10-271-1/+22
* Minor change to this file to support obscure cases with constant array amountsChris Lattner2005-10-271-5/+16
* fold nested and's early to avoid inefficiencies in MaskedValueIsZero. ThisChris Lattner2005-10-261-0/+9
OpenPOWER on IntegriCloud