From e9bb2df410f7a22decad9a883f7139d5857c1520 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Dec 2001 22:26:30 +0000 Subject: 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 --- include/llvm/Analysis/Expressions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/llvm/Analysis/Expressions.h') diff --git a/include/llvm/Analysis/Expressions.h b/include/llvm/Analysis/Expressions.h index 9ddd586..f64f8f1 100644 --- a/include/llvm/Analysis/Expressions.h +++ b/include/llvm/Analysis/Expressions.h @@ -13,7 +13,7 @@ #include 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. -- cgit v1.1