aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-09 05:34:23 +0000
committerChris Lattner <sabre@nondot.org>2005-03-09 05:34:23 +0000
commitdf28a31435f90b322e2a28c8925c564a19fc3b72 (patch)
treebf588553b334640cec6662d8650e11343c0f4653
parent1c81f1390dddeb14c19bbab7b4715af3a5985877 (diff)
export two methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20526 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 9844940c61..a3dbb762ac 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -54,6 +54,16 @@ namespace llvm {
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