1 //===-- InstrScheduling.h - Interface To Instruction Scheduling --*- C++ -*-==//
3 // This file defines a minimal, but complete, interface to instruction
6 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
9 #define LLVM_CODEGEN_INSTR_SCHEDULING_H
14 //---------------------------------------------------------------------------
15 // Function: ScheduleInstructionsWithSSA
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 //---------------------------------------------------------------------------
24 bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
27 //---------------------------------------------------------------------------
28 // Function: ScheduleInstructions
31 // Entry point for instruction scheduling on machine code.
32 // Schedules the machine instructions generated by instruction selection.
33 // Assumes that register allocation has been done.
34 //---------------------------------------------------------------------------
36 // Not implemented yet.
37 bool ScheduleInstructions(Method *M, const TargetMachine &Target);