projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c81f13
)
export two methods
author
Chris Lattner
<sabre@nondot.org>
Wed, 9 Mar 2005 05:34:23 +0000
(
05:34
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 9 Mar 2005 05:34:23 +0000
(
05:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20526
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ScalarEvolution.h
b/include/llvm/Analysis/ScalarEvolution.h
index 9844940c613807be4706170cfbcb67ae7bc16fdb..a3dbb762ac70a1570f19edda2a3c0561b4103d3c 100644
(file)
--- 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