- Oct 19, 2009
-
-
Dan Gohman authored
to name basic blocks "bb" instead of "BB", for consistency. llvm-svn: 84502
-
- Oct 17, 2009
-
-
Chris Lattner authored
updating the callgraph when introducing a call. llvm-svn: 84310
-
Victor Hernandez authored
llvm-svn: 84299
-
- Oct 16, 2009
-
-
Duncan Sands authored
llvm-svn: 84256
-
- Oct 13, 2009
-
-
Ted Kremenek authored
llvm-svn: 84001
-
Dan Gohman authored
llvm-svn: 83999
-
Dan Gohman authored
for purposes other than inlining. llvm-svn: 83997
-
Chris Lattner authored
this will increase the likelihood of common code getting sunk towards the unwind. llvm-svn: 83996
-
- Oct 11, 2009
-
-
Chris Lattner authored
the IR, and to implement the FIXME'd optimization. llvm-svn: 83748
-
Chris Lattner authored
inserted only once, just use vector. Don't compute ExitBlocks unless we need it, change std::sort to array_pod_sort. llvm-svn: 83747
-
Chris Lattner authored
llvm-svn: 83745
-
Chris Lattner authored
PHI nodes inserted. llvm-svn: 83744
-
Chris Lattner authored
not just at the end. Add a big comment explaining when this could be useful (which never happens for jump threading). llvm-svn: 83741
-
Chris Lattner authored
what it does. llvm-svn: 83740
-
- Oct 10, 2009
-
-
Chris Lattner authored
llvm-svn: 83707
-
Chris Lattner authored
works on unstructured CFGs. This implements PR217, our oldest open PR. llvm-svn: 83705
-
Chris Lattner authored
llvm-svn: 83701
-
- Oct 09, 2009
-
-
Dale Johannesen authored
constants used in inlining heuristics (especially those used in more than one file). No functional change. llvm-svn: 83675
-
- Oct 07, 2009
-
-
Eric Christopher authored
not intrinsics. llvm-svn: 83441
-
Eric Christopher authored
for inlining. When MallocInst goes away this code will be subsumed as part of calls and work just fine... llvm-svn: 83434
-
- Oct 06, 2009
-
-
Duncan Sands authored
where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
-
- Oct 05, 2009
-
-
Dan Gohman authored
ConstantFoldLoadThroughGEPConstantExpr. llvm-svn: 83311
-
- Oct 04, 2009
-
-
Owen Anderson authored
Do away with the strange use of BitVectors in SSI, and just use normal sets. This makes the code much more C++/LLVM-ish. llvm-svn: 83286
-
Owen Anderson authored
llvm-svn: 83283
-
Owen Anderson authored
Similarly, it can be marked setPreservesAll, since it does no work in its runOnFunction. llvm-svn: 83282
-
- Sep 30, 2009
-
-
Dan Gohman authored
while calling changeImmediateDominator, which removes elements from the vector. This fixes PR5097. llvm-svn: 83166
-
- Sep 28, 2009
-
-
Dan Gohman authored
llvm-svn: 82991
-
Dan Gohman authored
llvm-svn: 82990
-
- Sep 27, 2009
-
-
Chris Lattner authored
llvm-svn: 82931
-
Nick Lewycky authored
update all the callers. llvm-svn: 82889
-
- Sep 24, 2009
-
-
Dale Johannesen authored
computation, and some cosmetics. llvm-svn: 82660
-
- Sep 22, 2009
-
-
Chris Lattner authored
llvm-svn: 82488
-
- Sep 19, 2009
-
-
Victor Hernandez authored
Reviewed by Dan Gohman. llvm-svn: 82300
-
- Sep 18, 2009
-
-
Victor Hernandez authored
Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257
-
- Sep 16, 2009
-
-
Andreas Neustifter authored
llvm-svn: 82034
-
- Sep 10, 2009
-
-
Nick Lewycky authored
used by a terminator in another. llvm-svn: 81437
-
Evan Cheng authored
llvm-svn: 81426
-
- Sep 09, 2009
-
-
Dan Gohman authored
loop exit edge -- new PHIs may be needed not only for the additional splits that are made to preserve LoopSimplify form, but also for the original split. Factor out the code that inserts new PHIs so that it can be used for both. Remove LoopRotation.cpp's code for manually updating LCSSA form, as it is now redundant. This fixes PR4934. llvm-svn: 81363
-
Andreas Neustifter authored
llvm-svn: 81360
-
- Sep 08, 2009
-
-
Dan Gohman authored
that get created during loop unswitching, and fix SplitBlockPredecessors' LCSSA updating code to create new PHIs instead of trying to just move existing ones. Also, optimize Loop::verifyLoop, since it gets called a lot. Use searches on a sorted list of blocks instead of calling the "contains" function, as is done in other places in the Loop class, since "contains" does a linear search. Also, don't call verifyLoop from LoopSimplify or LCSSA, as the PassManager is already calling verifyLoop as part of LoopInfo's verifyAnalysis. llvm-svn: 81221
-