aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-04-12Remove the unaligned load intrinsics in favor of using native unaligned loads.Bill Wendling
2011-04-12Fix reassociate to use a worklist instead of recursing when newDan Gohman
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-04-09fix PR9523, a crash in looprotate on a non-canonical loop made out of indirec...Chris Lattner
2011-04-09Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner
2011-04-07Expose more passes to the C API.Rafael Espindola
2011-04-07PR9634: Don't unconditionally tell the AliasSetTracker that the PreheaderLoadEli Friedman
2011-03-30* The DSE code that tested for overlapping needed to take into account the factBill Wendling
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad
2011-03-29DSE: Remove an early exit optimization that depended on the ordering of a Sma...Benjamin Kramer
2011-03-29Do some simple copy propagation through integer loads and stores when promotingCameron Zwarich
2011-03-26Simplification noticed by Frits.Bill Wendling
2011-03-26Rework the logic that determines if a store completely overlaps an ealier store.Bill Wendling
2011-03-26Fix a typo and add a test.Cameron Zwarich
2011-03-26PR9561: A store with a negative offset (via GEP) could erroniously say that itBill Wendling
2011-03-24Debug intrinsics must be skipped at the beginning and ends of blocks, lest theyCameron Zwarich
2011-03-24It is enough for the CallInst to have no uses to be made a tail call with a retCameron Zwarich
2011-03-24s/UpdateDT/ModifiedDT/gDevang Patel
2011-03-24Do early taildup of ret in CodeGenPrepare for potential tail calls that have aCameron Zwarich
2011-03-24Use an early return instead of a long if block.Cameron Zwarich
2011-03-24When UpdateDT is set, DT is invalid, which could cause problems when trying toCameron Zwarich
2011-03-24Check for TLI so that -codegenprepare can be used from opt.Cameron Zwarich
2011-03-23Fix PR9464 by correcting some math that just happened to be right in most casesCameron Zwarich
2011-03-21Re-apply r127953 with fixes: eliminate empty return block if it has no predec...Evan Cheng
2011-03-19Revert r127953, "SimplifyCFG has stopped duplicating returns into predecessorsDaniel Dunbar
2011-03-19SimplifyCFG has stopped duplicating returns into predecessors to canonicalize IREvan Cheng
2011-03-18Remove TargetData and ValueTracking includes. I didn't mean for them to sneak...Andrew Trick
2011-03-17Added isValidRewrite() to check the result of ScalarEvolutionExpander.Andrew Trick
2011-03-17whitespaceAndrew Trick
2011-03-16Fix a comment.Cameron Zwarich
2011-03-16Only convert allocas to scalars if it is profitable. The profitability metric ICameron Zwarich
2011-03-16Better use initializer lists.Cameron Zwarich
2011-03-16Add a clarifying comment.Cameron Zwarich
2011-03-14Added SCEV::NoWrapFlags to manage unsigned, signed, and self wrapAndrew Trick
2011-03-14whitespaceAndrew Trick
2011-03-11Roll r127459 back in:Cameron Zwarich
2011-03-11Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often getDaniel Dunbar
2011-03-11Optimize trivial branches in CodeGenPrepare, which often get created from theCameron Zwarich
2011-03-10RecursivelyDeleteTriviallyDeadInstructions only needs aDan Gohman
2011-03-10Fix reassociate to postpone certain instruction deletions untilDan Gohman
2011-03-09Preserve line number information while simplifying libcalls.Devang Patel
2011-03-09Fix a crasher introduced by r127317 that is seen on the bots when using anCameron Zwarich
2011-03-09Add support to scalar replacement for partial vector accesses of an alloca, e.g.Cameron Zwarich
2011-03-09Move vector type merging to a separate function in preparation for it gettingCameron Zwarich
2011-03-08While sinking an instruction, do not lose llvm.dbg.value intrinsic.Devang Patel
2011-03-07Preserve line no. info.Devang Patel
2011-03-05Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reducesCameron Zwarich
2011-03-03Fix typo in comment.Richard Osborne
2011-03-03Optimize fprintf -> iprintf if there are no floating point argumentsRichard Osborne