aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-11-26Move code into anonymous namespaces.Benjamin Kramer
2011-11-20Refactor code to use new attribute getters on CallSite for NoCapture and ByVal.Nick Lewycky
2011-11-17Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman
2011-11-16Merge isObjectPointerWithTrustworthySize with getPointerSize. Use it whenNick Lewycky
2011-11-15Fix MSVC warnings by adding a cast. Nadav Rotem
2011-11-15StringRefize and simplify.Benjamin Kramer
2011-11-12Make sure scalarrepl picks the correct alloca when it rewrites a bitcast. Fi...Eli Friedman
2011-11-11Get rid of an optimization in SCCP which appears to have many issues. Specif...Eli Friedman
2011-11-10Fixed bug in DeadStoreElimination commit r144239Pete Cooper
2011-11-09DeadStoreElimination can now trim the size of a store if the end of the store...Pete Cooper
2011-11-08LICM pass now understands invariant load metadata. Nothing generates this ye...Pete Cooper
2011-11-05Do simple cross-block DSE when we encounter a free statement. Fixes PR11240.Nick Lewycky
2011-11-04Speculatively revert "DeadStoreElimination can now trim the size of a store ifDaniel Dunbar
2011-11-03build: Add initial cut at LLVMBuild.txt files.Daniel Dunbar
2011-11-03DeadStoreElimination can now trim the size of a store if the end of it is dead.Pete Cooper
2011-11-02Rewrite LinearFunctionTestReplace to handle pointer-type IVs.Andrew Trick
2011-11-02Add parentheses to disambiguate the precedence of these operations andChandler Carruth
2011-11-02Broaden an assert to handle enable-iv-rewrite=true following r143183.Andrew Trick
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-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-19Initialze ScalarEvalution dependency.Devang Patel
2011-10-17Teach the ARC optimizer about the !clang.arc.copy_on_escape metadataDan Gohman
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-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-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-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-01Inlining and unrolling heuristics should be aware of free truncs.Andrew Trick
2011-09-29Fold two identical set lookups into one. No functionality change.Nick Lewycky