LLVM API Documentation
#include <ScheduleDAG.h>
Collaboration diagram for llvm::SUnit:
Public Member Functions | |
SUnit (SDNode *node, unsigned nodenum) | |
void | dump (const SelectionDAG *G) const |
void | dumpAll (const SelectionDAG *G) const |
Public Attributes | |
SDNode * | Node |
std::vector< SDNode * > | FlaggedNodes |
std::set< std::pair< SUnit *, bool > > | Preds |
std::set< std::pair< SUnit *, bool > > | Succs |
short | NumPreds |
short | NumSuccs |
short | NumPredsLeft |
short | NumSuccsLeft |
short | NumChainPredsLeft |
short | NumChainSuccsLeft |
bool | isTwoAddress: 1 |
bool | isCommutable: 1 |
bool | isPending: 1 |
bool | isAvailable: 1 |
bool | isScheduled: 1 |
unsigned short | Latency |
unsigned | CycleBound |
unsigned | Cycle |
unsigned | Depth |
unsigned | Height |
unsigned | NodeNum |
Definition at line 78 of file ScheduleDAG.h.
llvm::SUnit::SUnit | ( | SDNode * | node, | |
unsigned | nodenum | |||
) | [inline] |
Definition at line 105 of file ScheduleDAG.h.
void SUnit::dump | ( | const SelectionDAG * | G | ) | const |
SUnit - Scheduling unit. It's an wrapper around either a single SDNode or a group of nodes flagged together.
Definition at line 618 of file ScheduleDAG.cpp.
References llvm::SDNode::dump(), FlaggedNodes, G, Node, and NodeNum.
Referenced by dumpAll().
void SUnit::dumpAll | ( | const SelectionDAG * | G | ) | const |
Definition at line 631 of file ScheduleDAG.cpp.
References Depth, dump(), E, G, Height, Latency, NumChainPredsLeft, NumChainSuccsLeft, NumPredsLeft, NumSuccsLeft, Preds, and Succs.
Definition at line 79 of file ScheduleDAG.h.
Referenced by llvm::ScheduleDAG::BuildSchedUnits(), dump(), getDefUsePredecessor(), getNumResults(), getRegClass(), isCopyFromLiveIn(), and isFloater().
std::vector<SDNode*> llvm::SUnit::FlaggedNodes |
Definition at line 80 of file ScheduleDAG.h.
Referenced by llvm::ScheduleDAG::BuildSchedUnits(), and dump().
std::set<std::pair<SUnit*,bool> > llvm::SUnit::Preds |
Definition at line 84 of file ScheduleDAG.h.
Referenced by CalculateHeights(), dumpAll(), getDefUsePredecessor(), getSingleUnscheduledPred(), isFloater(), isReachable(), isSimpleFloaterUse(), and SumOfUnscheduledPredsOfSuccs().
std::set<std::pair<SUnit*,bool> > llvm::SUnit::Succs |
Definition at line 85 of file ScheduleDAG.h.
Referenced by CalculateDepths(), dumpAll(), and SumOfUnscheduledPredsOfSuccs().
short llvm::SUnit::NumPreds |
short llvm::SUnit::NumSuccs |
Definition at line 88 of file ScheduleDAG.h.
Definition at line 94 of file ScheduleDAG.h.
Definition at line 95 of file ScheduleDAG.h.
Definition at line 96 of file ScheduleDAG.h.
unsigned short llvm::SUnit::Latency |
Definition at line 98 of file ScheduleDAG.h.
Referenced by llvm::ScheduleDAG::BuildSchedUnits(), and dumpAll().
unsigned llvm::SUnit::CycleBound |
unsigned llvm::SUnit::Cycle |
Definition at line 100 of file ScheduleDAG.h.
unsigned llvm::SUnit::Depth |
unsigned llvm::SUnit::Height |
unsigned llvm::SUnit::NodeNum |