aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-29 01:25:38 +0000
committerEric Christopher <echristo@apple.com>2010-07-29 01:25:38 +0000
commite6cbfa6b09e3e9ddf18449d1b64793e24af27c6b (patch)
treedabe5eaa423f43afe5d1419cddf43a7c626a9884 /include/llvm/Analysis
parentd9082dfd9ab442dd33f552693fcc0f396a514bb6 (diff)
downloadexternal_llvm-e6cbfa6b09e3e9ddf18449d1b64793e24af27c6b.zip
external_llvm-e6cbfa6b09e3e9ddf18449d1b64793e24af27c6b.tar.gz
external_llvm-e6cbfa6b09e3e9ddf18449d1b64793e24af27c6b.tar.bz2
Speculatively revert r109705 since it seems to be causing some build bot
angst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h5
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h21
2 files changed, 3 insertions, 23 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index b052a82..1b27efb 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -386,11 +386,6 @@ 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();
diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h
index 03f147e..ec4ac07 100644
--- a/include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/include/llvm/Analysis/ScalarEvolutionExpressions.h
@@ -524,26 +524,11 @@ namespace llvm {
friend class ScalarEvolution;
friend class ScalarEvolution::SCEVCallbackVH;
- /// V - The Value represented by this SCEVUnknown.
- /// This should be an AssertingVH, however SCEVUnknowns are allocated in a
- /// BumpPtrAllocator so their destructors are never called.
+ // This should be an AssertingVH, however SCEVUnknowns are allocated in a
+ // BumpPtrAllocator so their destructors are never called.
Value *V;
-
- /// UpdateList - When values are RAUW'd with new values, and the new
- /// values already have their own SCEVUnknowns, they can end up with
- /// muliple SCEVUnknowns. This pointer links them all together so that
- /// they can all be updated when another RAUW happens.
- SCEVUnknown *UpdateList;
-
- /// getUpdateListBack - Return the last SCEVUnknown in te UpdateList.
- SCEVUnknown *getUpdateListBack() {
- SCEVUnknown *P = this;
- while (SCEVUnknown *Q = P->UpdateList) P = Q;
- return P;
- }
-
SCEVUnknown(const FoldingSetNodeIDRef ID, Value *v) :
- SCEV(ID, scUnknown), V(v), UpdateList(0) {}
+ SCEV(ID, scUnknown), V(v) {}
public:
Value *getValue() const { return V; }