aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LinkAllCodegenComponents.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:23:13 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:23:13 +0000
commit1dd8c8560d45d36a8e507cd014352f1d313f9f9e (patch)
tree53ab7a4d1ce9e68688fe4b9ffa311474814613b1 /include/llvm/CodeGen/LinkAllCodegenComponents.h
parent9d41bd5c78b99750d820e01bcd4a4e479b713d4c (diff)
downloadexternal_llvm-1dd8c8560d45d36a8e507cd014352f1d313f9f9e.zip
external_llvm-1dd8c8560d45d36a8e507cd014352f1d313f9f9e.tar.gz
external_llvm-1dd8c8560d45d36a8e507cd014352f1d313f9f9e.tar.bz2
Codegen pass definition cleanup. No functionality.
Moving toward a uniform style of pass definition to allow easier target configuration. Globally declare Pass ID. Globally declare pass initializer. Use INITIALIZE_PASS consistently. Add a call to the initializer from CodeGen.cpp. Remove redundant "createPass" functions and "getPassName" methods. While cleaning up declarations, cleaned up comments (sorry for large diff). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LinkAllCodegenComponents.h')
-rw-r--r--include/llvm/CodeGen/LinkAllCodegenComponents.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LinkAllCodegenComponents.h b/include/llvm/CodeGen/LinkAllCodegenComponents.h
index e777634..46dd004 100644
--- a/include/llvm/CodeGen/LinkAllCodegenComponents.h
+++ b/include/llvm/CodeGen/LinkAllCodegenComponents.h
@@ -31,8 +31,6 @@ namespace {
if (std::getenv("bar") != (char*) -1)
return;
- (void) llvm::createDeadMachineInstructionElimPass();
-
(void) llvm::createFastRegisterAllocator();
(void) llvm::createBasicRegisterAllocator();
(void) llvm::createGreedyRegisterAllocator();