aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DataStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DataStructure.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DataStructure.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h
index 627c7c4d7b..eb0134d97f 100644
--- a/include/llvm/Analysis/DataStructure/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure/DataStructure.h
@@ -113,6 +113,11 @@ public:
DSGraph &getGlobalsGraph() const { return *GlobalsGraph; }
+ /// deleteValue/copyValue - Interfaces to update the DSGraphs in the program.
+ /// These correspond to the interfaces defined in the AliasAnalysis class.
+ void deleteValue(Value *V);
+ void copyValue(Value *From, Value *To);
+
/// print - Print out the analysis results...
///
void print(std::ostream &O, const Module *M) const;
@@ -175,6 +180,11 @@ public:
DSGraph &getGlobalsGraph() const { return *GlobalsGraph; }
+ /// deleteValue/copyValue - Interfaces to update the DSGraphs in the program.
+ /// These correspond to the interfaces defined in the AliasAnalysis class.
+ void deleteValue(Value *V);
+ void copyValue(Value *From, Value *To);
+
/// print - Print out the analysis results...
///
void print(std::ostream &O, const Module *M) const;