aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
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
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-12[asan] use .preinit_array only on linuxKostya Serebryany
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-09[asan] call __asan_init from .preinit_array. This simplifies __asan_init vs m...Kostya Serebryany
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