mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
4ad5efd1a9
llvm-svn: 21409
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
//===-- InstrScheduling.h - Interface To Instruction Scheduling -*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines a minimal, but complete, interface to instruction
|
|
// scheduling.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
|
|
#define LLVM_CODEGEN_INSTR_SCHEDULING_H
|
|
|
|
namespace llvm {
|
|
|
|
class FunctionPass;
|
|
class TargetMachine;
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Function: createScheduleInstructionsWithSSAPass(..)
|
|
//
|
|
// Purpose:
|
|
// Entry point for instruction scheduling on SSA form.
|
|
// Schedules the machine instructions generated by instruction selection.
|
|
// Assumes that register allocation has not been done, i.e., operands
|
|
// are still in SSA form.
|
|
//---------------------------------------------------------------------------
|
|
|
|
FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &TM);
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|