[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp TransformInternals.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 23 02:05:01 PST 2003
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.85 -> 1.86
TransformInternals.cpp updated: 1.41 -> 1.42
---
Log message:
rename ClassifyExpression -> ClassifyExpr
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.85 llvm/lib/Transforms/ExprTypeConvert.cpp:1.86
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.85 Tue Dec 23 01:43:38 2003
+++ llvm/lib/Transforms/ExprTypeConvert.cpp Tue Dec 23 02:04:08 2003
@@ -52,7 +52,7 @@
if (!Ty->isSized()) return false; // Can only alloc something with a size
// Analyze the number of bytes allocated...
- ExprType Expr = ClassifyExpression(MI->getArraySize());
+ ExprType Expr = ClassifyExpr(MI->getArraySize());
// Get information about the base datatype being allocated, before & after
int ReqTypeSize = TD.getTypeSize(Ty);
@@ -89,7 +89,7 @@
BasicBlock::iterator It = BB->end();
// Analyze the number of bytes allocated...
- ExprType Expr = ClassifyExpression(MI->getArraySize());
+ ExprType Expr = ClassifyExpr(MI->getArraySize());
const PointerType *AllocTy = cast<PointerType>(Ty);
const Type *ElType = AllocTy->getElementType();
Index: llvm/lib/Transforms/TransformInternals.cpp
diff -u llvm/lib/Transforms/TransformInternals.cpp:1.41 llvm/lib/Transforms/TransformInternals.cpp:1.42
--- llvm/lib/Transforms/TransformInternals.cpp:1.41 Tue Nov 11 16:41:33 2003
+++ llvm/lib/Transforms/TransformInternals.cpp Tue Dec 23 02:04:08 2003
@@ -104,7 +104,7 @@
// See if the cast is of an integer expression that is either a constant,
// or a value scaled by some amount with a possible offset.
//
- ExprType Expr = ClassifyExpression(OffsetVal);
+ ExprType Expr = ClassifyExpr(OffsetVal);
// Get the offset and scale values if they exists...
// A scale of zero with Expr.Var != 0 means a scale of 1.
More information about the llvm-commits
mailing list