|
My Project
|
This class implements the operand iterators for the Operation class. More...
#include <OperationSupport.h>


Public Types | |
| using | type_iterator = ValueTypeIterator< iterator > |
| Returns the types of the values within this range. More... | |
Public Types inherited from mlir::detail::indexed_accessor_range_base< OperandRange, OpOperand *, Value, Value, Value > | |
| using | RangeBaseT = indexed_accessor_range_base< OperandRange, OpOperand *, Value, Value, Value > |
Public Member Functions | |
| OperandRange (Operation *op) | |
| iterator_range< type_iterator > | getTypes () const |
Public Member Functions inherited from mlir::detail::indexed_accessor_range_base< OperandRange, OpOperand *, Value, Value, Value > | |
| indexed_accessor_range_base (iterator begin, iterator end) | |
| indexed_accessor_range_base (const iterator_range< iterator > &range) | |
| indexed_accessor_range_base (OpOperand * base, ptrdiff_t count) | |
| iterator | begin () const |
| iterator | end () const |
| Value | operator[] (unsigned index) const |
| size_t | size () const |
| Return the size of this range. More... | |
| bool | empty () const |
| Return if the range is empty. More... | |
| OperandRange | slice (size_t n, size_t m) const |
| Drop the first N elements, and keep M elements. More... | |
| OperandRange | drop_front (size_t n=1) const |
| Drop the first n elements. More... | |
| OperandRange | drop_back (size_t n=1) const |
| Drop the last n elements. More... | |
| OperandRange | take_front (size_t n=1) const |
| Take the first n elements. More... | |
| operator SmallVector< SVT, N > () const | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::detail::indexed_accessor_range_base< OperandRange, OpOperand *, Value, Value, Value > | |
| indexed_accessor_range_base (const indexed_accessor_range_base &)=default | |
| indexed_accessor_range_base (indexed_accessor_range_base &&)=default | |
| indexed_accessor_range_base & | operator= (const indexed_accessor_range_base &)=default |
Protected Attributes inherited from mlir::detail::indexed_accessor_range_base< OperandRange, OpOperand *, Value, Value, Value > | |
| OpOperand * | base |
| The base that owns the provided range of values. More... | |
| ptrdiff_t | count |
| The size from the owning range. More... | |
This class implements the operand iterators for the Operation class.
| using mlir::OperandRange::type_iterator = ValueTypeIterator<iterator> |
Returns the types of the values within this range.
| OperandRange::OperandRange | ( | Operation * | op | ) |
|
inline |
1.8.13