diff options
author | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
commit | e9bb2df410f7a22decad9a883f7139d5857c1520 (patch) | |
tree | f6ca07fb5f5de1df8a2572142a707f56bf25c6e6 /include/llvm/Analysis/Expressions.h | |
parent | 9ef18310beaabe7abfa712a3c761036ea2d17caa (diff) |
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Expressions.h')
-rw-r--r-- | include/llvm/Analysis/Expressions.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Analysis/Expressions.h b/include/llvm/Analysis/Expressions.h index 9ddd5863b5..f64f8f14f8 100644 --- a/include/llvm/Analysis/Expressions.h +++ b/include/llvm/Analysis/Expressions.h @@ -13,7 +13,7 @@ #include <assert.h> class Type; class Value; -class ConstPoolInt; +class ConstantInt; namespace analysis { @@ -35,16 +35,16 @@ struct ExprType { ScaledLinear, // Expr is scaled linear exp, Value is Scale*Var+Offset } ExprTy; - const ConstPoolInt *Offset; // Offset of expr, or null if 0 - Value *Var; // Var referenced, if Linear or above (null if 0) - const ConstPoolInt *Scale; // Scale of var if ScaledLinear expr (null if 1) + const ConstantInt *Offset; // Offset of expr, or null if 0 + Value *Var; // Var referenced, if Linear or above (null if 0) + const ConstantInt *Scale; // Scale of var if ScaledLinear expr (null if 1) - inline ExprType(const ConstPoolInt *CPV = 0) { + inline ExprType(const ConstantInt *CPV = 0) { Offset = CPV; Var = 0; Scale = 0; ExprTy = Constant; } ExprType(Value *Val); // Create a linear or constant expression - ExprType(const ConstPoolInt *scale, Value *var, const ConstPoolInt *offset); + ExprType(const ConstantInt *scale, Value *var, const ConstantInt *offset); // If this expression has an intrinsic type, return it. If it is zero, return // the specified type. |