aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2011-10-29SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer
2011-10-28LFTR should avoid a type mismatch with null pointer IVs.Andrew Trick
2011-10-27It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't...Eli Friedman
2011-10-24A dead malloc, a free(NULL) and a free(undef) are all trivially deadNick Lewycky
2011-10-23The element insertion code in scalar replacement doesn't handle incorrectCameron Zwarich
2011-10-22A non-escaping malloc in the entry block is not unlike an alloca. Do dead-storeNick Lewycky
2011-10-21Remap blockaddress correctly when inlining a function. Fixes PR10162.Eli Friedman
2011-10-21Minor simplification: use ShuffleVectorInst::getMaskValue instead of a more e...Eli Friedman
2011-10-21Extend instcombine's shufflevector simplification to handle more cases where ...Eli Friedman
2011-10-20Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman
2011-10-19Initialze ScalarEvalution dependency.Devang Patel
2011-10-17Teach the ARC optimizer about the !clang.arc.copy_on_escape metadataDan Gohman
2011-10-17Add support for the Objective-C personality function to the instructionBill Wendling
2011-10-17Suppress partial retain+release elimination when there's aDan Gohman
2011-10-17Correct over-zealous removal of hack.Bill Wendling
2011-10-17Now that we have the ReturnsTwice function attribute, this method isBill Wendling
2011-10-17Fix CMake build.Michael J. Spencer
2011-10-17svn mv Target/ARM/ARMGlobalMerge.cpp Transforms/Scalar/GlobalMerge.cppDevang Patel
2011-10-17Add a routine to swap branch instruction operands, and update anyChandler Carruth
2011-10-16Add a proper LLVM banner to this file.Chandler Carruth
2011-10-16When looking for dependencies on the src pointer, scan the src pointer. ScanningNick Lewycky
2011-10-15Don't replace all dominated uses if there is only one use, since thatDuncan Sands
2011-10-15Fix indvars randomness by removing iteration over a map.Andrew Trick
2011-10-13Avoid undefined behavior in negation in LSR. Patch by Ahmed Charles.Eli Friedman
2011-10-13Enhance the memdep interface so that users can tell the difference between a ...Eli Friedman
2011-10-12Fix a couple hash functions so that they do not depend on undefined shifts. ...Eli Friedman
2011-10-12Add missing space.Nick Lewycky
2011-10-11Fix PR11106 by correcting a typo that has been in the code for over a year. ThisCameron Zwarich
2011-10-11Remove a lot of the fancy scalar replacement code for dealing with llvm-gcc'sCameron Zwarich
2011-10-11Add experimental -enable-lsr-phielim option.Andrew Trick
2011-10-11Move replaceCongruentIVs into SCEVExapander and bias toward "expanded"Andrew Trick
2011-10-10Add a natural stack alignment field to TargetData, and prevent InstCombine fromLang Hames
2011-10-07LSR should only reuse phis that match its formula.Andrew Trick
2011-10-07Teach GVN to also propagate switch cases. For example, in this codeDuncan Sands
2011-10-06Remove the old atomic instrinsics. autoupgrade functionality is included wit...Eli Friedman
2011-10-05PR11061: Make simplifylibcalls fold strcmp("", x) correctly.Eli Friedman
2011-10-05Re-commit 141203, but much more conservative.Jim Grosbach
2011-10-05Revert 141203. InstCombine is looping on unit tests.Jim Grosbach
2011-10-05Update InstCombine worklist after instruction transform is complete.Jim Grosbach
2011-10-05GVN does simple propagation of conditions: when it sees a conditionalDuncan Sands
2011-10-05Generalize GVN's conditional propagation logic slightly:Duncan Sands
2011-10-04LSR should avoid redundant edge splitting.Andrew Trick
2011-10-04whitespaceAndrew Trick
2011-10-02Add a new icmp+select optz'n. Also shows off the load(cst) folding added inNick Lewycky
2011-10-02Enhance a couple places where we were doing constant folding of instructions,Nick Lewycky
2011-10-01Inlining and unrolling heuristics should be aware of free truncs.Andrew Trick
2011-10-01whitespaceAndrew Trick
2011-09-30Don't modify constant in-place.Jim Grosbach
2011-09-30float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach
2011-09-30Tidy up. Trailing whitespace.Jim Grosbach