[llvm-commits] CVS: llvm/lib/CodeGen/MachinePassRegistry.cpp
Jim Laskey
jlaskey at apple.com
Tue Aug 1 09:31:24 PDT 2006
Changes in directory llvm/lib/CodeGen:
MachinePassRegistry.cpp added (r1.1)
---
Log message:
Forgot the added files for plugable machine passes.
---
Diffs of the changes: (+31 -0)
MachinePassRegistry.cpp | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+)
Index: llvm/lib/CodeGen/MachinePassRegistry.cpp
diff -c /dev/null llvm/lib/CodeGen/MachinePassRegistry.cpp:1.1
*** /dev/null Tue Aug 1 11:31:18 2006
--- llvm/lib/CodeGen/MachinePassRegistry.cpp Tue Aug 1 11:31:08 2006
***************
*** 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;
More information about the llvm-commits
mailing list