#include "mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Bufferization/IR/AllocationOpInterface.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/Interfaces/MemorySlotInterfaces.h"
#include "mlir/Interfaces/RuntimeVerifiableOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Interfaces/ValueBoundsOpInterface.h"
#include "mlir/Transforms/InliningUtils.h"
#include <optional>
usingnamespacemlir;
usingnamespacemlir::memref;
#include "mlir/Dialect/MemRef/IR/MemRefOpsDialect.cpp.inc"
namespace {
struct MemRefInlinerInterface : public DialectInlinerInterface { … };
}
void mlir::memref::MemRefDialect::initialize() { … }
std::optional<Operation *> mlir::memref::findDealloc(Value allocValue) { … }