- Nov 01, 2009
-
-
Chris Lattner authored
llvm-svn: 85725
-
Douglas Gregor authored
llvm-svn: 85717
-
Dan Gohman authored
#include dependency, as frontends commonly pull in PassManager.h. llvm-svn: 85714
-
Chris Lattner authored
in a way that should prevent ip constprop. This allows clang/test/CodeGen/indirect-goto.c to pass with the new indirect goto lowering. llvm-svn: 85709
-
Chris Lattner authored
when BB2 has its address taken. Since it ends up doing BB2->rauw(BB1), this can cause the address of the entry block to be taken. Since it is generally undesirable to nuke blocks whose address is taken, even when we can, just unconditionally stop this xform. llvm-svn: 85708
-
Chris Lattner authored
ended in an uncond branch because the pass requires BreakCriticalEdges. However, BCE doesn't eliminate critical adges from indbrs. llvm-svn: 85707
-
Chris Lattner authored
This prevents unswitching from duplicating indbr's. llvm-svn: 85705
-
Chris Lattner authored
llvm-svn: 85704
-
Chris Lattner authored
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it for simplicity. llvm-svn: 85699
-
- Oct 31, 2009
-
-
Chris Lattner authored
llvm-svn: 85692
-
Chris Lattner authored
Fix CodeGenPrepare to not try to split edges from indirectbr. llvm-svn: 85690
-
Chris Lattner authored
it abort on IndirectBrInst as describe in the comment. llvm-svn: 85688
-
Chris Lattner authored
llvm-svn: 85680
-
Chris Lattner authored
llvm-svn: 85671
-
Dan Gohman authored
auto-update the DominatorTree because it doesn't keep the DominatorTree current while it works. llvm-svn: 85670
-
Dan Gohman authored
llvm-svn: 85668
-
Dan Gohman authored
MergeBlockIntoPredecessor. This makes SimplifyCFG slightly more aggressive, and makes it unnecessary for LoopUnroll to have its own copy of this code. llvm-svn: 85667
-
Dan Gohman authored
clears out more information than just the stored backedge taken count. llvm-svn: 85664
-
Dan Gohman authored
the new common CodeMetrics code. llvm-svn: 85663
-
Dan Gohman authored
llvm-svn: 85662
-
Dan Gohman authored
llvm-svn: 85661
-
Dan Gohman authored
llvm-svn: 85660
-
Dan Gohman authored
LoopUnrollPass.cpp, for consistency with other passes which are similarly split. llvm-svn: 85659
-
Dan Gohman authored
to unfold loop-invariant loads. llvm-svn: 85657
-
Dan Gohman authored
llvm-svn: 85655
-
Evan Cheng authored
llvm-svn: 85641
-
Dan Gohman authored
llvm-svn: 85635
-
Dan Gohman authored
PHI operands by the predecessor order, sort them by the order used by the first PHI in the block. This is still suffucient to expose duplicates. llvm-svn: 85634
-
- Oct 30, 2009
-
-
Dan Gohman authored
This reduces codesize on a variety of codes by 1-2% on x86-64. It also helps clean up after SSAUpdater. llvm-svn: 85626
-
Dan Gohman authored
This helps expose duplicate PHIs, which will make it easier for them to be eliminated. llvm-svn: 85623
-
Evan Cheng authored
llvm-svn: 85609
-
- Oct 29, 2009
-
-
Nick Lewycky authored
llvm-svn: 85498
-
Chris Lattner authored
static constructors with indirect gotos :) llvm-svn: 85495
-
Chris Lattner authored
crash on any clang tests. llvm-svn: 85465
-
Chris Lattner authored
llvm-svn: 85458
-
Chris Lattner authored
llvm-svn: 85457
-
- Oct 28, 2009
-
-
Victor Hernandez authored
ArraySize * ElementSize ElementSize * ArraySize ArraySize << log2(ElementSize) ElementSize << log2(ArraySize) Refactor isArrayMallocHelper and delete isSafeToGetMallocArraySize, so that there is only 1 copy of the malloc array determining logic. Update users of getMallocArraySize() to not bother calling isArrayMalloc() as well. llvm-svn: 85421
-
Devang Patel authored
llvm-svn: 85402
-
Edward O'Callaghan authored
llvm-svn: 85390
-
Benjamin Kramer authored
llvm-svn: 85389
-