llvm::SDNodeIterator

Forward iterator over the operand SDNodes of an SDNode.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

class SDNodeIterator;

Type Aliases

NameDescription
difference_type Difference type of the iterator.
iterator_category Iterator category tag.
pointer Pointer type of the iterator.
reference Reference type of the iterator.
value_type Value type of the iterator.

Member Functions

NameDescription
getNode Return the node being iterated.
getOperand Return the current operand index.
operator* Return the current operand SDNode.
operator++ Increment operators
operator- Return the distance to iterator p Other.
operator-> Return the current operand SDNode.
operator== Return true if this iterator equals p x.
operator!= Return true if this iterator differs from p x.

Static Member Functions

NameDescription
begin Return a begin iterator for operands of p N.
end Return an end iterator for operands of p N.