MLIR
20.0.0git
|
Utility trait base that provides accessors for derived traits that have multiple successors. More...
#include "mlir/IR/OpDefinition.h"
Public Types | |
using | succ_iterator = Operation::succ_iterator |
using | succ_range = SuccessorRange |
Public Member Functions | |
unsigned | getNumSuccessors () |
Return the number of successors. More... | |
Block * | getSuccessor (unsigned i) |
Return the successor at index . More... | |
void | setSuccessor (Block *block, unsigned i) |
Set the successor at index . More... | |
succ_iterator | succ_begin () |
Successor iterator access. More... | |
succ_iterator | succ_end () |
succ_range | getSuccessors () |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, TraitType > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Utility trait base that provides accessors for derived traits that have multiple successors.
Definition at line 785 of file OpDefinition.h.
using mlir::OpTrait::detail::MultiSuccessorTraitBase< ConcreteType, TraitType >::succ_iterator = Operation::succ_iterator |
Definition at line 786 of file OpDefinition.h.
using mlir::OpTrait::detail::MultiSuccessorTraitBase< ConcreteType, TraitType >::succ_range = SuccessorRange |
Definition at line 787 of file OpDefinition.h.
|
inline |
Return the number of successors.
Definition at line 790 of file OpDefinition.h.
References mlir::Operation::getNumSuccessors(), and mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().
|
inline |
Return the successor at index
.
Definition at line 795 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation(), and mlir::Operation::getSuccessor().
|
inline |
Definition at line 807 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation(), and mlir::Operation::getSuccessors().
|
inline |
Set the successor at index
.
Definition at line 800 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation(), and mlir::Operation::setSuccessor().
|
inline |
Successor iterator access.
Definition at line 805 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().
|
inline |
Definition at line 806 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().