summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InstructionNamer.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-07 04:13:08 +0000
committerOwen Anderson <resistor@mac.com>2010-10-07 04:13:08 +0000
commit5e19bfcde35b09793bd26bf37242b7b97cbee056 (patch)
treef46fd471b6ad3e7499736c00893959d328c97543 /llvm/lib/Transforms/Utils/InstructionNamer.cpp
parent0ed37c96154c867d16e3855c99ebb1bfcd0e689c (diff)
downloadbcm5719-llvm-5e19bfcde35b09793bd26bf37242b7b97cbee056.tar.gz
bcm5719-llvm-5e19bfcde35b09793bd26bf37242b7b97cbee056.zip
Move the pass initialization helper functions into the llvm namespace, and add
a header declaring them all. This is also where we will declare per-library pass-set initializer functions down the road. llvm-svn: 115900
Diffstat (limited to 'llvm/lib/Transforms/Utils/InstructionNamer.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InstructionNamer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/InstructionNamer.cpp b/llvm/lib/Transforms/Utils/InstructionNamer.cpp
index 5ca82996b42..522439c04be 100644
--- a/llvm/lib/Transforms/Utils/InstructionNamer.cpp
+++ b/llvm/lib/Transforms/Utils/InstructionNamer.cpp
@@ -48,11 +48,10 @@ namespace {
};
char InstNamer::ID = 0;
- INITIALIZE_PASS(InstNamer, "instnamer",
- "Assign names to anonymous instructions", false, false);
}
-
+INITIALIZE_PASS(InstNamer, "instnamer",
+ "Assign names to anonymous instructions", false, false);
char &llvm::InstructionNamerID = InstNamer::ID;
//===----------------------------------------------------------------------===//
//
OpenPOWER on IntegriCloud