1 //===-- CodeGen/MachineInstr.cpp ------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by James M. Laskey and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the machine function pass registry for register allocators
11 // and instruction schedulers.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/CodeGen/MachinePassRegistry.h"
20 //===---------------------------------------------------------------------===//
22 /// RegisterRegAlloc class - Track the registration of register allocators.
24 //===---------------------------------------------------------------------===//
25 MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor>
26 RegisterRegAlloc::Registry;
29 //===---------------------------------------------------------------------===//
31 /// RegisterScheduler class - Track the registration of instruction schedulers.
33 //===---------------------------------------------------------------------===//
34 MachinePassRegistry<RegisterScheduler::FunctionPassCtor>
35 RegisterScheduler::Registry;