summaryrefslogtreecommitdiff
path: root/tools/opt/AnalysisWrappers.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-30 22:53:53 +0000
committerChris Lattner <sabre@nondot.org>2002-08-30 22:53:53 +0000
commitc74cb8698f1771603a6ab008277a407c55e47753 (patch)
tree9497db4fb301ee674021fe83d8bfdd8c6392be2e /tools/opt/AnalysisWrappers.cpp
parent2964f3624c38247d1954927754c1933400dae0d6 (diff)
downloadllvm-c74cb8698f1771603a6ab008277a407c55e47753.tar.gz
llvm-c74cb8698f1771603a6ab008277a407c55e47753.tar.bz2
llvm-c74cb8698f1771603a6ab008277a407c55e47753.tar.xz
- Eliminate the last traces of the 'analysis' namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/AnalysisWrappers.cpp')
-rw-r--r--tools/opt/AnalysisWrappers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/opt/AnalysisWrappers.cpp b/tools/opt/AnalysisWrappers.cpp
index a674e7c8fb..027866beee 100644
--- a/tools/opt/AnalysisWrappers.cpp
+++ b/tools/opt/AnalysisWrappers.cpp
@@ -71,20 +71,20 @@ namespace {
OS << *I;
if ((*I)->getType() == Type::VoidTy) continue;
- analysis::ExprType R = analysis::ClassifyExpression(*I);
+ ExprType R = ClassifyExpression(*I);
if (R.Var == *I) continue; // Doesn't tell us anything
OS << "\t\tExpr =";
switch (R.ExprTy) {
- case analysis::ExprType::ScaledLinear:
+ case ExprType::ScaledLinear:
WriteAsOperand(OS << "(", (Value*)R.Scale) << " ) *";
// fall through
- case analysis::ExprType::Linear:
+ case ExprType::Linear:
WriteAsOperand(OS << "(", R.Var) << " )";
if (R.Offset == 0) break;
else OS << " +";
// fall through
- case analysis::ExprType::Constant:
+ case ExprType::Constant:
if (R.Offset) WriteAsOperand(OS, (Value*)R.Offset);
else OS << " 0";
break;