aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-08 22:17:01 +0000
committerChris Lattner <sabre@nondot.org>2002-11-08 22:17:01 +0000
commit7cc9875c9d4c85bf09e838f76402d7ae47eb29b3 (patch)
tree23450b96d5889f0e06c87a46a535145351bbadbc /lib/Analysis
parent591c7288a7c0bf35fe8ce3707ec066b5bd05044c (diff)
downloadexternal_llvm-7cc9875c9d4c85bf09e838f76402d7ae47eb29b3.zip
external_llvm-7cc9875c9d4c85bf09e838f76402d7ae47eb29b3.tar.gz
external_llvm-7cc9875c9d4c85bf09e838f76402d7ae47eb29b3.tar.bz2
Reduce amount of work needed to compute ip/modref
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/DataStructure/IPModRef.cpp3
-rw-r--r--lib/Analysis/IPA/IPModRef.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/IPModRef.cpp b/lib/Analysis/DataStructure/IPModRef.cpp
index 3832cb3..ab9b770 100644
--- a/lib/Analysis/DataStructure/IPModRef.cpp
+++ b/lib/Analysis/DataStructure/IPModRef.cpp
@@ -148,7 +148,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
// Perform the merging now of the graph for the callee, which will come with
// mod/ref bits set...
Result->mergeInGraph(CS, IPModRefObj.getBUDSGraph(*F),
- DSGraph::StripAllocaBit);
+ DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes |
+ DSGraph::DontCloneAuxCallNodes);
} else {
std::cerr << "IP Mod/Ref indirect call not implemented yet: "
diff --git a/lib/Analysis/IPA/IPModRef.cpp b/lib/Analysis/IPA/IPModRef.cpp
index 3832cb3..ab9b770 100644
--- a/lib/Analysis/IPA/IPModRef.cpp
+++ b/lib/Analysis/IPA/IPModRef.cpp
@@ -148,7 +148,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
// Perform the merging now of the graph for the callee, which will come with
// mod/ref bits set...
Result->mergeInGraph(CS, IPModRefObj.getBUDSGraph(*F),
- DSGraph::StripAllocaBit);
+ DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes |
+ DSGraph::DontCloneAuxCallNodes);
} else {
std::cerr << "IP Mod/Ref indirect call not implemented yet: "