class SuccIterator

Declaration

template <class InstructionT, class BlockT>
class SuccIterator { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/CFG.h:138

Templates

InstructionT
BlockT

Member Variables

private InstructionT* Inst
private int Idx

Method Overview

Methods

inline SuccIterator<InstructionT, BlockT>(
    InstructionT* Inst)

Declared at: llvm/include/llvm/IR/CFG.h:182

Parameters

InstructionT* Inst

inline SuccIterator<InstructionT, BlockT>(
    InstructionT* Inst,
    bool)

Declared at: llvm/include/llvm/IR/CFG.h:184

Parameters

InstructionT* Inst
bool

inline BlockT* getSource()

Description

Get the source BlockT of this iterator.

Declared at: llvm/include/llvm/IR/CFG.h:236

int getSuccessorIndex() const

Description

This is used to interface between code that wants to operate on terminator instructions directly.

Declared at: llvm/include/llvm/IR/CFG.h:199

inline bool index_is_valid(int Idx)

Declared at: llvm/include/llvm/IR/CFG.h:152

Parameters

int Idx