summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-19 07:14:22 +0000
committerDale Johannesen <dalej@apple.com>2010-02-19 07:14:22 +0000
commit45a2d7d44ae697e28df383d31455145fb754ac58 (patch)
treeb04147ac6cc31434932923b670fc66928d8ec2f2 /include/llvm/Analysis/ScalarEvolution.h
parent01a5bee7166d2222d5d717b03893008876a354fa (diff)
downloadllvm-45a2d7d44ae697e28df383d31455145fb754ac58.tar.gz
llvm-45a2d7d44ae697e28df383d31455145fb754ac58.tar.bz2
llvm-45a2d7d44ae697e28df383d31455145fb754ac58.tar.xz
recommit 96626, evidence that it broke things appears
to be spurious git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96662 91177308-0d34-0410-b5e6-96231b3b80d8
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 383ee88ad2..af5d10e6b7 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -586,6 +586,11 @@ namespace llvm {
/// compute a trip count, or if the loop is deleted.
void forgetLoop(const Loop *L);
+ /// forgetValue - This method should be called by the client when it has
+ /// changed a value in a way that may effect its value, or which may
+ /// disconnect it from a def-use chain linking it to a loop.
+ void forgetValue(Value *V);
+
/// GetMinTrailingZeros - Determine the minimum number of zero bits that S
/// is guaranteed to end in (at every loop iteration). It is, at the same
/// time, the minimum number of times S is divisible by 2. For example,