aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-23 18:38:20 +0000
committerChris Lattner <sabre@nondot.org>2004-02-23 18:38:20 +0000
commit0742b59913a7760eb26f08121cd244a37e83e3b3 (patch)
tree0569c867621414c969bfd31e8d9f85d34623cab2 /lib/CodeGen/PHIElimination.cpp
parente699b16a76859fa98c00b95978f8cc81d270292d (diff)
downloadexternal_llvm-0742b59913a7760eb26f08121cd244a37e83e3b3.zip
external_llvm-0742b59913a7760eb26f08121cd244a37e83e3b3.tar.gz
external_llvm-0742b59913a7760eb26f08121cd244a37e83e3b3.tar.bz2
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index ea464c9..181fe46 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/lib/CodeGen/PHIElimination.cpp
@@ -13,6 +13,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SSARegMap.h"
@@ -21,8 +22,7 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/CFG.h"
#include "Support/STLExtras.h"
-
-namespace llvm {
+using namespace llvm;
namespace {
struct PNE : public MachineFunctionPass {
@@ -56,7 +56,7 @@ namespace {
}
-const PassInfo *PHIEliminationID = X.getPassInfo();
+const PassInfo *llvm::PHIEliminationID = X.getPassInfo();
/// EliminatePHINodes - Eliminate phi nodes by inserting copy instructions in
/// predecessor basic blocks.
@@ -250,5 +250,3 @@ bool PNE::EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB) {
}
return true;
}
-
-} // End llvm namespace