MLIR 22.0.0git
mlir::bufferization::func_ext::CallOpInterface Struct Reference
Inheritance diagram for mlir::bufferization::func_ext::CallOpInterface:

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
FailureOr< BufferLikeType > getBufferType (Operation *op, Value value, const BufferizationOptions &options, const BufferizationState &state, SmallVector< Value > &invocationStack) const
LogicalResult bufferize (Operation *op, RewriterBase &rewriter, const BufferizationOptions &options, BufferizationState &state) const
 All function arguments are writable.

Detailed Description

Definition at line 160 of file FuncBufferizableOpInterfaceImpl.cpp.

Member Function Documentation

◆ bufferize()

LogicalResult mlir::bufferization::func_ext::CallOpInterface::bufferize ( Operation * op,
RewriterBase & rewriter,
const BufferizationOptions & options,
BufferizationState & state ) const
inline

All function arguments are writable.

It is the responsibility of the CallOp to insert buffer copies where necessary.

Definition at line 255 of file FuncBufferizableOpInterfaceImpl.cpp.

References mlir::bufferization::castOrReallocMemRefValue(), mlir::bufferization::func_ext::getCalledFunction(), mlir::Operation::getResults(), mlir::Value::getType(), options, replacement(), result, mlir::Operation::setAttrs(), and success().

◆ bufferizesToMemoryRead()

◆ bufferizesToMemoryWrite()

◆ getAliasingValues()

◆ getBufferType()

FailureOr< BufferLikeType > mlir::bufferization::func_ext::CallOpInterface::getBufferType ( Operation * op,
Value value,
const BufferizationOptions & options,
const BufferizationState & state,
SmallVector< Value > & invocationStack ) const
inline

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