forked from OSchip/llvm-project
parent
fa64a35a01
commit
270766a210
|
@ -1,22 +1,22 @@
|
||||||
/* -*-C++-*-
|
// -*-C++-*-
|
||||||
****************************************************************************
|
//***************************************************************************
|
||||||
* File:
|
// File:
|
||||||
* SchedPriorities.h
|
// SchedPriorities.h
|
||||||
*
|
//
|
||||||
* Purpose:
|
// Purpose:
|
||||||
* Encapsulate heuristics for instruction scheduling.
|
// Encapsulate heuristics for instruction scheduling.
|
||||||
*
|
//
|
||||||
* Strategy:
|
// Strategy:
|
||||||
* Priority ordering rules:
|
// Priority ordering rules:
|
||||||
* (1) Max delay, which is the order of the heap S.candsAsHeap.
|
// (1) Max delay, which is the order of the heap S.candsAsHeap.
|
||||||
* (2) Instruction that frees up a register.
|
// (2) Instruction that frees up a register.
|
||||||
* (3) Instruction that has the maximum number of dependent instructions.
|
// (3) Instruction that has the maximum number of dependent instructions.
|
||||||
* Note that rules 2 and 3 are only used if issue conflicts prevent
|
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
||||||
* choosing a higher priority instruction by rule 1.
|
// choosing a higher priority instruction by rule 1.
|
||||||
*
|
//
|
||||||
* History:
|
// History:
|
||||||
* 7/30/01 - Vikram Adve - Created
|
// 7/30/01 - Vikram Adve - Created
|
||||||
***************************************************************************/
|
//**************************************************************************/
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
#include "SchedGraph.h"
|
#include "SchedGraph.h"
|
||||||
#include "llvm/CodeGen/InstrScheduling.h"
|
#include "llvm/CodeGen/InstrScheduling.h"
|
||||||
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
|
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
|
||||||
#include "llvm/Target/SchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
|
|
||||||
class Method;
|
class Method;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
|
|
Loading…
Reference in New Issue