MLIR 22.0.0git
BufferizationOps.cpp File Reference
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/IR/Matchers.h"
#include <optional>
#include "mlir/Dialect/Bufferization/IR/BufferizationOps.cpp.inc"

Go to the source code of this file.

Macros

#define GET_OP_CLASSES

Functions

static LogicalResult updateDeallocIfChanged (DeallocOp deallocOp, ValueRange memrefs, ValueRange conditions, PatternRewriter &rewriter)

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 1205 of file BufferizationOps.cpp.

Function Documentation

◆ updateDeallocIfChanged()

LogicalResult updateDeallocIfChanged ( DeallocOp deallocOp,
ValueRange memrefs,
ValueRange conditions,
PatternRewriter & rewriter )
static

Definition at line 926 of file BufferizationOps.cpp.

References mlir::RewriterBase::modifyOpInPlace(), and success().