aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2009-07-03Convert the first batch of passes to use LLVMContext.Owen Anderson
2009-07-02fix inverted logic pointed out by John McCall, noticed by inspection.Chris Lattner
2009-07-02Fix a bunch of other places that used operator[] to test whetherDan Gohman
2009-07-01Request LCSSA after LoopSimplify. This fixes a problem in which theDan Gohman
2009-07-01Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.Dan Gohman
2009-06-27Don't try to split a loop when the controlling icmp instructionDan Gohman
2009-06-27More minor code simplifications.Dan Gohman
2009-06-27When a value is used multiple times within a single PHI, instructionsDan Gohman
2009-06-26Incorporate the insertion point into the key of SCEVExpander's CSE map.Dan Gohman
2009-06-26Constify this value.Owen Anderson
2009-06-26Fix linking of llvm-ld and lli with CMake, from Xerxes RÄnbyDouglas Gregor
2009-06-26Change this code to a form about which VC++ reportedly isn't unhappy.Dan Gohman
2009-06-26Minor code simplification.Dan Gohman
2009-06-25Reword a few comments.Dan Gohman
2009-06-24When inserting code into a loop preheader, insert it before theDan Gohman
2009-06-24Extend ScalarEvolution's multiple-exit support to compute exactDan Gohman
2009-06-24Don't emit a redundant BitCastInst if the value to be defined in theDan Gohman
2009-06-22Fix a few minor issues that were exposed by the removal of SCEVHandle.Dan Gohman
2009-06-22SCEVHandle is no more!Owen Anderson
2009-06-22Fix this code to correctly handle loops with multiple exits. UntilDan Gohman
2009-06-21Rename a variable for consistency with the ExitBlock vs ExitingBlockDan Gohman
2009-06-19Fix a typo in a comment that Frits von Bommel noticed.Dan Gohman
2009-06-19Re-apply r73718, now that the fix in r73787 is in, and add aDan Gohman
2009-06-19Fix LSR's OptimizeSMax to ignore max operators with more than 2 operands,Dan Gohman
2009-06-19Revert 73718. It's breaking 254.gap.Evan Cheng
2009-06-19make jump threading handle lexically identical compare instructionsChris Lattner
2009-06-19Teach jump threading to look at comparisons between phi nodes and non-constants.Nick Lewycky
2009-06-19Improve tail call elim to move loads above readonly callsChris Lattner
2009-06-19part of PR4405: disable a contentious optimization forChris Lattner
2009-06-18Generalize LSR's OptimizeSMax to handle unsigned max tests as wellDan Gohman
2009-06-18Revert IRBuilder CC propagation. Fix SimplifyLibCalls instead.Anton Korobeynikov
2009-06-18Remove the code from IVUsers that attempted to handleDan 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-17This fixes a bug introduced in 72661, which canDale Johannesen
2009-06-17Add debug message about non-local loads being clobbered.Torok Edwin
2009-06-17Update comments to use doxygen syntax.Dan 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-16Use Type::getScalarType.Dan Gohman
2009-06-15Support vector casts in more places, fixing a variety of assertionDan Gohman
2009-06-15Make the EnableLoadPRE variable static.Dan Gohman
2009-06-14Fix old-style type names in comments.Dan Gohman
2009-06-14Convert several parts of the ScalarEvolution framework to useDan Gohman
2009-06-14Add another item to the list of things that indvars does.Dan Gohman
2009-06-13Teach SCEVExpander's visitAddRecExpr to reuse an existing canonicalDan Gohman
2009-06-12second half of fix for PR4366: don't zap store to null of Chris Lattner
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