MLIR 22.0.0git
MemRef.h File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::arith
namespace  mlir::memref

Macros

#define GET_OP_CLASSES

Functions

raw_ostreammlir::operator<< (raw_ostream &os, const Range &range)
SmallVector< Range, 8 > mlir::getOrCreateRanges (OffsetSizeAndStrideOpInterface op, OpBuilder &b, Location loc)
 Return the list of Range (i.e.
LogicalResult mlir::memref::foldMemRefCast (Operation *op, Value inner=nullptr)
 This is a common utility used for patterns of the form "someop(memref.cast) -> someop".
Type mlir::memref::getTensorTypeFromMemRefType (Type type)
 Return an unranked/ranked tensor type for the given unranked/ranked memref type.
std::optional< Operation * > mlir::memref::findDealloc (Value allocValue)
 Finds a single dealloc operation for the given allocated value.
OpFoldResult mlir::memref::getMixedSize (OpBuilder &builder, Location loc, Value value, int64_t dim)
 Return the dimension of the given memref value.
SmallVector< OpFoldResultmlir::memref::getMixedSizes (OpBuilder &builder, Location loc, Value value)
 Return the dimensions of the given memref value.
Value mlir::memref::createCanonicalRankReducingSubViewOp (OpBuilder &b, Location loc, Value memref, ArrayRef< int64_t > targetShape)
 Create a rank-reducing SubViewOp @[0 .

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 92 of file MemRef.h.