MLIR 24.0.0git
MemorySlotInterfacesImpl.h File Reference
#include "mlir/IR/Value.h"

Go to the source code of this file.

Namespaces

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

Functions

void mlir::memref::registerMemorySlotOpInterfaceExternalModels (DialectRegistry &registry)
bool mlir::memref::isDynamicSubViewSlot (Value slotPtr)
 Returns whether slotPtr is a dynamic memref.subview that can be promoted as an alias of the whole parent vector.
Value mlir::memref::buildDynamicSubViewMask (OpBuilder &builder, Location loc, Value slotPtr)
 Builds a mask for the subview's valid region in the parent vector, or returns null if isDynamicSubViewSlot(slotPtr) is false.