1 //===-- InstrScheduling.h - Interface To Instruction Scheduling -*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines a minimal, but complete, interface to instruction
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
16 #define LLVM_CODEGEN_INSTR_SCHEDULING_H
23 //---------------------------------------------------------------------------
24 // Function: createScheduleInstructionsWithSSAPass(..)
27 // Entry point for instruction scheduling on SSA form.
28 // Schedules the machine instructions generated by instruction selection.
29 // Assumes that register allocation has not been done, i.e., operands
30 // are still in SSA form.
31 //---------------------------------------------------------------------------
33 FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &TM);
35 } // End llvm namespace