aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-12-27Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky
2011-12-26Fix warning.Rafael Espindola
2011-12-23Fix typo "infinte".Nick Lewycky
2011-12-22Add the actual code for r147175.Chad Rosier
2011-12-22Speculatively revert r146578 to determine if it is the cause of a number ofChad Rosier
2011-12-21Fix a copy+pasto. No testcase, because the symptoms of dereferencingDan Gohman
2011-12-14Move Instruction::isSafeToSpeculativelyExecute out of VMCore andDan Gohman
2011-12-14Fix for bug #11429: Wrong behaviour for switches. Small improvement for code ...Stepan Dyatkovskiy
2011-12-14It turns out that clang does use pointer-to-function types toDan Gohman
2011-12-13Cleanup. Clarify LSRInstance public methods.Andrew Trick
2011-12-12Indvars: guard against exponential behavior in isHighCostExpansion.Andrew Trick
2011-12-12Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger
2011-12-12LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar
2011-12-12When computing reverse-CFG reverse-post-order, skip backedges, asDan Gohman
2011-12-12Add a TODO comment.Dan Gohman
2011-12-12Fix a copy+pasto in a comment.Dan Gohman
2011-12-12Use getArgOperand instead of getOperand on a call.Dan Gohman
2011-12-12Inline SetSeqToRelease into its only caller, since it's more clear that way.Dan Gohman
2011-12-12Fix omitted break statements in a switch.Dan Gohman
2011-12-12Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth
2011-12-10LSR: ignore strides in outer loops.Andrew Trick
2011-12-09SplitBlockPredecessors uses ArrayRef instead of Data and Size.Jakub Staszak
2011-12-09Add -unroll-runtime for unrolling loops with run-time trip counts.Andrew Trick
2011-12-08Fix infinite loop in DSE when deleting a free in a reachable loop that's alsoNick Lewycky
2011-12-06Push StringRefs through the metadata interface.Benjamin Kramer
2011-12-06LSR: prune undesirable formulae early.Andrew Trick
2011-12-05Update comment.Chad Rosier
2011-12-05Make the MemCpyOptimizer a bit more aggressive. I can't think of a scenerioChad Rosier
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-12-03Fixed deadstoreelimination bug where negative indices were incorrectly causin...Pete Cooper
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-12-01Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetDataChad Rosier
2011-12-01Propagate TargetLibraryInfo throughout ConstantFolding.cpp and Chad Rosier
2011-11-30Make GlobalMerge honor the preferred alignment on globals without an explicit...Eli Friedman
2011-11-29Potential bug in RewriteLoopBodyWithConditionConstant: use iterator should no...Stepan Dyatkovskiy
2011-11-29build/CMake: Finish removal of add_llvm_library_dependencies.Daniel Dunbar
2011-11-29SCEV fix. In general, Add/Mul expressions should not inherit NSW/NUW.Andrew Trick
2011-11-28Remove the temporary flag -disable-unroll-scev and dead code.Andrew Trick
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