MLIR  19.0.0git
Classes | Namespaces | Functions
BufferDeallocationOpInterface.h File Reference
#include "mlir/Analysis/Liveness.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h.inc"

Go to the source code of this file.

Classes

struct  mlir::bufferization::ValueComparator
 Compare two SSA values in a deterministic manner. More...
 
class  mlir::bufferization::Ownership
 This class is used to track the ownership of values. More...
 
struct  mlir::bufferization::DeallocationOptions
 Options for BufferDeallocationOpInterface-based buffer deallocation. More...
 
class  mlir::bufferization::DeallocationState
 This class collects all the state that we need to perform the buffer deallocation pass with associated helper functions such that we have easy access to it in the BufferDeallocationOpInterface implementations and the BufferDeallocation pass. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::bufferization
 
 mlir::bufferization::deallocation_impl
 

Functions

FailureOr< Operation * > mlir::bufferization::deallocation_impl::insertDeallocOpForReturnLike (DeallocationState &state, Operation *op, ValueRange operands, SmallVectorImpl< Value > &updatedOperandOwnerships)
 Insert a bufferization.dealloc operation right before op which has to be a terminator without any successors. More...