- Jun 19, 2007
-
-
Dan Gohman authored
deleteValueFromRecords and loosen the types to all it to accept Value* instead of just Instruction*, since this is what ScalarEvolution uses internally anyway. This allows more flexibility for future uses. llvm-svn: 37657
-
Owen Anderson authored
Handle constants in phi nodes properly. This fixes test/Transforms/GVNPRE/2007-06-18-ConstantInPhi.ll llvm-svn: 37655
-
Chris Lattner authored
llvm-svn: 37649
-
Owen Anderson authored
Be careful to erase values from all of the appropriate sets when they're not needed anymore. This fixes a few more memory-related issues. llvm-svn: 37647
-
Owen Anderson authored
Thanks to Nicholas for valgrinding this. llvm-svn: 37646
-
Owen Anderson authored
Refactor GVNPRE to use a much smart method of uniquing value sets, and centralize a lot of the value numbering information. No functionality change. llvm-svn: 37645
-
- Jun 18, 2007
-
-
Owen Anderson authored
llvm-svn: 37622
-
Owen Anderson authored
llvm-svn: 37621
-
Owen Anderson authored
llvm-svn: 37620
-
- Jun 16, 2007
-
-
Owen Anderson authored
Fix test/Transforms/GVNPRE/2007-06-15-InvokeInst.ll by ignoring all instructions that depend on invokes. llvm-svn: 37610
-
- Jun 15, 2007
-
-
Dan Gohman authored
integer constant SCEV. llvm-svn: 37596
-
Owen Anderson authored
llvm-svn: 37595
-
Dan Gohman authored
This created an ambiguity for expandInTy to decide when to use sign-extension or zero-extension, but it turns out that most of its callers don't actually need a type conversion, now that LLVM types don't have explicit signedness. Drop expandInTy in favor of plain expand, and change the few places that actually need a type conversion to do it themselves. llvm-svn: 37591
-
Chris Lattner authored
integer ops. This implements Transforms/InstCombine/and-or-not.ll test3/test4, and finishes off PR1510 llvm-svn: 37589
-
Chris Lattner authored
1. ~(~X | Y) === (X & ~Y) 2. (A|B) & ~(A&B) -> A^B This allows us to transform ~(~(a|b) | (a&b)) -> a^b. This implements PR1510 for scalar values. llvm-svn: 37584
-
Chris Lattner authored
operations from Duraids example. llvm-svn: 37582
-
- Jun 13, 2007
-
-
Owen Anderson authored
llvm-svn: 37564
-
- Jun 12, 2007
-
-
Owen Anderson authored
Refactor some code, and fix test/Transforms/GVNPRE/2007-06-12-NoExit.ll by being more careful when using post-dominator information. llvm-svn: 37556
-
Dale Johannesen authored
llvm-svn: 37554
-
Owen Anderson authored
Fix a few more bugs, including an instance of walking in reverse topological rather than topological order. This fixes a testcase extracted from llvm-test. llvm-svn: 37550
-
- Jun 11, 2007
-
-
Owen Anderson authored
llvm-svn: 37539
-
- Jun 09, 2007
-
-
Owen Anderson authored
llvm-svn: 37536
-
Owen Anderson authored
llvm-svn: 37530
-
- Jun 08, 2007
-
-
Owen Anderson authored
llvm-svn: 37526
-
Owen Anderson authored
With this patch, GVN-PRE now correctly optimizes the example from the thesis. Many thanks to Daniel Berlin for helping me find errors in this. llvm-svn: 37525
-
Owen Anderson authored
llvm-svn: 37513
-
Owen Anderson authored
llvm-svn: 37510
-
Devang Patel authored
llvm-svn: 37502
-
- Jun 07, 2007
-
-
Devang Patel authored
This allows faster immediate domiantor walk. llvm-svn: 37500
-
Devang Patel authored
llvm-svn: 37499
-
Devang Patel authored
llvm-svn: 37498
-
Devang Patel authored
llvm-svn: 37495
-
Devang Patel authored
llvm-svn: 37494
-
- Jun 06, 2007
-
-
Lauro Ramos Venancio authored
llvm-svn: 37472
-
Nick Lewycky authored
This is the obviously correct part of the fix for PR1487. llvm-svn: 37457
-
Owen Anderson authored
llvm-svn: 37455
-
Chris Lattner authored
llvm-svn: 37454
-
Devang Patel authored
llvm-svn: 37446
-
Owen Anderson authored
and expression separately. We can get around this, however, by only keeping opaque values in TMP_GEN. llvm-svn: 37443
-
Owen Anderson authored
llvm-svn: 37442
-