[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
Reid Spencer
reid at x10sys.com
Thu Mar 1 14:29:10 PST 2007
Changes in directory llvm/include/llvm/Analysis:
ScalarEvolutionExpressions.h updated: 1.10 -> 1.11
---
Log message:
Make it possible to create an SCEVUnknown from an APInt as well as an int.
---
Diffs of the changes: (+2 -0)
ScalarEvolutionExpressions.h | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
diff -u llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.10 llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.11
--- llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.10 Sat Dec 23 00:05:40 2006
+++ llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h Thu Mar 1 16:28:51 2007
@@ -19,6 +19,7 @@
namespace llvm {
class ConstantInt;
class ConstantRange;
+ class APInt;
enum SCEVTypes {
// These should be ordered in terms of increasing complexity to make the
@@ -463,6 +464,7 @@
/// getIntegerSCEV - Given an integer or FP type, create a constant for the
/// specified signed integer value and return a SCEV for the constant.
static SCEVHandle getIntegerSCEV(int Val, const Type *Ty);
+ static SCEVHandle getIntegerSCEV(const APInt& Val);
Value *getValue() const { return V; }
More information about the llvm-commits
mailing list