aboutsummaryrefslogtreecommitdiffstats
path: root/tools/analyze/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/analyze/AnalysisWrappers.cpp
parent2964f3624c38247d1954927754c1933400dae0d6 (diff)
downloadexternal_llvm-c74cb8698f1771603a6ab008277a407c55e47753.zip
external_llvm-c74cb8698f1771603a6ab008277a407c55e47753.tar.gz
external_llvm-c74cb8698f1771603a6ab008277a407c55e47753.tar.bz2
- 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/analyze/AnalysisWrappers.cpp')
-rw-r--r--tools/analyze/AnalysisWrappers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/analyze/AnalysisWrappers.cpp b/tools/analyze/AnalysisWrappers.cpp
index a674e7c..027866b 100644
--- a/tools/analyze/AnalysisWrappers.cpp
+++ b/tools/analyze/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;