Chris Lattner
|
4fd56003ab
|
Initial checkin of expression reassociation pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2559 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 22:19:27 +00:00 |
|
Chris Lattner
|
540d63cbc7
|
Add expr reassociation pass prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2558 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 22:19:01 +00:00 |
|
Chris Lattner
|
8947fbcb68
|
Expose expression reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2557 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 22:18:34 +00:00 |
|
Chris Lattner
|
94fbab0022
|
Run expression reassociation as part of gccas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2556 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 22:18:20 +00:00 |
|
Chris Lattner
|
557a143b82
|
Add some simple test of reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2555 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 21:34:22 +00:00 |
|
Chris Lattner
|
8446cf405b
|
run reassociate tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2554 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 21:34:11 +00:00 |
|
Chris Lattner
|
56732fb869
|
Verify that function call arguments match the function signature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2553 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 19:49:50 +00:00 |
|
Sumant Kowshik
|
9ddc86c6e5
|
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2552 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-08 18:09:58 +00:00 |
|
Chris Lattner
|
73e6298c9a
|
Spell aggressive correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2551 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 22:15:01 +00:00 |
|
Chris Lattner
|
8ca21c245c
|
Give the unified exit node a name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2550 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 22:14:45 +00:00 |
|
Chris Lattner
|
1ea5c56795
|
Spell aggressive right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2549 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 22:12:52 +00:00 |
|
Chris Lattner
|
a7980c0a08
|
Fix misspelling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2548 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 22:12:36 +00:00 |
|
Chris Lattner
|
ea54ab9cd2
|
Fix bug: test/Regression/Transforms/ADCE/2002-01-31-UseStuckAround.ll
Cleanup code a lot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2547 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 22:11:39 +00:00 |
|
Chris Lattner
|
9d5adb0e11
|
New testcase for adce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2546 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 21:05:36 +00:00 |
|
Chris Lattner
|
fc29f3b20e
|
Build the ADCE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2545 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:52:15 +00:00 |
|
Chris Lattner
|
d2abd3b81f
|
ADCE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2544 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:51:59 +00:00 |
|
Chris Lattner
|
54753e2790
|
Implement constant propogation of PHI instructions like this:
X = phi(0, 0, 0)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2543 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:44:59 +00:00 |
|
Chris Lattner
|
0651a9d207
|
Oops, forgot to check in makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2542 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:39:18 +00:00 |
|
Chris Lattner
|
1610df20bf
|
Add check that phi nodes get constant propogated away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2541 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:32:19 +00:00 |
|
Chris Lattner
|
0a1581bfa8
|
constprop doesn't delete dead instructions, it just makes them dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2540 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:25:44 +00:00 |
|
Chris Lattner
|
e473a34caf
|
Add testcase for not expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2539 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:22:12 +00:00 |
|
Chris Lattner
|
65f1b895bb
|
Merge all include/llvm/Transforms/Scalar/* into a single Scalar.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:03:27 +00:00 |
|
Chris Lattner
|
022103b3f3
|
Merge all individual .h files into a single Scalar.h file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2537 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:03:00 +00:00 |
|
Chris Lattner
|
a869b8dbd3
|
This doesn't use DCE!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2536 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:02:44 +00:00 |
|
Chris Lattner
|
a163fdfc80
|
Extend TargetData::getIndexedOffset to support arrays and pointers!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2535 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 20:00:33 +00:00 |
|
Chris Lattner
|
3bcf74e298
|
These files are supersumed by include/llvm/Transforms/Scalar.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2534 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:38:42 +00:00 |
|
Chris Lattner
|
332f3679d0
|
New header file to replace all of the Scalar/*.h files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2533 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:37:18 +00:00 |
|
Chris Lattner
|
ddca9d0dcb
|
Fix makefiles after shuffling passes around the libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2532 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:27:33 +00:00 |
|
Chris Lattner
|
fc514f40a6
|
Move UnifyFunctionExitNodes to Utils library: final resting place this time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2531 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:18:48 +00:00 |
|
Chris Lattner
|
65e96e57c5
|
fix comments and documentation in file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2530 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:04:39 +00:00 |
|
Chris Lattner
|
ade686e79b
|
Split ChangeAllocations.cpp into Raise & LowerAllocations.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2529 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 19:02:48 +00:00 |
|
Chris Lattner
|
148a0bfcea
|
Checkin headers for Utils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2528 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:52:48 +00:00 |
|
Chris Lattner
|
96bcfc30dc
|
Cleanup implementation a bit + comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2527 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:51:44 +00:00 |
|
Chris Lattner
|
b444a1fff4
|
Cleanup implementation a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2526 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:51:25 +00:00 |
|
Chris Lattner
|
fbfa18ce6c
|
Change script to not even look in test/ directory, significantly speeding it up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2525 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:42:09 +00:00 |
|
Chris Lattner
|
2b5235d650
|
Oops, somehow lost a slash. Fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2524 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:39:52 +00:00 |
|
Chris Lattner
|
c8cc4cb03b
|
Updates to move some header files out of include/llvm/Transforms into
the Scalar and Utils subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2523 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:36:35 +00:00 |
|
Chris Lattner
|
efbe5d682b
|
Update header after moving file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2522 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:34:57 +00:00 |
|
Chris Lattner
|
2d95aa29f8
|
Remove long dead file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2521 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:20:10 +00:00 |
|
Chris Lattner
|
2154d13354
|
Straighten out makefiles after moving code to new Transform Utils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2520 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:18:26 +00:00 |
|
Chris Lattner
|
88d15ab0d6
|
Factor code out to the Transform Utils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2519 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:18:00 +00:00 |
|
Chris Lattner
|
497c60c0ed
|
Reduce dependance on TransformInternals.h, instead using the TransformUtils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2518 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:12:18 +00:00 |
|
Chris Lattner
|
6d7491c3cc
|
Add #include no longer included by llvm/Transforms/Scalar/ConstantProp.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2517 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:11:30 +00:00 |
|
Chris Lattner
|
2ed01d8f0b
|
Factor code out to the TransformUtils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2516 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:10:55 +00:00 |
|
Chris Lattner
|
5a4337a8fc
|
Factor code out of TransformInternals into the Transform Utils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2515 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:09:15 +00:00 |
|
Chris Lattner
|
0ed2e4b554
|
Build Transforms Utils library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2514 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:08:50 +00:00 |
|
Chris Lattner
|
4d1e46e7b0
|
Add code pulled out of TransformInternals.cpp, ConstProp.cpp, and DCE.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2513 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 18:07:59 +00:00 |
|
Chris Lattner
|
071d0ad2f1
|
* Convert InstWorkList to vector instead of set, because on big programs it
is empirically faster by a noticable margin, even though duplicates can
happen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2511 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 04:29:32 +00:00 |
|
Chris Lattner
|
92deeaf7a3
|
* Remove all cfg simplification stuff for a new cfg simplify pass (todo)
* Convert to worklist instead of iterative algorithm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2510 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-07 04:24:11 +00:00 |
|
Chris Lattner
|
6536cfec4a
|
Finish up the updates to the language reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2509 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-05-06 22:08:29 +00:00 |
|