summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure
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
commitba6006d84b68d14c8027215abcef8c112cbdf11c (patch)
treea4560df7b2aeed6a9138ea844684e96f70f98c12 /llvm/lib/Analysis/DataStructure
parent299be4b42f2744cd66ce7d6fe43fba8d389f05d5 (diff)
downloadbcm5719-llvm-ba6006d84b68d14c8027215abcef8c112cbdf11c.tar.gz
bcm5719-llvm-ba6006d84b68d14c8027215abcef8c112cbdf11c.zip
be more aggressive about incompleteness marking
llvm-svn: 20814
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-rw-r--r--llvm/lib/Analysis/DataStructure/Steensgaard.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
index a80a3e66764..0a62fdb4865 100644
--- a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud