Move passes out to Passes.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-01-13 00:45:29 +00:00
parent 70445403c3
commit 31ad5dd67f

View File

@ -3,8 +3,6 @@
// This file contains the entry points for global functions defined in the x86 // This file contains the entry points for global functions defined in the x86
// target library, as used by the LLVM JIT. // target library, as used by the LLVM JIT.
// //
// FIXME: This file will be dramatically changed in the future
//
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef TARGET_X86_H #ifndef TARGET_X86_H
@ -20,17 +18,16 @@ class Pass;
/// ///
Pass *createSimpleX86InstructionSelector(TargetMachine &TM); Pass *createSimpleX86InstructionSelector(TargetMachine &TM);
/// createSimpleRegisterAllocation - This function returns a pass that converts /// createX86PeepholeOptimizer - Create a pass to perform X86 specific peephole
/// the specified machine code function from SSA form to use explicit registers /// optimizations.
/// by spilling every register. Wow, great policy huh?
/// ///
Pass *createSimpleRegisterAllocator(); Pass *createX86PeepholeOptimizerPass();
Pass *createLocalRegisterAllocator();
/// createPrologEpilogCodeInserter - This function returns a pass that inserts /// createX86FloatingPointStackifierPass - This function returns a pass which
/// prolog and epilog code, and eliminates abstract frame references. /// converts floating point register references and pseudo instructions into
/// floating point stack references and physical instructions.
/// ///
Pass *createPrologEpilogCodeInserter(); Pass *createX86FloatingPointStackifierPass();
/// createX86CodePrinterPass - Print out the specified machine code function to /// createX86CodePrinterPass - Print out the specified machine code function to
/// the specified stream. This function should work regardless of whether or /// the specified stream. This function should work regardless of whether or