Remove opt namespace

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-01-26 22:47:07 +00:00
parent 3785a662c2
commit 33fa13c57c
2 changed files with 1 additions and 7 deletions

View File

@@ -10,8 +10,6 @@
#include "llvm/Pass.h" #include "llvm/Pass.h"
namespace opt {
struct InductionVariableCannonicalize : public MethodPass { struct InductionVariableCannonicalize : public MethodPass {
// doInductionVariableCannonicalize - Simplify induction variables in loops // doInductionVariableCannonicalize - Simplify induction variables in loops
// //
@@ -22,6 +20,4 @@ struct InductionVariableCannonicalize : public MethodPass {
} }
}; };
} // end namespace opt
#endif #endif

View File

@@ -32,8 +32,6 @@ using std::cerr;
#include "llvm/Analysis/LoopDepth.h" #include "llvm/Analysis/LoopDepth.h"
using namespace opt;
// isLoopInvariant - Return true if the specified value/basic block source is // isLoopInvariant - Return true if the specified value/basic block source is
// an interval invariant computation. // an interval invariant computation.
// //
@@ -373,7 +371,7 @@ static bool ProcessIntervalPartition(cfg::IntervalPartition &IP) {
// This function loops over an interval partition of a program, reducing it // This function loops over an interval partition of a program, reducing it
// until the graph is gone. // until the graph is gone.
// //
bool opt::InductionVariableCannonicalize::doIt(Method *M) { bool InductionVariableCannonicalize::doIt(Method *M) {
// TODO: REMOVE // TODO: REMOVE
if (0) { // Print basic blocks with their depth if (0) { // Print basic blocks with their depth
LoopDepthCalculator LDC(M); LoopDepthCalculator LDC(M);