summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePassRegistry.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-08-01 16:31:08 +0000
committerJim Laskey <jlaskey@mac.com>2006-08-01 16:31:08 +0000
commit0ec39ee28e6a0b3d499f375f955033ac0e7a9321 (patch)
tree3892ede2bbaf6bd69d6f9ad4588f64a43be87b38 /llvm/lib/CodeGen/MachinePassRegistry.cpp
parent738cb2aa8573d78c0f89f9327a0dcf981cc6028f (diff)
downloadbcm5719-llvm-0ec39ee28e6a0b3d499f375f955033ac0e7a9321.tar.gz
bcm5719-llvm-0ec39ee28e6a0b3d499f375f955033ac0e7a9321.zip
Forgot the added files for plugable machine passes.
llvm-svn: 29436
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassRegistry.cpp')
-rw-r--r--llvm/lib/CodeGen/MachinePassRegistry.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachinePassRegistry.cpp b/llvm/lib/CodeGen/MachinePassRegistry.cpp
new file mode 100644
index 00000000000..a5f4408f7d7
--- /dev/null
+++ b/llvm/lib/CodeGen/MachinePassRegistry.cpp
@@ -0,0 +1,31 @@
+//===-- MachineInstr.cpp --------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by James M. Laskey and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/CodeGen/MachinePassRegistry.h"
+#include <iostream>
+
+using namespace llvm;
+
+
+//===---------------------------------------------------------------------===//
+///
+/// RegisterRegAlloc class - Track the registration of register allocators.
+///
+//===---------------------------------------------------------------------===//
+MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor>
+RegisterRegAlloc::Registry;
+
+
+//===---------------------------------------------------------------------===//
+///
+/// RegisterScheduler class - Track the registration of instruction schedulers.
+///
+//===---------------------------------------------------------------------===//
+MachinePassRegistry<RegisterScheduler::FunctionPassCtor>
+RegisterScheduler::Registry;
OpenPOWER on IntegriCloud