LLVM  3.7.0
Public Member Functions | List of all members
llvm::ScheduleDAGSDNodes::RegDefIter Class Reference

RegDefIter - In place iteration over the values defined by an SUnit. More...

#include <ScheduleDAGSDNodes.h>

Public Member Functions

 RegDefIter (const SUnit *SU, const ScheduleDAGSDNodes *SD)
 
bool IsValid () const
 
MVT GetValue () const
 
const SDNodeGetNode () const
 
unsigned GetIdx () const
 
void Advance ()
 

Detailed Description

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 134 of file ScheduleDAGSDNodes.h.

Constructor & Destructor Documentation

ScheduleDAGSDNodes::RegDefIter::RegDefIter ( const SUnit SU,
const ScheduleDAGSDNodes SD 
)

Definition at line 558 of file ScheduleDAGSDNodes.cpp.

References Advance().

Member Function Documentation

void ScheduleDAGSDNodes::RegDefIter::Advance ( )
unsigned llvm::ScheduleDAGSDNodes::RegDefIter::GetIdx ( ) const
inline

Definition at line 154 of file ScheduleDAGSDNodes.h.

Referenced by GetCostForDef().

const SDNode* llvm::ScheduleDAGSDNodes::RegDefIter::GetNode ( ) const
inline

Definition at line 150 of file ScheduleDAGSDNodes.h.

Referenced by GetCostForDef().

MVT llvm::ScheduleDAGSDNodes::RegDefIter::GetValue ( ) const
inline

Definition at line 145 of file ScheduleDAGSDNodes.h.

References IsValid().

Referenced by GetCostForDef().

bool llvm::ScheduleDAGSDNodes::RegDefIter::IsValid ( ) const
inline

Definition at line 143 of file ScheduleDAGSDNodes.h.

Referenced by GetValue().


The documentation for this class was generated from the following files: