LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
HexagonMachineScheduler.cpp File Reference
#include "HexagonMachineScheduler.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/IR/Function.h"
Include dependency graph for HexagonMachineScheduler.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "misched"
 

Functions

static SUnitgetSingleUnscheduledPred (SUnit *SU)
 
static SUnitgetSingleUnscheduledSucc (SUnit *SU)
 

Variables

static const unsigned PriorityOne = 200
 
static const unsigned PriorityTwo = 50
 
static const unsigned ScaleTwo = 10
 
static const unsigned FactorOne = 2
 

Macro Definition Documentation

#define DEBUG_TYPE   "misched"

Definition at line 15 of file HexagonMachineScheduler.cpp.

Function Documentation

static SUnit* getSingleUnscheduledPred ( SUnit SU)
static

getSingleUnscheduledPred - If there is exactly one unscheduled predecessor of SU, return it, otherwise return null.

Definition at line 423 of file HexagonMachineScheduler.cpp.

References I, llvm::SUnit::isScheduled, and llvm::SUnit::Preds.

Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().

static SUnit* getSingleUnscheduledSucc ( SUnit SU)
static

getSingleUnscheduledSucc - If there is exactly one unscheduled successor of SU, return it, otherwise return null.

Definition at line 441 of file HexagonMachineScheduler.cpp.

References I, llvm::SUnit::isScheduled, and llvm::SUnit::Succs.

Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().

Variable Documentation

const unsigned FactorOne = 2
static
const unsigned PriorityOne = 200
static
const unsigned PriorityTwo = 50
static
const unsigned ScaleTwo = 10
static