|
MLIR 22.0.0git
|
A template that provides a default implementation of getAliasingOpOperands for ops that support unstructured control flow within their regions. More...
#include "mlir/Dialect/Bufferization/IR/UnstructuredControlFlow.h"
Public Member Functions | |
| FailureOr< BufferLikeType > | getBufferType (Operation *op, Value value, const BufferizationOptions &options, const BufferizationState &state, SmallVector< Value > &invocationStack) const |
Protected Member Functions | |
| AliasingOpOperandList | getAliasingBranchOpOperands (Operation *op, BlockArgument bbArg, const AnalysisState &state) const |
| Assuming that bbArg is a block argument of a block that belongs to the given op, return all OpOperands of users of this block that are aliasing with the given block argument. | |
A template that provides a default implementation of getAliasingOpOperands for ops that support unstructured control flow within their regions.
Definition at line 32 of file UnstructuredControlFlow.h.
|
inlineprotected |
Assuming that bbArg is a block argument of a block that belongs to the given op, return all OpOperands of users of this block that are aliasing with the given block argument.
Definition at line 121 of file UnstructuredControlFlow.h.
References mlir::bufferization::detail::getCallerOpOperands(), mlir::BlockArgument::getOwner(), mlir::Block::getParentOp(), and result.
|
inline |
Definition at line 36 of file UnstructuredControlFlow.h.
References mlir::Operation::emitOpError(), mlir::bufferization::detail::getCallerOpOperands(), mlir::BaseMemRefType::getMemorySpace(), mlir::BaseMemRefType::getShape(), mlir::Value::getType(), mlir::BaseMemRefType::hasRank(), and options.
Referenced by mlir::bufferization::func_ext::FuncOpInterface::getBufferType().