MLIR  20.0.0git
Public Member Functions | List of all members
mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp > Struct Template Reference

Bufferizable ops that implement the DestinationStyleOpInterface can use this external model base class. More...

#include "mlir/Dialect/Bufferization/IR/DstBufferizableOpInterfaceImpl.h"

+ Inheritance diagram for mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >:

Public Member Functions

bool bufferizesToMemoryRead (Operation *op, OpOperand &opOperand, const AnalysisState &state) const
 
bool bufferizesToMemoryWrite (Operation *op, OpOperand &opOperand, const AnalysisState &state) const
 
AliasingValueList getAliasingValues (Operation *op, OpOperand &opOperand, const AnalysisState &state) const
 

Detailed Description

template<typename ConcreteModel, typename ConcreteOp>
struct mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >

Bufferizable ops that implement the DestinationStyleOpInterface can use this external model base class.

It provides default implementations for various required interface methods.

Definition at line 22 of file DstBufferizableOpInterfaceImpl.h.

Member Function Documentation

◆ bufferizesToMemoryRead()

template<typename ConcreteModel , typename ConcreteOp >
bool mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::bufferizesToMemoryRead ( Operation op,
OpOperand opOperand,
const AnalysisState state 
) const
inline

Definition at line 24 of file DstBufferizableOpInterfaceImpl.h.

◆ bufferizesToMemoryWrite()

template<typename ConcreteModel , typename ConcreteOp >
bool mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::bufferizesToMemoryWrite ( Operation op,
OpOperand opOperand,
const AnalysisState state 
) const
inline

Definition at line 32 of file DstBufferizableOpInterfaceImpl.h.

◆ getAliasingValues()

template<typename ConcreteModel , typename ConcreteOp >
AliasingValueList mlir::bufferization::DstBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::getAliasingValues ( Operation op,
OpOperand opOperand,
const AnalysisState state 
) const
inline

Definition at line 39 of file DstBufferizableOpInterfaceImpl.h.


The documentation for this struct was generated from the following file: