|
MLIR 22.0.0git
|
A list of results of applying a transform op with ApplyEachOpTrait to a single payload operation, co-indexed with the results of the transform op. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
| ApplyToEachResultList ()=default | |
| ApplyToEachResultList (unsigned size) | |
| void | assign (unsigned size, std::nullptr_t) |
| Sets the list of results to size null pointers. | |
| template<typename Range> | |
| void | assign (Range &&range) |
| Sets the list of results to the given range of values. | |
| void | push_back (Operation *op) |
| Appends an element to the list. | |
| void | push_back (Attribute attr) |
| void | push_back (ApplyToEachResult r) |
| void | reserve (unsigned size) |
| Reserves space for size elements in the list. | |
| auto | begin () |
| Iterators over the list. | |
| auto | end () |
| auto | begin () const |
| auto | end () const |
| size_t | size () const |
| Returns the number of elements in the list. | |
| ApplyToEachResult & | operator[] (size_t index) |
| Element access. Expects the index to be in bounds. | |
| const ApplyToEachResult & | operator[] (size_t index) const |
A list of results of applying a transform op with ApplyEachOpTrait to a single payload operation, co-indexed with the results of the transform op.
Definition at line 1409 of file TransformInterfaces.h.
|
default |
|
inlineexplicit |
Definition at line 1412 of file TransformInterfaces.h.
References size().
|
inline |
Sets the list of results to the given range of values.
Definition at line 1419 of file TransformInterfaces.h.
References mlir::get().
Sets the list of results to size null pointers.
Definition at line 1415 of file TransformInterfaces.h.
References size().
|
inline |
Iterators over the list.
Definition at line 1450 of file TransformInterfaces.h.
|
inline |
Definition at line 1452 of file TransformInterfaces.h.
|
inline |
Definition at line 1451 of file TransformInterfaces.h.
|
inline |
Definition at line 1453 of file TransformInterfaces.h.
|
inline |
Element access. Expects the index to be in bounds.
Definition at line 1459 of file TransformInterfaces.h.
|
inline |
Definition at line 1460 of file TransformInterfaces.h.
|
inline |
Definition at line 1444 of file TransformInterfaces.h.
Definition at line 1443 of file TransformInterfaces.h.
Appends an element to the list.
Definition at line 1442 of file TransformInterfaces.h.
Referenced by doit().
Reserves space for size elements in the list.
Definition at line 1447 of file TransformInterfaces.h.
References size().
Referenced by mlir::transform::detail::applyTransformToEach().
|
inline |
Returns the number of elements in the list.
Definition at line 1456 of file TransformInterfaces.h.
Referenced by ApplyToEachResultList(), assign(), mlir::transform::detail::checkApplyToOne(), and reserve().