Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
cl::opt<bool> ForceTopDown("misched-topdown", cl::Hidden, | cl::opt<bool> ForceTopDown("misched-topdown", cl::Hidden, | ||||
cl::desc("Force top-down list scheduling")); | cl::desc("Force top-down list scheduling")); | ||||
cl::opt<bool> ForceBottomUp("misched-bottomup", cl::Hidden, | cl::opt<bool> ForceBottomUp("misched-bottomup", cl::Hidden, | ||||
cl::desc("Force bottom-up list scheduling")); | cl::desc("Force bottom-up list scheduling")); | ||||
cl::opt<bool> | cl::opt<bool> | ||||
DumpCriticalPathLength("misched-dcpl", cl::Hidden, | DumpCriticalPathLength("misched-dcpl", cl::Hidden, | ||||
cl::desc("Print critical path length to stdout")); | cl::desc("Print critical path length to stdout")); | ||||
cl::opt<bool> VerifyScheduling( | |||||
"verify-misched", cl::Hidden, | |||||
cl::desc("Verify machine instrs before and after machine scheduling")); | |||||
} // end namespace llvm | } // end namespace llvm | ||||
#ifndef NDEBUG | #ifndef NDEBUG | ||||
static cl::opt<bool> ViewMISchedDAGs("view-misched-dags", cl::Hidden, | static cl::opt<bool> ViewMISchedDAGs("view-misched-dags", cl::Hidden, | ||||
cl::desc("Pop up a window to show MISched dags after they are processed")); | cl::desc("Pop up a window to show MISched dags after they are processed")); | ||||
/// In some situations a few uninteresting nodes depend on nearly all other | /// In some situations a few uninteresting nodes depend on nearly all other | ||||
/// nodes in the graph, provide a cutoff to hide them. | /// nodes in the graph, provide a cutoff to hide them. | ||||
Show All 24 Lines | |||||
static cl::opt<bool> EnableCyclicPath("misched-cyclicpath", cl::Hidden, | static cl::opt<bool> EnableCyclicPath("misched-cyclicpath", cl::Hidden, | ||||
cl::desc("Enable cyclic critical path analysis."), cl::init(true)); | cl::desc("Enable cyclic critical path analysis."), cl::init(true)); | ||||
static cl::opt<bool> EnableMemOpCluster("misched-cluster", cl::Hidden, | static cl::opt<bool> EnableMemOpCluster("misched-cluster", cl::Hidden, | ||||
cl::desc("Enable memop clustering."), | cl::desc("Enable memop clustering."), | ||||
cl::init(true)); | cl::init(true)); | ||||
static cl::opt<bool> VerifyScheduling("verify-misched", cl::Hidden, | |||||
cl::desc("Verify machine instrs before and after machine scheduling")); | |||||
// DAG subtrees must have at least this many nodes. | // DAG subtrees must have at least this many nodes. | ||||
static const unsigned MinSubtreeSize = 8; | static const unsigned MinSubtreeSize = 8; | ||||
// Pin the vtables to this file. | // Pin the vtables to this file. | ||||
void MachineSchedStrategy::anchor() {} | void MachineSchedStrategy::anchor() {} | ||||
void ScheduleDAGMutation::anchor() {} | void ScheduleDAGMutation::anchor() {} | ||||
▲ Show 20 Lines • Show All 3,621 Lines • Show Last 20 Lines |