Chris Lattner
|
f901355379
|
make sure to mark nodes in the globals graph incomplete after computing it
so that external globals (and whatever they point to) are marked incomplete.
llvm-svn: 20628
|
2005-03-15 22:47:18 +00:00 |
Chris Lattner
|
21a79edb27
|
fix crashes when we only have a prototype for main.
llvm-svn: 20627
|
2005-03-15 22:10:04 +00:00 |
Chris Lattner
|
d31a3d0e82
|
Finally fix (the right way) the problem where functions like this:
void foo() {
G = 1;
}
would have an empty DSGraph even though G (a global) is directly used
in the function.
llvm-svn: 20619
|
2005-03-15 17:14:09 +00:00 |
Chris Lattner
|
92d0c1c1ba
|
Start using retnodes_* for iteration.
llvm-svn: 20618
|
2005-03-15 16:55:04 +00:00 |
Chris Lattner
|
451fa32685
|
avoid varialbe name collisions
llvm-svn: 20606
|
2005-03-15 06:29:12 +00:00 |
Chris Lattner
|
531f9e92d4
|
This mega patch converts us from using Function::a{iterator|begin|end} to
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
2005-03-15 04:54:21 +00:00 |
Chris Lattner
|
26415d7432
|
rename method, add counterpart
llvm-svn: 20593
|
2005-03-15 00:58:16 +00:00 |
Chris Lattner
|
1bdb8b7e7e
|
add a method to compute a commonly used mapping.
llvm-svn: 20588
|
2005-03-14 19:22:47 +00:00 |
Chris Lattner
|
b9e2a4dec0
|
Make sure to remove incomplete markers before we add to them! :)
llvm-svn: 20585
|
2005-03-13 20:32:26 +00:00 |
Chris Lattner
|
2eff970892
|
After finishing BU analysis, move all global variables from the globals
graph into main and mark them complete.
llvm-svn: 20583
|
2005-03-13 20:15:06 +00:00 |
Chris Lattner
|
68c3caccb1
|
ADd support for printing eqgraphs.
llvm-svn: 20582
|
2005-03-13 19:51:24 +00:00 |
Chris Lattner
|
dd6bcbe820
|
remove this from the PA namespace, leaving it in the llvm ns
llvm-svn: 20574
|
2005-03-12 12:08:52 +00:00 |
Chris Lattner
|
2dd9a09837
|
Move this from the pool allocator project to here, where it logically belongs.
llvm-svn: 20570
|
2005-03-12 11:51:30 +00:00 |