aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitc6a0a117a63b22ac8f4ae1aaa16a4a4fb57a45f1 (patch)
tree1ae0a705aaf18fb4ecfdb96ba030eece4ff6534e /lib/CodeGen/MachinePassRegistry.cpp
parent704e81f6e8c1b75966ed6e5d0256f715c837b9fd (diff)
downloadexternal_llvm-c6a0a117a63b22ac8f4ae1aaa16a4a4fb57a45f1.zip
external_llvm-c6a0a117a63b22ac8f4ae1aaa16a4a4fb57a45f1.tar.gz
external_llvm-c6a0a117a63b22ac8f4ae1aaa16a4a4fb57a45f1.tar.bz2
Forgot the added files for plugable machine passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachinePassRegistry.cpp')
-rw-r--r--lib/CodeGen/MachinePassRegistry.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/CodeGen/MachinePassRegistry.cpp b/lib/CodeGen/MachinePassRegistry.cpp
new file mode 100644
index 0000000..a5f4408
--- /dev/null
+++ b/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;