llvm::GraphTraits<SUnit*>

GraphTraits specialization so algorithms can walk SUnit predecessor edges.

Synopsis

Declared in <llvm/CodeGen/ScheduleDAG.h>

template<>
struct GraphTraits<SUnit*>;

Type Aliases

NameDescription
ChildIteratorType Iterator type over child (predecessor) nodes.
NodeRef Handle type for an SUnit graph node.

Static Member Functions

NameDescription
child_begin Return an iterator to the first child (predecessor) of N.
child_end Return an iterator past the last child (predecessor) of N.
getEntryNode Return N as the entry node of a single-node graph walk.

Derived Classes

NameDescription
GraphTraits<ScheduleDAG*> GraphTraits specialization for iterating all SUnits in a ScheduleDAG.