My Project
|
#include <OpDefinition.h>
Public Types | |
using | operand_iterator = Operation::operand_iterator |
using | operand_range = Operation::operand_range |
using | operand_type_iterator = Operation::operand_type_iterator |
using | operand_type_range = Operation::operand_type_range |
Public Member Functions | |
unsigned | getNumOperands () |
Return the number of operands. More... | |
Value | getOperand (unsigned i) |
Return the operand at index 'i'. More... | |
void | setOperand (unsigned i, Value value) |
Set the operand at index 'i' to 'value'. More... | |
operand_iterator | operand_begin () |
Operand iterator access. More... | |
operand_iterator | operand_end () |
operand_range | getOperands () |
operand_type_iterator | operand_type_begin () |
Operand type access. More... | |
operand_type_iterator | operand_type_end () |
operand_type_range | getOperandTypes () |
Additional Inherited Members | |
![]() | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
![]() | |
static LogicalResult | verifyTrait (Operation *op) |
static AbstractOperation::OperationProperties | getTraitProperties () |
Utility trait base that provides accessors for derived traits that have multiple operands.
using mlir::OpTrait::detail::MultiOperandTraitBase< ConcreteType, TraitType >::operand_iterator = Operation::operand_iterator |
using mlir::OpTrait::detail::MultiOperandTraitBase< ConcreteType, TraitType >::operand_range = Operation::operand_range |
using mlir::OpTrait::detail::MultiOperandTraitBase< ConcreteType, TraitType >::operand_type_iterator = Operation::operand_type_iterator |
using mlir::OpTrait::detail::MultiOperandTraitBase< ConcreteType, TraitType >::operand_type_range = Operation::operand_type_range |
|
inline |
Return the number of operands.
|
inline |
Return the operand at index 'i'.
|
inline |
|
inline |
|
inline |
Operand iterator access.
|
inline |
|
inline |
Operand type access.
|
inline |
|
inline |
Set the operand at index 'i' to 'value'.