Jim Laskey | 9ff542f | 2006-08-01 18:29:48 +0000 | [diff] [blame] | 1 | //===-- CodeGen/MachineInstr.cpp ------------------------------------------===// |
Jim Laskey | c6a0a11 | 2006-08-01 16:31:08 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 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. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
Jim Laskey | 9ff542f | 2006-08-01 18:29:48 +0000 | [diff] [blame] | 9 | // |
| 10 | // This file contains the machine function pass registry for register allocators |
| 11 | // and instruction schedulers. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
Jim Laskey | c6a0a11 | 2006-08-01 16:31:08 +0000 | [diff] [blame] | 14 | |
| 15 | #include "llvm/CodeGen/MachinePassRegistry.h" |
Jim Laskey | c6a0a11 | 2006-08-01 16:31:08 +0000 | [diff] [blame] | 16 | |
| 17 | using namespace llvm; |
| 18 | |
| 19 | |
| 20 | //===---------------------------------------------------------------------===// |
| 21 | /// |
| 22 | /// RegisterRegAlloc class - Track the registration of register allocators. |
| 23 | /// |
| 24 | //===---------------------------------------------------------------------===// |
| 25 | MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor> |
| 26 | RegisterRegAlloc::Registry; |
| 27 | |
| 28 | |
| 29 | //===---------------------------------------------------------------------===// |
| 30 | /// |
| 31 | /// RegisterScheduler class - Track the registration of instruction schedulers. |
| 32 | /// |
| 33 | //===---------------------------------------------------------------------===// |
| 34 | MachinePassRegistry<RegisterScheduler::FunctionPassCtor> |
| 35 | RegisterScheduler::Registry; |