LLVM API Documentation

Defines | 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.

Defines

#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

Define Documentation

#define DEBUG_TYPE   "misched"

Definition at line 21 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 430 of file HexagonMachineScheduler.cpp.

References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), 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 448 of file HexagonMachineScheduler.cpp.

References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), 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]