aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
AgeCommit message (Expand)Author
2009-07-15Don't restrict the set of instructions where we try to constant-fold the Eli Friedman
2009-07-14Move EVER MORE stuff over to LLVMContext.Owen Anderson
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-14Fix trivial todo in instcombine.Eli Friedman
2009-07-13PR4548: optimize zext+udiv+trunc to udiv.Eli Friedman
2009-07-13Canonicalize boolean +/- a constant to a select.Eli Friedman
2009-07-13These don't really need contexts either.Owen Anderson
2009-07-13Misc simplifications to InstCombiner::commonIntCastTransforms. Most of Eli Friedman
2009-07-13Fix comment.Eli Friedman
2009-07-13Move more functionality over to LLVMContext.Owen Anderson
2009-07-13Don't bother to call commonIntCastTransforms for bitcasts; int->int Eli Friedman
2009-07-13Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson
2009-07-12Remove check which is duplicated in Eli Friedman
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-11Convert more assert(0)+abort() -> LLVM_UNREACHABLE,Torok Edwin
2009-07-10Push LLVMContext through the PatternMatch API.Owen Anderson
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson
2009-07-09A little bit more LLVMContextification.Owen Anderson
2009-07-06"LLVMContext* " --> "LLVMContext *"Owen Anderson
2009-07-06Thread LLVMContext through the constant folding APIs, which touches a lot of ...Owen Anderson
2009-07-03Convert the first batch of passes to use LLVMContext.Owen Anderson
2009-07-01Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.Dan Gohman
2009-06-18Generalize the zext(trunc(t) & C) instcombine to work even withDan Gohman
2009-06-17Instcombine zext(trunc(x) & mask) to x&mask, even if the trunc hasDan Gohman
2009-06-17PR3439: Correct a silly mistake in the SimplifyDemandedUseBits code for Eli Friedman
2009-06-16Generalize a few more instcombines to be vector/scalar-independent.Dan Gohman
2009-06-16Generalize instcombine's isSafeToLoadUnconditionally() functionChris Lattner
2009-06-15Support vector casts in more places, fixing a variety of assertionDan Gohman
2009-06-14Fix old-style type names in comments.Dan Gohman
2009-06-12Don't do (x - (y - z)) --> (x + (z - y)) on floating-point types, becauseDan Gohman
2009-06-11Fix 4366: store to null in non-default addr space should not beChris Lattner
2009-06-06PR4340: Run SimplifyDemandedVectorElts on insertelement instructions; Eli Friedman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-06-04Don't do the X * 0.0 -> 0.0 transformation in instcombine, becauseDan Gohman
2009-05-22Fix bug in FoldFCmp_IntToFP_Cst. If inttofp is a uintofp, use unsigned instea...Evan Cheng
2009-05-21Teach ValueTracking a new way to analyze PHI nodes, and and teachDan Gohman
2009-05-13calls in nothrow functions can be marked nothrow even if the calleeChris Lattner
2009-05-09Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands
2009-05-08This transform requires valid TargetData info. Wrap it in 'if (TD)' inNick Lewycky
2009-05-07Perform constant folding on operands of instructions with non-voidDan Gohman
2009-05-06Allow readonly functions to unwind exceptions. TeachDuncan Sands
2009-04-25Return null instead of false, as appropriate.Dan Gohman
2009-04-25Add several more icmp simplifications. Transform signed comparisonsDan Gohman
2009-04-24Allow i16 type indices to gep.Sanjiv Gupta
2009-04-20Before trying to introduce/eliminate cast/ext/trunc to make indices type asSanjiv Gupta
2009-04-08Instcombine should not promote whole computation trees to "strange"Chris Lattner
2009-04-07fix rdar://6762290, a crash compiling cxx filt with clang.Chris Lattner
2009-03-31Throttle back "fold select into operand" transformation. InstCombine should n...Evan Cheng
2009-03-25Fix PR3874 by restoring a condition I removed, but making it moreChris Lattner
2009-03-24oops, I intended to remove this, not comment it out. Thanks Duncan!Chris Lattner