MLIR  19.0.0git
Public Member Functions | List of all members
mlir::MemRefType::Builder Class Reference

This is a builder type that keeps local references to arguments. More...

#include "mlir/IR/BuiltinTypes.h"

Public Member Functions

 Builder (MemRefType other)
 Builder (ArrayRef< int64_t > shape, Type elementType)
BuildersetShape (ArrayRef< int64_t > newShape)
BuildersetElementType (Type newElementType)
BuildersetLayout (MemRefLayoutAttrInterface newLayout)
BuildersetMemorySpace (Attribute newMemorySpace)
 operator MemRefType ()

Detailed Description

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 201 of file BuiltinTypes.h.

Constructor & Destructor Documentation

◆ Builder() [1/2]

mlir::MemRefType::Builder::Builder ( MemRefType  other)

Definition at line 204 of file BuiltinTypes.h.

◆ Builder() [2/2]

mlir::MemRefType::Builder::Builder ( ArrayRef< int64_t >  shape,
Type  elementType 

Definition at line 209 of file BuiltinTypes.h.

Member Function Documentation

◆ operator MemRefType()

mlir::MemRefType::Builder::operator MemRefType ( )

Definition at line 232 of file BuiltinTypes.h.

References mlir::get().

◆ setElementType()

Builder& mlir::MemRefType::Builder::setElementType ( Type  newElementType)

Definition at line 217 of file BuiltinTypes.h.

Referenced by mlir::BaseMemRefType::cloneWith().

◆ setLayout()

Builder& mlir::MemRefType::Builder::setLayout ( MemRefLayoutAttrInterface  newLayout)

◆ setMemorySpace()

Builder& mlir::MemRefType::Builder::setMemorySpace ( Attribute  newMemorySpace)

◆ setShape()

Builder& mlir::MemRefType::Builder::setShape ( ArrayRef< int64_t >  newShape)

The documentation for this class was generated from the following file: