class ScheduleDAGSDNodes::RegDefIter

Declaration

class ScheduleDAGSDNodes::RegDefIter { /* full declaration omitted */ };

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.

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:138

Member Variables

private const llvm::ScheduleDAGSDNodes* SchedDAG
private const llvm::SDNode* Node
private unsigned int DefIdx = 0
private unsigned int NodeNumDefs = 0
private llvm::MVT ValueType

Method Overview

Methods

void Advance()

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:163

unsigned int GetIdx() const

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:159

const llvm::SDNode* GetNode() const

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:155

llvm::MVT GetValue() const

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:150

void InitNodeNumDefs()

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:166

bool IsValid() const

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:148

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

Declared at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h:146

Parameters

const llvm::SUnit* SU
const llvm::ScheduleDAGSDNodes* SD