[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolution.h

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 9 16:36:29 PDT 2005



Changes in directory llvm/include/llvm/Analysis:

ScalarEvolution.h updated: 1.10 -> 1.11
---
Log message:

add two helper methods


---
Diffs of the changes:  (+8 -0)

 ScalarEvolution.h |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/include/llvm/Analysis/ScalarEvolution.h
diff -u llvm/include/llvm/Analysis/ScalarEvolution.h:1.10 llvm/include/llvm/Analysis/ScalarEvolution.h:1.11
--- llvm/include/llvm/Analysis/ScalarEvolution.h:1.10	Thu Apr 21 15:16:32 2005
+++ llvm/include/llvm/Analysis/ScalarEvolution.h	Tue Aug  9 18:36:18 2005
@@ -195,6 +195,14 @@
     /// specified expression.
     SCEVHandle getSCEV(Value *V) const;
 
+    /// hasSCEV - Return true if the SCEV for this value has already been
+    /// computed.
+    bool hasSCEV(Value *V) const;
+
+    /// setSCEV - Insert the specified SCEV into the map of current SCEVs for
+    /// the specified value.
+    void setSCEV(Value *V, const SCEVHandle &H);
+
     /// getSCEVAtScope - Return a SCEV expression handle for the specified value
     /// at the specified scope in the program.  The L value specifies a loop
     /// nest to evaluate the expression at, where null is the top-level or a






More information about the llvm-commits mailing list