aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Steensgaard.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-24 18:42:28 +0000
committerChris Lattner <sabre@nondot.org>2005-03-24 18:42:28 +0000
commitd94b4d5b9c2b1ba8da0687e14e4fe357f111a58a (patch)
treef36d6f93035d697a5da4c8feaeb21ee86d45093f /lib/Analysis/DataStructure/Steensgaard.cpp
parent4e59c642c84423d3509b490851506554e11ee999 (diff)
be more aggressive about incompleteness marking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Steensgaard.cpp')
-rw-r--r--lib/Analysis/DataStructure/Steensgaard.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp
index a80a3e6676..0a62fdb486 100644
--- a/lib/Analysis/DataStructure/Steensgaard.cpp
+++ b/lib/Analysis/DataStructure/Steensgaard.cpp
@@ -117,7 +117,6 @@ bool Steens::runOnModule(Module &M) {
ResultGraph = new DSGraph(GlobalECs, getTargetData());
GlobalsGraph = new DSGraph(GlobalECs, getTargetData());
ResultGraph->setGlobalsGraph(GlobalsGraph);
- ResultGraph->setPrintAuxCalls();
// Loop over the rest of the module, merging graphs for non-external functions
// into this graph.
@@ -173,7 +172,8 @@ bool Steens::runOnModule(Module &M) {
// Update the "incomplete" markers on the nodes, ignoring unknownness due to
// incoming arguments...
ResultGraph->maskIncompleteMarkers();
- ResultGraph->markIncompleteNodes(DSGraph::IgnoreFormalArgs);
+ ResultGraph->markIncompleteNodes(DSGraph::IgnoreFormalArgs |
+ DSGraph::IgnoreGlobals);
// Remove any nodes that are dead after all of the merging we have done...
// FIXME: We should be able to disable the globals graph for steens!
@@ -186,7 +186,6 @@ bool Steens::runOnModule(Module &M) {
// alias - This is the only method here that does anything interesting...
AliasAnalysis::AliasResult Steens::alias(const Value *V1, unsigned V1Size,
const Value *V2, unsigned V2Size) {
- // FIXME: HANDLE Size argument!
assert(ResultGraph && "Result graph has not been computed yet!");
DSGraph::ScalarMapTy &GSM = ResultGraph->getScalarMap();