|
MLIR 23.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 1428 of file TransformInterfaces.h.
|
default |
|
inlineexplicit |
Definition at line 1431 of file TransformInterfaces.h.
References size().
|
inline |
Sets the list of results to the given range of values.
Definition at line 1438 of file TransformInterfaces.h.
References mlir::get().
Sets the list of results to size null pointers.
Definition at line 1434 of file TransformInterfaces.h.
References size().
|
inline |
Iterators over the list.
Definition at line 1469 of file TransformInterfaces.h.
|
inline |
Definition at line 1471 of file TransformInterfaces.h.
|
inline |
Definition at line 1470 of file TransformInterfaces.h.
|
inline |
Definition at line 1472 of file TransformInterfaces.h.
|
inline |
Element access. Expects the index to be in bounds.
Definition at line 1478 of file TransformInterfaces.h.
|
inline |
Definition at line 1479 of file TransformInterfaces.h.
|
inline |
Definition at line 1463 of file TransformInterfaces.h.
Definition at line 1462 of file TransformInterfaces.h.
Appends an element to the list.
Definition at line 1461 of file TransformInterfaces.h.
Referenced by doit().
Reserves space for size elements in the list.
Definition at line 1466 of file TransformInterfaces.h.
References size().
Referenced by mlir::transform::detail::applyTransformToEach().
|
inline |
Returns the number of elements in the list.
Definition at line 1475 of file TransformInterfaces.h.
Referenced by ApplyToEachResultList(), assign(), mlir::transform::detail::checkApplyToOne(), and reserve().