Factory methods for FunctionPasses now return type FunctionPass *.
[oota-llvm.git] / include / llvm / CodeGen / InstrScheduling.h
1 //===-- InstrScheduling.h - Interface To Instruction Scheduling --*- C++ -*-==//
2 //
3 // This file defines a minimal, but complete, interface to instruction
4 // scheduling.
5 //
6 //===----------------------------------------------------------------------===//
7
8 #ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
9 #define LLVM_CODEGEN_INSTR_SCHEDULING_H
10
11 class Pass;
12 class TargetMachine;
13
14 //---------------------------------------------------------------------------
15 // Function: createScheduleInstructionsWithSSAPass(..)
16 // 
17 // Purpose:
18 //   Entry point for instruction scheduling on SSA form.
19 //   Schedules the machine instructions generated by instruction selection.
20 //   Assumes that register allocation has not been done, i.e., operands
21 //   are still in SSA form.
22 //---------------------------------------------------------------------------
23
24 Pass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
25
26 #endif