Grant InstIterator access to the basic‐block list.

Synopsis

Declared in <llvm/IR/InstIterator.h>

template<
    class BB_t,
    class BB_i_t,
    class BI_t,
    class II_t>
class InstIterator;

Type Aliases

Name

Description

difference_type

Signed distance between iterators.

iterator_category

Bidirectional traversal category.

pointer

Pointer to an instruction.

reference

Reference to an instruction.

value_type

Instruction type referred to by this iterator.

Member Functions

Name

Description

InstIterator [constructor]

Constructors

getBasicBlockIterator

Return the underlying basic‐block list iterator.

getInstructionIterator

Return the underlying instruction iterator within the current block.

operator*

Return a reference to the current instruction.

operator++

Increment operators

operator‐‐

Decrement operators

operator‐>

Return a pointer to the current instruction.

operator==

Return true if this iterator equals y.

operator!=

Return true if this iterator is not equal to y.

Created with MrDocs