aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 1b27efb995..b052a82232 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -386,6 +386,11 @@ namespace llvm {
bool isKnownPredicateWithRanges(ICmpInst::Predicate Pred,
const SCEV *LHS, const SCEV *RHS);
+ /// forgetSCEVUnknown - V is being deleted or RAUW'd; remove the
+ /// SCEVUnknown for it from the uniquing map, and optionally
+ /// clear its contents to point to a replacement value.
+ void forgetSCEVUnknown(Value *V, Value *NewV);
+
public:
static char ID; // Pass identification, replacement for typeid
ScalarEvolution();