- May 04, 2009
-
-
Chris Lattner authored
ThreadEdge directly. This shares the code, but is just a refactoring. * Make JumpThreading compute the set of loop headers and avoid threading across them. This prevents jump threading from forming irreducible loops (goodness) but also prevents it from threading in other cases that are beneficial (see the comment above FindFunctionBackedges). llvm-svn: 70820
-
Chris Lattner authored
FindFunctionBackedges function. llvm-svn: 70819
-
- May 03, 2009
-
-
Dan Gohman authored
llvm-svn: 70661
-
Nick Lewycky authored
them to bool. llvm-svn: 70653
-
- May 02, 2009
-
-
Dan Gohman authored
makes ScalarEvolution::deleteValueFromRecords, and it's code that subtly needed to be called before ReplaceAllUsesWith, unnecessary. It also makes ValueDeletionListener unnecessary. llvm-svn: 70645
-
Dan Gohman authored
a default value, and will hopefully be going away soon. llvm-svn: 70642
-
Dan Gohman authored
of returning a list of pointers to Values that are deleted. This was unsafe, because the pointers in the list are, by nature of what RecursivelyDeleteDeadInstructions does, always dangling. Replace this with a simple callback mechanism. This may eventually be removed if all clients can reasonably be expected to use CallbackVH. Use this to factor out the dead-phi-cycle-elimination code from LSR utility function, and generalize it to use the RecursivelyDeleteTriviallyDeadInstructions utility function. This makes LSR more aggressive about eliminating dead PHI cycles; adjust tests to either be less trivial or to simply expect fewer instructions. llvm-svn: 70636
-
Dan Gohman authored
deleting it. This will let ScalarEvolution be more complete about updating its records. llvm-svn: 70632
-
Nick Lewycky authored
llvm-svn: 70630
-
Dan Gohman authored
of LSR. This makes the AddUsersIfInteresting phase of LSR a pure analysis instead of a phase that potentially does CFG modifications. The conditions where this code would actually perform a split are rare, and in the cases where it actually would do a split the split is usually undone by CodeGenPrepare, and in cases where splits actually survive into codegen, they appear to hurt more often than they help. llvm-svn: 70625
-
- May 01, 2009
-
-
Dan Gohman authored
target hooks canLosslesslyBitCastTo and isTruncateFree. This allows targets to avoid worrying about handling all combinations of integer and pointer types. llvm-svn: 70555
-
Dan Gohman authored
llvm-svn: 70551
-
Dan Gohman authored
llvm-svn: 70546
-
- Apr 30, 2009
-
-
Dale Johannesen authored
llvm-svn: 70427
-
Dan Gohman authored
llvm-svn: 70416
-
- Apr 28, 2009
-
-
Dan Gohman authored
llvm-svn: 70262
-
- Apr 27, 2009
-
-
Dale Johannesen authored
llvm-svn: 70247
-
Dan Gohman authored
between the comparison's iv stride and the candidate stride is exactly -1. llvm-svn: 70244
-
- Apr 25, 2009
-
-
Dan Gohman authored
llvm-svn: 70054
-
Dan Gohman authored
into unsigned ones when the operands are known to have the same sign bit value. llvm-svn: 70053
-
- Apr 24, 2009
-
-
Sanjiv Gupta authored
llvm-svn: 69946
-
- Apr 23, 2009
-
-
Dan Gohman authored
with the persistent insertion point, and change IndVars to make use of it. This fixes a bug where IndVars was holding on to a stale insertion point and forcing the SCEVExpander to continue to use it. This fixes PR4038. llvm-svn: 69892
-
Evan Cheng authored
llvm-svn: 69844
-
Evan Cheng authored
llvm-svn: 69842
-
Evan Cheng authored
llvm-svn: 69836
-
- Apr 22, 2009
-
-
Owen Anderson authored
Real fix for PR3549, by using caching for predecessor counts in addition to the predecessors themselves. This halves the time to optimize the testcase, beyond what my previous patch did. llvm-svn: 69792
-
Owen Anderson authored
Use PredIteratorCache in LCSSA, which gives a 37% overall speedup on the testcase from PR3549. More improvements to come. llvm-svn: 69788
-
Chris Lattner authored
llvm-svn: 69752
-
- Apr 21, 2009
-
-
-
Dan Gohman authored
and SCEVSignExtendExpr. llvm-svn: 69649
-
Dan Gohman authored
the code to minimize dependencies on TargetData. llvm-svn: 69644
-
Dale Johannesen authored
GEP's don't usually become instructions. llvm-svn: 69631
-
- Apr 20, 2009
-
-
Sanjiv Gupta authored
pointer type, make sure that the pointer size is a valid sequential index type. llvm-svn: 69574
-
- Apr 18, 2009
-
-
Dan Gohman authored
llvm-svn: 69450
-
Jim Grosbach authored
llvm-svn: 69402
-
- Apr 17, 2009
-
-
David Greene authored
Use a safer iterator interface and get rid of std C++ library misuse. This fixes a --enable-expensive-checks problem. llvm-svn: 69353
-
Dan Gohman authored
regression in 403.gcc in PIC_CODEGEN=1 and DISABLE_LTO=1 mode. llvm-svn: 69344
-
Dan Gohman authored
to get the correct answer for pointer types. llvm-svn: 69321
-
- Apr 16, 2009
-
-
Eli Friedman authored
incoming edges for a block with many predecessors. llvm-svn: 69312
-
Dan Gohman authored
targets with pointers larger than 64 bits, due to the code not yet being APInt clean. llvm-svn: 69296
-