aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2012-01-07LSR: run DeleteDeadPhis before replaceCongruentPhis.Andrew Trick
2012-01-07Extended replaceCongruentPhis to handle mixed phi types.Andrew Trick
2012-01-06[asan] cleanup: remove the SIGILL-related code (compiler part)Kostya Serebryany
2012-01-05Fix SpeculativelyExecuteBB to either speculate all or none of the phisDan Gohman
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2012-01-05Revert r56315. When the instruction to speculate is a load, thisDan Gohman
2012-01-05SCCCaptured is trivially false on entry to this loop and not modified inside it.Nick Lewycky
2012-01-04Remove pointless asserts.Nick Lewycky
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-28Change CaptureTracking to pass a Use* instead of a Value* when a value isNick Lewycky
2011-12-28Demystify this comment.Nick Lewycky
2011-12-27Use false not zero, as a bool.Nick Lewycky
2011-12-27Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky
2011-12-27Teach simplifycfg to recompute branch weights when merging some branches, andNick Lewycky
2011-12-26Fix warning.Rafael Espindola
2011-12-26Update the branch weight metadata when reversing the order of a branch.Nick Lewycky
2011-12-26Sort includes, canonicalize whitespace, fix typos. No functionality change.Nick Lewycky
2011-12-24InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer
2011-12-24InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer
2011-12-23Fix typo "infinte".Nick Lewycky
2011-12-23When not destroying the source, the linker is not remapping the types. Added ...Mon P Wang
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-21Make some intrinsics safe to speculatively execute.Nick Lewycky
2011-12-20Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_...David Blaikie
2011-12-18- Use getExitingBlock instead of getExitingBlocks.Jakub Staszak
2011-12-17Revert r146822 at Pete Cooper's request as it broke clang self hosting.Kevin Enderby
2011-12-17SimplifyCFG now predicts some conditional branches to true or false depending...Pete Cooper
2011-12-17Refactor code used in InstCombine::FoldAndOfICmps to new file.Pete Cooper
2011-12-17The powers that be have decided that LLVM IR should now support 16-bitDan Gohman
2011-12-16Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.Andrew Trick
2011-12-15[asan] add the name of the module to the description of a global variable. Th...Kostya Serebryany
2011-12-15[asan] fix a bug (issue 19) where dlclose and the following mmap caused a fal...Kostya Serebryany
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-12-15Make loop preheader insertion in LoopSimplify handle the case where the loop ...Eli Friedman
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-14[asan] remove .preinit_array from the compiler module (it breaks .so builds)....Kostya Serebryany
2011-12-13[asan] report an error if blacklist file contains a malformed regex. fixes as...Kostya Serebryany
2011-12-13Cleanup. Clarify LSRInstance public methods.Andrew Trick
2011-12-12Indvars: guard against exponential behavior in isHighCostExpansion.Andrew Trick
2011-12-12LLVMBuild: Introduce a common section which currently has a list of theDaniel Dunbar
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