summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/LevelRaise.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-21 23:17:48 +0000
committerChris Lattner <sabre@nondot.org>2002-01-21 23:17:48 +0000
commitee965abc367045a647fd33a5df3295e097925e3a (patch)
tree0632ccb72c12c4fbce7c66745c3534bb2b63e6f6 /llvm/lib/Transforms/LevelRaise.cpp
parent4f32cf118a4fbf1419b3ed18db2363cb5ad47de0 (diff)
downloadbcm5719-llvm-ee965abc367045a647fd33a5df3295e097925e3a.tar.gz
bcm5719-llvm-ee965abc367045a647fd33a5df3295e097925e3a.zip
Move stuff out of the Optimizations directories into the appropriate Transforms
directories. Eliminate the opt namespace. llvm-svn: 1520
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
-rw-r--r--llvm/lib/Transforms/LevelRaise.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp
index f1406769371..38865003bb3 100644
--- a/llvm/lib/Transforms/LevelRaise.cpp
+++ b/llvm/lib/Transforms/LevelRaise.cpp
@@ -12,9 +12,9 @@
#include "llvm/iOther.h"
#include "llvm/iMemory.h"
#include "llvm/ConstantVals.h"
-#include "llvm/Optimizations/ConstantHandling.h"
-#include "llvm/Optimizations/DCE.h"
-#include "llvm/Optimizations/ConstantProp.h"
+#include "llvm/Transforms/Scalar/DCE.h"
+#include "llvm/Transforms/Scalar/ConstantHandling.h"
+#include "llvm/Transforms/Scalar/ConstantProp.h"
#include "llvm/Analysis/Expressions.h"
#include "Support/STLExtras.h"
#include <algorithm>
@@ -413,8 +413,8 @@ static bool DoRaisePass(Method *M) {
#if DEBUG_PEEPHOLE_INSTS
cerr << "Processing: " << *BI;
#endif
- if (opt::DeadCodeElimination::dceInstruction(BIL, BI) ||
- opt::ConstantPropogation::doConstantPropogation(BB, BI)) {
+ if (DeadCodeElimination::dceInstruction(BIL, BI) ||
+ ConstantPropogation::doConstantPropogation(BB, BI)) {
Changed = true;
#ifdef DEBUG_PEEPHOLE_INSTS
cerr << "DeadCode Elinated!\n";
OpenPOWER on IntegriCloud