summaryrefslogtreecommitdiffstats
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
commitbc6b18e6d3abfcb76f88f614cd70aa09ac960fd2 (patch)
treeed5855162d409d34b0ac663bdec9f1f3614ce611
parentb9f0cebeb5c76510096da326d4612c2962ad9b9c (diff)
downloadbcm5719-llvm-bc6b18e6d3abfcb76f88f614cd70aa09ac960fd2.tar.gz
bcm5719-llvm-bc6b18e6d3abfcb76f88f614cd70aa09ac960fd2.zip
export two methods
llvm-svn: 20526
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolution.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index 9844940c613..a3dbb762ac7 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/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
OpenPOWER on IntegriCloud