LLVM
8.0.1
|
RegDefIter - In place iteration over the values defined by an SUnit. More...
#include "CodeGen/SelectionDAG/ScheduleDAGSDNodes.h"
Public Member Functions | |
RegDefIter (const SUnit *SU, const ScheduleDAGSDNodes *SD) | |
bool | IsValid () const |
MVT | GetValue () const |
const SDNode * | GetNode () const |
unsigned | GetIdx () const |
void | Advance () |
RegDefIter - In place iteration over the values defined by an SUnit.
This does not need copies of the iterator or any other STLisms. The iterator creates itself, rather than being provided by the SchedDAG.
Definition at line 138 of file ScheduleDAGSDNodes.h.
ScheduleDAGSDNodes::RegDefIter::RegDefIter | ( | const SUnit * | SU, |
const ScheduleDAGSDNodes * | SD | ||
) |
Definition at line 557 of file ScheduleDAGSDNodes.cpp.
References Advance().
void ScheduleDAGSDNodes::RegDefIter::Advance | ( | ) |
Definition at line 565 of file ScheduleDAGSDNodes.cpp.
References llvm::SDNode::getGluedNode(), llvm::SDNode::getSimpleValueType(), and llvm::SDNode::hasAnyUseOfValue().
Referenced by GetIdx(), and RegDefIter().
|
inline |
Definition at line 159 of file ScheduleDAGSDNodes.h.
References Advance().
Definition at line 155 of file ScheduleDAGSDNodes.h.
|
inline |
Definition at line 150 of file ScheduleDAGSDNodes.h.
References assert(), and IsValid().
Referenced by GetCostForDef().
|
inline |
Definition at line 148 of file ScheduleDAGSDNodes.h.
Referenced by CalcNodeSethiUllmanNumber(), and GetValue().