- Oct 25, 2009
-
-
Nick Lewycky authored
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
-
Dan Gohman authored
llvm-svn: 85020
-
- Oct 24, 2009
-
-
Victor Hernandez authored
Update all analysis passes and transforms to treat free calls just like FreeInst. Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised. llvm-svn: 84987
-
- Oct 20, 2009
-
-
Chris Lattner authored
llvm-svn: 84667
-
Torok Edwin authored
When an incoming value for a PHI is updated, we must also updated all other incoming values for the same BB to match, otherwise we create invalid PHIs. llvm-svn: 84638
-
- Oct 19, 2009
-
-
Dan Gohman authored
where a loop's header is being split and it has predecessors which are not contained by the most-nested loop which contains the loop. This fixes PR5235. llvm-svn: 84505
-
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
-