Chris Lattner
|
009cc3d2e8
|
First try at implementing the AliasSetTracker class. I'm sure it will need
revision as I start to use it though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3954 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 21:49:07 +00:00 |
|
Chris Lattner
|
5817b4e117
|
* Run preheaders pass tests
* Linearize list of directories so I don't have to keep dealing with
wrapping problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3953 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 19:53:02 +00:00 |
|
Chris Lattner
|
0a4e422d07
|
Checkin the simple features tests for the preheader insertion pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3952 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 19:50:11 +00:00 |
|
Chris Lattner
|
99a57216a9
|
- Further cleanups of LICM pass, remove extra work from previous implementation
- Do not clone instructions then insert clone outside of loop. Just move them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3951 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 19:40:25 +00:00 |
|
Chris Lattner
|
94170596b7
|
Improve comments, doxygenize more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3950 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:52:07 +00:00 |
|
Chris Lattner
|
695766dd08
|
Don't hardcode path to dot in the doxygen config file. Let doxygen search the PATH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3949 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:45:59 +00:00 |
|
Chris Lattner
|
6d4d3e9641
|
Don't hardcode path to doxygen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3948 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:38:42 +00:00 |
|
Chris Lattner
|
9646e6b6af
|
Clean up LICM significantly now that it is guaranteed to have loop preheaders
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3947 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:38:03 +00:00 |
|
Chris Lattner
|
0bd3616b0b
|
Change pass name to something sane
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3946 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:37:37 +00:00 |
|
Chris Lattner
|
eb53ae4f2d
|
Loop invariant code motion now depends on the LoopPreheader pass. Dead code
has not yet been removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3945 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:19:31 +00:00 |
|
Chris Lattner
|
c178d9459a
|
- Cleanup break-crit-edges pass by making SplitCriticalEdge a member method.
- break-crit-edges pass does not invalidate loop-preheader pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3944 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:18:51 +00:00 |
|
Chris Lattner
|
f6b684c505
|
Checkin new loop-preheader insertion pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3943 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:17:33 +00:00 |
|
Chris Lattner
|
38acf9e85d
|
Checkin new loop-preheader insertion pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3942 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:17:31 +00:00 |
|
Chris Lattner
|
fce46ef803
|
Fix printing of loop information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3941 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:15:54 +00:00 |
|
Chris Lattner
|
de39b71455
|
- Fix bug in LoopInfo causing ParentLoop to be garbage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3940 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:15:19 +00:00 |
|
Chris Lattner
|
d74472ed21
|
- Add methods to ImmediateDominators & DominatorTree to allow updates
- Make DominatorTree::Node not inherit from std::vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3939 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:14:41 +00:00 |
|
Chris Lattner
|
3a294d6085
|
- Add methods to ImmediateDominators & DominatorTree to allow updates
- Make DominatorTree::Node not inherit from std::vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3938 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 16:14:37 +00:00 |
|
Chris Lattner
|
b51bf39b93
|
Add a new "DominatorSet::addDominator" method to allow updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3937 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 05:42:47 +00:00 |
|
Chris Lattner
|
699b305c86
|
- Add new methods to LoopInfo: getLoopPreheader, addBasicBlockToLoop.
These allow extra information to be easily gathered, and loopinfo to be
updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3936 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 05:32:50 +00:00 |
|
Chris Lattner
|
2b7bb7a986
|
- Add new methods to LoopInfo: getLoopPreheader, addBasicBlockToLoop.
These allow extra information to be easily gathered, and loopinfo to be
updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3935 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 05:32:43 +00:00 |
|
Chris Lattner
|
0a1a874d1f
|
- Add new ctor to BasicBlock to allow insertion before any BB, not just at
the end of the function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3934 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 05:03:22 +00:00 |
|
Chris Lattner
|
5cf816b09e
|
- Add new ctor to BasicBlock to allow insertion before any BB, not just at
the end of the function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3933 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 05:03:17 +00:00 |
|
Chris Lattner
|
3a15d70734
|
Converted SimpleStructMutation to take TargetData as a required pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3932 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 00:17:21 +00:00 |
|
Chris Lattner
|
7afd98d144
|
Converted SimpleStructMutation to take TargetData as a required pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3931 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-26 00:17:18 +00:00 |
|
Chris Lattner
|
1751b7ed27
|
Change LowerAllocations pass to 'require' TargetData instead of it being
passed in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3930 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 23:47:49 +00:00 |
|
Chris Lattner
|
3b2106ff84
|
Change LowerAllocations pass to 'require' TargetData instead of it being
passed in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3929 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 23:47:47 +00:00 |
|
Chris Lattner
|
2da7afb963
|
Convert TargetData to be an ImmutablePass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3928 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 23:46:56 +00:00 |
|
Chris Lattner
|
aa31ad016a
|
Convert TargetData to be an ImmutablePass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3927 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 23:46:55 +00:00 |
|
Chris Lattner
|
f004f9afe1
|
Add documentation for ImmutablePass's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3926 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 22:31:38 +00:00 |
|
Chris Lattner
|
9be827a875
|
ImmutablePass's don't need a runOnFunction, nor do they need to explicitly say
that they preserve all xforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3925 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 22:27:54 +00:00 |
|
Chris Lattner
|
c3a388143b
|
Convert BasicVN to be an ImmutablePass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3924 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 22:27:25 +00:00 |
|
Chris Lattner
|
6ffa0a7f7c
|
* Fix ugly bug in previous checkin where I reused the name 'i' one too many times
* Print out immutable passes in the -debug-pass=Structure report.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3923 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 22:26:52 +00:00 |
|
Chris Lattner
|
700975bc9b
|
Convert BasicAA to be an immutable pass instead of a FunctionPass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3922 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 22:00:18 +00:00 |
|
Chris Lattner
|
70b4f3e051
|
Add support for ImmutablePasses, which are not run, and cannot be
invalidated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3921 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 21:59:11 +00:00 |
|
Nick Hildenbrandt
|
e548f009f7
|
Strings now handled correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3920 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 20:29:26 +00:00 |
|
Chris Lattner
|
9474dd68e8
|
Checkin stub for Misha to implement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3919 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 19:10:06 +00:00 |
|
Chris Lattner
|
9e39816f13
|
Make sure to print message when linking a debug .o file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3918 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 17:15:22 +00:00 |
|
Chris Lattner
|
112e97dbee
|
- Fix bug: Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3917 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 21:19:41 +00:00 |
|
Chris Lattner
|
2ada19ea04
|
Eliminate extraneous #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3916 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 21:18:40 +00:00 |
|
Chris Lattner
|
ab608564c5
|
A lot of this stuff has been done. Remove the done items
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3915 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 16:15:36 +00:00 |
|
Chris Lattner
|
04b9d2903e
|
New feature test for something we have done for a long time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3914 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 16:13:20 +00:00 |
|
Chris Lattner
|
929b2c6900
|
Fix bug: SimplifyCFG/2002-09-24-PHIAssertion.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3913 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 16:09:17 +00:00 |
|
Chris Lattner
|
d7490bcf9a
|
New testcase that causes SimplifyCFG to assert out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3912 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 16:02:44 +00:00 |
|
Chris Lattner
|
f03cafc280
|
- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
removing it from Transforms/Local.h and from Transforms/Utils/*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3911 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:52:01 +00:00 |
|
Chris Lattner
|
eb0456c8fd
|
- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
removing it from Transforms/Local.h and from Transforms/Utils/*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3910 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:51:56 +00:00 |
|
Chris Lattner
|
04d8dc31f6
|
- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
removing it from Transforms/Local.h and from Transforms/Utils/*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3909 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:51:54 +00:00 |
|
Chris Lattner
|
16e7a5295f
|
Correlated Exprs pass now requires BCE pass instead of doing it manually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3908 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:43:56 +00:00 |
|
Chris Lattner
|
6de302bbdb
|
- Expose passinfo from BreakCriticalEdges pass so that it may be "Required"
by other passes. Make BCE pass be in anonymous namespace now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3907 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:43:12 +00:00 |
|
Chris Lattner
|
87944916a4
|
Expose passinfo from BreakCriticalEdges pass so that it may be "Required" by
other passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3906 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 15:42:27 +00:00 |
|
Chris Lattner
|
93c26685bf
|
Make sure to close the file before deleting it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3905 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-24 00:09:48 +00:00 |
|