summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use Duncan's patch to delete the instructions in reverse order (minus the lan...Bill Wendling2011-09-041-6/+10
* Update comments to reflect reality.Bill Wendling2011-09-021-2/+1
* Reduce indentation. No functionality change.Bill Wendling2011-09-011-17/+18
* Change worklist driven deletion to be an iterative process.Bill Wendling2011-09-011-26/+5
* Resubmit with fix. Properly remove the instructions except for landingpad, wh...Bill Wendling2011-09-011-9/+28
* Submitted this too early.Bill Wendling2011-09-011-5/+0
* Don't DCE the landingpad instruction.Bill Wendling2011-09-011-0/+5
* Revert r137655. There is some question about whether the 'landingpad'Bill Wendling2011-08-171-1/+2
* Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>'Bill Wendling2011-08-161-2/+1
* Don't sink the instruction to before a landingpad instruction.Bill Wendling2011-08-151-1/+1
* Update instcombine for atomic load/store.Eli Friedman2011-08-151-1/+1
* Duncan pointed out that the LandingPadInst might read memory. (It might alsoBill Wendling2011-08-151-3/+2
* Don't try to sink the landingpad instruction. It's immobile.Bill Wendling2011-08-151-2/+3
* This transform is not safe. Thanks to Eli for pointing that out!Nick Lewycky2011-08-141-8/+1
* Don't attempt to add 'nsw' when intermediate instructions had no such guarantee.Nick Lewycky2011-08-141-4/+7
* Teach instcombine to preserve the nsw bit by doing an after-the-fact analysisNick Lewycky2011-08-141-3/+54
* Small cleanups:Nick Lewycky2011-08-031-3/+2
* Fix logical error when detecting lifetime intrinsics.Nick Lewycky2011-08-031-33/+34
* Teach InstCombine that lifetime intrincs aren't a real user on the result of aNick Lewycky2011-08-021-11/+35
* Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola2011-07-311-11/+13
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-6/+4
* Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to useJay Foad2011-07-221-10/+7
* Convert SimplifyGEPInst to use ArrayRef.Jay Foad2011-07-191-1/+1
* Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previ...Frits van Bommel2011-07-181-2/+2
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-17/+17
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-5/+5
* Don't duplicate the work done by a gep into a "bitcast" if the gep hasRafael Espindola2011-07-111-0/+8
* Final step of instcombine debuginfo; switch a couple more places over to Inse...Eli Friedman2011-05-271-2/+3
* Make instcombine O(N) instead of O(N^2) in code where the same simplifiable c...Eli Friedman2011-05-241-10/+11
* More instcombine cleanup, towards improving debug line info.Eli Friedman2011-05-181-6/+6
* Start trying to make InstCombine preserve more debug info. The idea here is ...Eli Friedman2011-05-181-0/+1
* Use ReplaceInstUsesWith instead of replaceAllUsesWith where appropriate in in...Eli Friedman2011-05-181-3/+3
* Stop trying to have instcombine preserve LCSSA form: this was notDuncan Sands2011-04-271-2/+0
* InstCombine optimizes gep(bitcast(x)) even when the bitcasts casts away addressNadav Rotem2011-04-051-8/+11
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-301-2/+1
* Make more use of PHINode::getNumIncomingValues().Jay Foad2011-03-281-1/+1
* Try to not lose variable's debug info during instcombine.Devang Patel2011-03-171-0/+4
* Do not forget DebugLoc!Devang Patel2011-02-151-0/+1
* Conservatively, clear optional flags, such as nsw, when performingDan Gohman2011-02-021-0/+15
* fix PR9013, an infinite loop in instcombine.Chris Lattner2011-01-211-2/+10
* update obsolete comment.Chris Lattner2011-01-211-4/+3
* Don't try to pull vector bitcasts that change the number of elements throughNick Lewycky2011-01-211-3/+17
* remove a dead check, this was needed before we had an explicit veto on uses o...Chris Lattner2011-01-161-5/+0
* enhance FoldOpIntoPhi in instcombine to try harder when a phi hasChris Lattner2011-01-161-3/+19
* remove the AllowAggressive argument to FoldOpIntoPhi. It is forced to false ...Chris Lattner2011-01-161-8/+3
* more cleanups: use the IR builder.Chris Lattner2011-01-161-38/+39
* tidy up code.Chris Lattner2011-01-161-16/+20
* Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands2010-12-221-54/+114
* Add some statistics, good for understanding how much more powerfulDuncan Sands2010-12-221-2/+12
* fix an oversight caught by Frits!Chris Lattner2010-12-191-3/+4
OpenPOWER on IntegriCloud