MLIR
20.0.0git
|
This is a builder type that keeps local references to arguments. More...
#include "mlir/IR/BuiltinTypes.h"
Public Member Functions | |
Builder (VectorType other) | |
Build from another VectorType. More... | |
Builder (ArrayRef< int64_t > shape, Type elementType, ArrayRef< bool > scalableDims={}) | |
Build from scratch. More... | |
Builder & | setShape (ArrayRef< int64_t > newShape, ArrayRef< bool > newIsScalableDim={}) |
Builder & | setElementType (Type newElementType) |
Builder & | dropDim (unsigned pos) |
Erase a dim from shape @pos. More... | |
Builder & | setDim (unsigned pos, int64_t val) |
Set a dim in shape @pos to val. More... | |
operator VectorType () | |
This is a builder type that keeps local references to arguments.
Arguments that are passed into the builder must outlive the builder.
Definition at line 315 of file BuiltinTypes.h.
|
inlineexplicit |
Build from another VectorType.
Definition at line 318 of file BuiltinTypes.h.
|
inline |
Build from scratch.
Definition at line 323 of file BuiltinTypes.h.
|
inline |
Erase a dim from shape @pos.
Definition at line 340 of file BuiltinTypes.h.
References mlir::CopyOnWriteArrayRef< T >::empty(), and mlir::CopyOnWriteArrayRef< T >::erase().
Referenced by reshapeLoad(), and reshapeStore().
|
inline |
Definition at line 355 of file BuiltinTypes.h.
References mlir::get().
|
inline |
Set a dim in shape @pos to val.
Definition at line 349 of file BuiltinTypes.h.
Definition at line 334 of file BuiltinTypes.h.
|
inline |
Definition at line 327 of file BuiltinTypes.h.