- Feb 27, 2003
-
-
Chris Lattner authored
* Remove bogus assertion: there may be a single outside predecessor and still need a new loop-preheader if the predecessor has multiple successors. See bug: LICM/2003-02-27-PreheaderProblem.ll llvm-svn: 5655
-
Chris Lattner authored
- Now we perform loop exit-block splitting to ensure exit blocks are always dominated by the loop header. - We now preserve dominance frontier information - This fixes bug: LICM/2003-02-26-LoopExitNotDominated.ll llvm-svn: 5652
-
- Feb 26, 2003
-
-
Chris Lattner authored
Convert to work with new AliasAnalysis interface by conservatively assuming all pointers are arbitrarily large accesses llvm-svn: 5636
-
- Feb 24, 2003
-
-
Chris Lattner authored
llvm-svn: 5620
-
Chris Lattner authored
llvm-svn: 5613
-
- Feb 23, 2003
-
-
Chris Lattner authored
a pass which wraps the function. This allows other passes to use the functionality llvm-svn: 5610
-
- Feb 18, 2003
-
-
Chris Lattner authored
* X*C + X --> X * (C+1) * X + X*C --> X * (C+1) * X - X*C --> X * (1-C) * X*C - X --> X * (C-1) llvm-svn: 5592
-
Chris Lattner authored
* A & ~A == 0 * A / (2^c) == A >> c if unsigned * 0 / A == 0 * 1.0 * A == A * A * (2^c) == A << c * A ^ ~A == -1 * A | ~A == -1 * 0 % X = 0 * A % (2^c) == A & (c-1) if unsigned * A - (A & B) == A & ~B * -1 - A == ~A llvm-svn: 5587
-
- Feb 01, 2003
-
-
Chris Lattner authored
llvm-svn: 5458
-
- Jan 23, 2003
-
-
Chris Lattner authored
llvm-svn: 5405
-
- Dec 15, 2002
-
-
Chris Lattner authored
rank map cache for instruction ranks llvm-svn: 5030
-
Chris Lattner authored
* Reword comment to make more clear * Don't print out BB's after modification made * Don't delete and new an instruction when we need to move something, just move it. llvm-svn: 5029
-
- Dec 07, 2002
-
-
Chris Lattner authored
llvm-svn: 4952
-
- Dec 05, 2002
-
-
Chris Lattner authored
llvm-svn: 4935
-
- Nov 20, 2002
-
-
Chris Lattner authored
wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
-
- Nov 09, 2002
-
-
Chris Lattner authored
llvm-svn: 4649
-
Chris Lattner authored
llvm-svn: 4645
-
- Nov 04, 2002
-
-
Chris Lattner authored
%A = getelementptr [4 x int]* %M, long 0, long 0 %B = getelementptr int* %A, long 2 llvm-svn: 4536
-
Chris Lattner authored
malloc Ty, C int malloc [C x Ty], 1 llvm-svn: 4534
-
Chris Lattner authored
llvm-svn: 4523
-
- Oct 31, 2002
-
-
Chris Lattner authored
Huge thanks go to Casey Carter for writing this fix, reassociate is now reoperational! llvm-svn: 4471
-
Chris Lattner authored
other dominance stuff. Patch contributed by Casey Carter llvm-svn: 4457
-
- Oct 30, 2002
-
-
Misha Brukman authored
llvm-svn: 4423
-
- Oct 21, 2002
-
-
Chris Lattner authored
setPreservesCFG to be less confusing. llvm-svn: 4255
-
- Oct 08, 2002
-
-
Chris Lattner authored
llvm-svn: 4081
-
Chris Lattner authored
powerful, but that are largely disabled. The basic idea here is that it is trying to forward branches across basic blocks that have PHI nodes in it, which are crucial to be able to handle cases like whet.ll. Unfortunately we are not updating SSA correctly, causing sim.c to die, and I don't have time to fix the regression now, so I must disable the functionality. llvm-svn: 4077
-
Chris Lattner authored
llvm-svn: 4075
-
Chris Lattner authored
llvm-svn: 4071
-
Chris Lattner authored
llvm-svn: 4070
-
- Oct 02, 2002
-
-
Chris Lattner authored
* Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
-
- Sep 30, 2002
-
-
Chris Lattner authored
llvm-svn: 3980
-
- Sep 29, 2002
-
-
Chris Lattner authored
rather than in random order. This causes LICM to be DRAMATICALLY more effective. For example, on bzip2.c, it is able to hoist 302 loads and 2380 total instructions, as opposed to 44/338 before. This obviously makes other transformations much more powerful as well! llvm-svn: 3978
-
Chris Lattner authored
llvm-svn: 3975
-
- Sep 26, 2002
-
-
Chris Lattner authored
- Do not clone instructions then insert clone outside of loop. Just move them. llvm-svn: 3951
-
Chris Lattner authored
llvm-svn: 3950
-
Chris Lattner authored
llvm-svn: 3947
-
Chris Lattner authored
llvm-svn: 3946
-
Chris Lattner authored
has not yet been removed. llvm-svn: 3945
-
Chris Lattner authored
- break-crit-edges pass does not invalidate loop-preheader pass. llvm-svn: 3944
-
Chris Lattner authored
llvm-svn: 3942
-