MLIR  17.0.0git
Namespaces | Macros | Functions
MemRef.h File Reference
#include "mlir/Dialect/Utils/ReshapeOpsUtils.h"
#include "mlir/IR/Dialect.h"
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/Interfaces/CastInterfaces.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/CopyOpInterface.h"
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/ShapedOpInterfaces.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Interfaces/ViewLikeInterface.h"
#include <optional>
#include "mlir/Dialect/MemRef/IR/MemRefOpsDialect.h.inc"
#include "mlir/Dialect/MemRef/IR/MemRefOps.h.inc"
+ Include dependency graph for MemRef.h:

Go to the source code of this file.

Namespaces

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

Macros

#define GET_OP_CLASSES
 

Functions

raw_ostream & mlir::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. More...
 
LogicalResult mlir::memref::foldMemRefCast (Operation *op, Value inner=nullptr)
 This is a common utility used for patterns of the form "someop(memref.cast) -> someop". More...
 
Type mlir::memref::getTensorTypeFromMemRefType (Type type)
 Return an unranked/ranked tensor type for the given unranked/ranked memref type. More...
 
std::optional< Operation * > mlir::memref::findDealloc (Value allocValue)
 Finds a single dealloc operation for the given allocated value. More...
 
SmallVector< OpFoldResultmlir::memref::getMixedSizes (OpBuilder &builder, Location loc, Value value)
 Return the dimensions of the given memref value. More...
 
Value mlir::memref::createCanonicalRankReducingSubViewOp (OpBuilder &b, Location loc, Value memref, ArrayRef< int64_t > targetShape)
 Create a rank-reducing SubViewOp @[0 . More...
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 81 of file MemRef.h.