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

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 8 21:34:39 PST 2005



Changes in directory llvm/include/llvm/Analysis:

ScalarEvolution.h updated: 1.8 -> 1.9
---
Log message:

export two methods


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

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


Index: llvm/include/llvm/Analysis/ScalarEvolution.h
diff -u llvm/include/llvm/Analysis/ScalarEvolution.h:1.8 llvm/include/llvm/Analysis/ScalarEvolution.h:1.9
--- llvm/include/llvm/Analysis/ScalarEvolution.h:1.8	Sat Feb 12 22:34:51 2005
+++ llvm/include/llvm/Analysis/ScalarEvolution.h	Tue Mar  8 23:34:23 2005
@@ -54,6 +54,16 @@
   public:
     SCEV(unsigned SCEVTy) : SCEVType(SCEVTy), RefCount(0) {}
 
+    /// getNegativeSCEV - Return the SCEV object corresponding to -V.
+    ///
+    static SCEVHandle getNegativeSCEV(const SCEVHandle &V);
+
+    /// getMinusSCEV - Return LHS-RHS.
+    ///
+    static SCEVHandle getMinusSCEV(const SCEVHandle &LHS,
+                                   const SCEVHandle &RHS);
+
+
     unsigned getSCEVType() const { return SCEVType; }
 
     /// getValueRange - Return the tightest constant bounds that this value is






More information about the llvm-commits mailing list