LLVM  5.0.0
Macros | Functions | Variables
HexagonMachineScheduler.cpp File Reference
#include "HexagonMachineScheduler.h"
#include "HexagonSubtarget.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/ScheduleDAGMutation.h"
#include "llvm/IR/Function.h"
#include <iomanip>
#include <sstream>
Include dependency graph for HexagonMachineScheduler.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

static bool isSingleUnscheduledPred (SUnit *SU, SUnit *SU2)
 isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates) More...
 
static bool isSingleUnscheduledSucc (SUnit *SU, SUnit *SU2)
 isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates) More...
 

Variables

static cl::opt< bool > IgnoreBBRegPressure ("ignore-bb-reg-pressure", cl::Hidden, cl::ZeroOrMore, cl::init(false))
 
static cl::opt< bool > SchedPredsCloser ("sched-preds-closer", cl::Hidden, cl::ZeroOrMore, cl::init(true))
 
static cl::opt< unsigned > SchedDebugVerboseLevel ("misched-verbose-level", cl::Hidden, cl::ZeroOrMore, cl::init(1))
 
static cl::opt< bool > TopUseShorterTie ("top-use-shorter-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
 
static cl::opt< bool > BotUseShorterTie ("bot-use-shorter-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
 
static cl::opt< bool > DisableTCTie ("disable-tc-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
 
static cl::opt< bool > SchedRetvalOptimization ("sched-retval-optimization", cl::Hidden, cl::ZeroOrMore, cl::init(true))
 
static cl::opt< bool > CheckEarlyAvail ("check-early-avail", cl::Hidden, cl::ZeroOrMore, cl::init(true))
 
static const unsigned PriorityOne = 200
 
static const unsigned PriorityTwo = 50
 
static const unsigned PriorityThree = 75
 
static const unsigned ScaleTwo = 10
 
static const unsigned FactorOne = 2
 

Macro Definition Documentation

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 52 of file HexagonMachineScheduler.cpp.

Function Documentation

static bool isSingleUnscheduledPred ( SUnit *  SU,
SUnit *  SU2 
)
inlinestatic

isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates)

Definition at line 568 of file HexagonMachineScheduler.cpp.

References llvm::SUnit::NumPredsLeft, and llvm::SUnit::Preds.

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

static bool isSingleUnscheduledSucc ( SUnit *  SU,
SUnit *  SU2 
)
inlinestatic

isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates)

Definition at line 583 of file HexagonMachineScheduler.cpp.

References llvm::SUnit::NumSuccsLeft, and llvm::SUnit::Succs.

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

Variable Documentation

cl::opt<bool> BotUseShorterTie("bot-use-shorter-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
static
cl::opt<bool> CheckEarlyAvail("check-early-avail", cl::Hidden, cl::ZeroOrMore, cl::init(true))
static
cl::opt<bool> DisableTCTie("disable-tc-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
static
const unsigned FactorOne = 2
static
cl::opt<bool> IgnoreBBRegPressure("ignore-bb-reg-pressure", cl::Hidden, cl::ZeroOrMore, cl::init(false))
static
const unsigned PriorityOne = 200
static
const unsigned PriorityThree = 75
static
const unsigned PriorityTwo = 50
static
const unsigned ScaleTwo = 10
static
cl::opt<unsigned> SchedDebugVerboseLevel("misched-verbose-level", cl::Hidden, cl::ZeroOrMore, cl::init(1))
static
cl::opt<bool> SchedPredsCloser("sched-preds-closer", cl::Hidden, cl::ZeroOrMore, cl::init(true))
static
cl::opt<bool> SchedRetvalOptimization("sched-retval-optimization", cl::Hidden, cl::ZeroOrMore, cl::init(true))
static
cl::opt<bool> TopUseShorterTie("top-use-shorter-tie", cl::Hidden, cl::ZeroOrMore, cl::init(false))
static