aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2011-11-15Remove all remaining uses of Value::getNameStr().Benjamin Kramer
2011-11-07InstCombine now optimizes vector udiv by power of 2 to shiftsPete Cooper
2011-11-03build: Add initial cut at LLVMBuild.txt files.Daniel Dunbar
2011-11-01Make sure we use the right insertion point when instcombine replaces a PHI wi...Eli Friedman
2011-10-21Minor simplification: use ShuffleVectorInst::getMaskValue instead of a more e...Eli Friedman
2011-10-21Extend instcombine's shufflevector simplification to handle more cases where ...Eli Friedman
2011-10-17Add support for the Objective-C personality function to the instructionBill Wendling
2011-10-17Add a routine to swap branch instruction operands, and update anyChandler Carruth
2011-10-05Re-commit 141203, but much more conservative.Jim Grosbach
2011-10-05Revert 141203. InstCombine is looping on unit tests.Jim Grosbach
2011-10-05Update InstCombine worklist after instruction transform is complete.Jim Grosbach
2011-10-02Add a new icmp+select optz'n. Also shows off the load(cst) folding added inNick Lewycky
2011-10-02Enhance a couple places where we were doing constant folding of instructions,Nick Lewycky
2011-09-30Don't modify constant in-place.Jim Grosbach
2011-09-30float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach
2011-09-30Tidy up. Trailing whitespace.Jim Grosbach
2011-09-30Inlining often produces landingpad instructions with repeatedDuncan Sands
2011-09-29Clean up uses of switch instructions so they are not dependent on the operand...Eli Friedman
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-09-19Fix an infinite loop where a transform in InstCombiner::visitAnd claims a con...Eli Friedman
2011-09-15Make demanded-elt simplification for shufflevector slightly stronger. Spotte...Eli Friedman
2011-09-06Split the init.trampoline intrinsic, which currently combines GCC'sDuncan Sands
2011-09-04Use Duncan's patch to delete the instructions in reverse order (minus the lan...Bill Wendling
2011-09-02Update comments to reflect reality.Bill Wendling
2011-09-01Reduce indentation. No functionality change.Bill Wendling
2011-09-01Change worklist driven deletion to be an iterative process.Bill Wendling
2011-09-01Resubmit with fix. Properly remove the instructions except for landingpad, wh...Bill Wendling
2011-09-01Submitted this too early.Bill Wendling
2011-09-01Don't DCE the landingpad instruction.Bill Wendling
2011-08-29Fixes following the CR by Chris and Duncan:Nadav Rotem
2011-08-28Bitcasts are transitive. Bitcast-Bitcast-X becomes Bitcast-X.Nadav Rotem
2011-08-25When inserting new instructions, use getFirstInsertionPt instead ofBill Wendling
2011-08-17Revert r137655. There is some question about whether the 'landingpad'Bill Wendling
2011-08-16Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>'Bill Wendling
2011-08-16A few places where we want to skip the landingpad instruction for insertion.Bill Wendling
2011-08-15Don't sink the instruction to before a landingpad instruction.Bill Wendling
2011-08-15Update instcombine for atomic load/store.Eli Friedman
2011-08-15Duncan pointed out that the LandingPadInst might read memory. (It might alsoBill Wendling
2011-08-15Don't try to sink the landingpad instruction. It's immobile.Bill Wendling
2011-08-14This transform is not safe. Thanks to Eli for pointing that out!Nick Lewycky
2011-08-14Don't attempt to add 'nsw' when intermediate instructions had no such guarantee.Nick Lewycky
2011-08-14Teach instcombine to preserve the nsw bit by doing an after-the-fact analysisNick Lewycky
2011-08-03Small cleanups:Nick Lewycky
2011-08-03Fix logical error when detecting lifetime intrinsics.Nick Lewycky
2011-08-02Teach InstCombine that lifetime intrincs aren't a real user on the result of aNick Lewycky
2011-07-31Add the 'resume' instruction for the new EH rewrite.Bill Wendling
2011-07-31Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola
2011-07-30Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,Bill Wendling
2011-07-29Make sure to correctly clear the exact/nuw/nsw flags off of shifts when they ...Eli Friedman
2011-07-29Rewrite the CMake build to use explicit dependencies between libraries,Chandler Carruth