aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2010-03-06Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher
2010-03-05Move SimplifyLibCalls's LibCall builders to a separate file so theyEric Christopher
2010-03-05Safely turn memset_chk etc. to non-chk variant if the known object size is >=...Evan Cheng
2010-03-05fix a nice subtle reassociate bug which would only occurChris Lattner
2010-03-05Move GetStringLength and helper from SimplifyLibCalls to ValueTracking.Eric Christopher
2010-03-03Make SCEVExpander and LSR more aggressive about hoisting expressions outDan Gohman
2010-03-02Non-affine post-inc SCEV expansions have more code which must beDan Gohman
2010-03-02Don't attempt load PRE when there is no real redundancy (i.e., the load is inBob Wilson
2010-03-01When GVN needs to split critical edges for load PRE, check all of theBob Wilson
2010-03-01MemoryDepAnalysis is not used if redundant load processing is disabled.Evan Cheng
2010-03-01Spelling fixes.Dan Gohman
2010-02-28Revert r97245 which seems to be causing performance problems.Bob Wilson
2010-02-27fix grammaro's pointed out by danielChris Lattner
2010-02-27fix PR6414, a nondeterminism issue in IPSCCP which was becauseChris Lattner
2010-02-26Move the EnableFullLoadPRE flag from a separate command-line option to anBob Wilson
2010-02-26Remove unused "NoPRE" parameter in GVN and createGVNPass().Bob Wilson
2010-02-25Make LoopSimplify change conditional branches in loop exiting blocksDan Gohman
2010-02-24Reapply r97010, the speculative revert failed.Daniel Dunbar
2010-02-24Speculatively revert r97010, "Add an argument to PHITranslateValue to specifyDaniel Dunbar
2010-02-24Add an argument to PHITranslateValue to specify the DominatorTree. If thisBob Wilson
2010-02-23Update memdep when load PRE inserts a new load, and add some debug output.Bob Wilson
2010-02-22Erase deleted instructions from GVN's ValueTable. This fixes assertionBob Wilson
2010-02-22Remove unused variables and parameters.Dan Gohman
2010-02-22When emitting an instruction which depends on both a post-incrementedDan Gohman
2010-02-22This cast<Instruction> is unnecessary.Dan Gohman
2010-02-19Rename getSDiv to getExactSDiv to reflect its behavior in cases whereDan Gohman
2010-02-19Check for overflow when scaling up an add or an addrec forDan Gohman
2010-02-19recommit 96626, evidence that it broke things appearsDale Johannesen
2010-02-19Revert 96626, which causes build failure on ppc Darwin.Dale Johannesen
2010-02-19When determining the set of interesting reuse factors, considerDan Gohman
2010-02-18Indvars needs to explicitly notify ScalarEvolution when it is replacingDan Gohman
2010-02-18Hoist this loop-invariant logic out of the loop.Dan Gohman
2010-02-17Delete some unneeded casts.Dan Gohman
2010-02-17Don't attempt to divide INT_MIN by -1; consider such cases toDan Gohman
2010-02-16Rename SuccessorNumber to GetSuccessorNumber.Bob Wilson
2010-02-16Refactor rewriting for PHI nodes into a separate function.Dan Gohman
2010-02-16Split critical edges as needed for load PRE.Bob Wilson
2010-02-16Refactor to share code to find the position of a basic block successor in theBob Wilson
2010-02-16Fix whitespace.Dan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-16Split the main for-each-use loop again, this time for GenerateTruncates,Dan Gohman
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-02-14Fix whitespace.Dan Gohman
2010-02-14Fix a comment.Dan Gohman
2010-02-14When complicated expressions are broken down into subexpressionsDan Gohman
2010-02-14Actually, this code doesn't have to be quite so conservative inDan Gohman
2010-02-14Don't attempt aggressive post-inc uses if TargetLowering is not available,Dan Gohman
2010-02-13Make LSR not crash if invoked without target lowering info, e.g. if invokedJohn McCall
2010-02-13remove dead code.Chris Lattner
2010-02-13Split some code out to a helper function (FindReusablePredBB)Chris Lattner