From c6a0a117a63b22ac8f4ae1aaa16a4a4fb57a45f1 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 1 Aug 2006 16:31:08 +0000 Subject: 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 --- lib/CodeGen/MachinePassRegistry.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lib/CodeGen/MachinePassRegistry.cpp (limited to 'lib/CodeGen/MachinePassRegistry.cpp') 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 + +using namespace llvm; + + +//===---------------------------------------------------------------------===// +/// +/// RegisterRegAlloc class - Track the registration of register allocators. +/// +//===---------------------------------------------------------------------===// +MachinePassRegistry +RegisterRegAlloc::Registry; + + +//===---------------------------------------------------------------------===// +/// +/// RegisterScheduler class - Track the registration of instruction schedulers. +/// +//===---------------------------------------------------------------------===// +MachinePassRegistry +RegisterScheduler::Registry; -- cgit v1.1