aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
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
2011-03-03Optimize sprintf -> siprintf if there are no floating point argumentsRichard Osborne
2011-03-03Optimize printf -> iprintf if there are no floating point argumentsRichard Osborne
2011-03-02Remove some more unused code that I missed.Cameron Zwarich
2011-03-02Eliminate the unused CodeGenPrepare option to split critical edges.Cameron Zwarich
2011-03-01Stop computing the number of uses twice per value in CodeGenPrepare's sinking ofCameron Zwarich
2011-02-28Unbreak CMake build.Ted Kremenek
2011-02-28update cmakeChris Lattner
2011-02-28Delete the GEPSplitter experiment.Dan Gohman
2011-02-28Delete the SimplifyHalfPowrLibCalls pass, which was unused, andDan Gohman
2011-02-24wire TargetLibraryInfo into simplify libcalls and use it in a couple ofChris Lattner
2011-02-24move a massive amount of code out into its own helper functionChris Lattner