MLIR
20.0.0git
|
This class implements the operand iterators for the Operation class. More...
#include "mlir/IR/ValueRange.h"
Public Types | |
using | type_iterator = ValueTypeIterator< iterator > |
Returns the types of the values within this range. More... | |
using | type_range = ValueTypeRange< OperandRange > |
Public Member Functions | |
type_range | getTypes () const |
type_range | getType () const |
unsigned | getBeginOperandIndex () const |
Return the operand index of the first element of this range. More... | |
OperandRangeRange | split (DenseI32ArrayAttr segmentSizes) const |
Split this range into a set of contiguous subranges using the given elements attribute, which contains the sizes of the sub ranges. More... | |
This class implements the operand iterators for the Operation class.
Definition at line 41 of file ValueRange.h.
using mlir::OperandRange::type_iterator = ValueTypeIterator<iterator> |
Returns the types of the values within this range.
Definition at line 47 of file ValueRange.h.
Definition at line 48 of file ValueRange.h.
unsigned OperandRange::getBeginOperandIndex | ( | ) | const |
Return the operand index of the first element of this range.
The range must not be empty.
Definition at line 392 of file OperationSupport.cpp.
Referenced by fuse(), mlir::detail::getBranchSuccessorArgument(), mlir::bufferization::detail::getCallerOpOperands(), mlir::affine::AffineBound::getOperand(), and mlir::SuccessorOperands::getOperandIndex().
OperandRange::type_range OperandRange::getType | ( | ) | const |
Definition at line 30 of file ValueRange.cpp.
References getTypes().
OperandRange::type_range OperandRange::getTypes | ( | ) | const |
Definition at line 26 of file ValueRange.cpp.
Referenced by mlir::Operation::getOperandTypes(), and getType().
OperandRangeRange OperandRange::split | ( | DenseI32ArrayAttr | segmentSizes | ) | const |
Split this range into a set of contiguous subranges using the given elements attribute, which contains the sizes of the sub ranges.
Definition at line 397 of file OperationSupport.cpp.