MLIR
20.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< BaseMemRefType > | getBufferType (Operation *op, Value value, const BufferizationOptions &options, 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. More... | |
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 120 of file UnstructuredControlFlow.h.
|
inline |
Definition at line 36 of file UnstructuredControlFlow.h.
References mlir::bufferization::detail::defaultGetBufferType(), mlir::Operation::emitOpError(), mlir::bufferization::getBufferType(), mlir::bufferization::detail::getCallerOpOperands(), mlir::BaseMemRefType::getMemorySpace(), mlir::bufferization::getMemRefTypeWithFullyDynamicLayout(), mlir::BaseMemRefType::getShape(), mlir::Value::getType(), mlir::BaseMemRefType::hasRank(), and options.
Referenced by mlir::bufferization::func_ext::FuncOpInterface::getBufferType().