MLIR
20.0.0git
|
Functions | |
AliasingOpOperandList | defaultGetAliasingOpOperands (Value value, const AnalysisState &state) |
This is the default implementation of BufferizableOpInterface::getAliasingOpOperands. More... | |
FailureOr< BaseMemRefType > | defaultGetBufferType (Value value, const BufferizationOptions &options, SmallVector< Value > &invocationStack) |
This is the default implementation of BufferizableOpInterface::getBufferType. More... | |
bool | defaultResultBufferizesToMemoryWrite (OpResult opResult, const AnalysisState &state) |
This is the default implementation of BufferizableOpInterface::resultBufferizesToMemoryWrite. More... | |
bool | defaultIsRepetitiveRegion (BufferizableOpInterface bufferizableOp, unsigned index) |
This is the default implementation of BufferizableOpInterface::isRepetitiveRegion. More... | |
AliasingOpOperandList | unknownGetAliasingOpOperands (Value value) |
This is the default implementation of getAliasingOpOperands in case the defining op does not implement the BufferizableOpInterface. More... | |
AliasingValueList | unknownGetAliasingValues (OpOperand &opOperand) |
This is the default implementation of getAliasingValues in case the owner op does not implement the BufferizableOpInterface. More... | |
bool | defaultHasTensorSemantics (Operation *op) |
This is the default implementation of BufferizableOpInterface::hasTensorSemantics. More... | |
SmallVector< OpOperand * > | getCallerOpOperands (BlockArgument bbArg) |
Return a list of operands that are forwarded to the given block argument. More... | |
AliasingOpOperandList mlir::bufferization::detail::defaultGetAliasingOpOperands | ( | Value | value, |
const AnalysisState & | state | ||
) |
This is the default implementation of BufferizableOpInterface::getAliasingOpOperands.
Should not be called from other places.
Definition at line 905 of file BufferizableOpInterface.cpp.
FailureOr< BaseMemRefType > mlir::bufferization::detail::defaultGetBufferType | ( | Value | value, |
const BufferizationOptions & | options, | ||
SmallVector< Value > & | invocationStack | ||
) |
This is the default implementation of BufferizableOpInterface::getBufferType.
Should not be called from other places.
Definition at line 920 of file BufferizableOpInterface.cpp.
References mlir::bufferization::getMemRefType(), mlir::bufferization::getOwnerOfValue(), mlir::Value::getType(), and options.
Referenced by mlir::bufferization::OpWithUnstructuredControlFlowBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::getBufferType().
bool mlir::bufferization::detail::defaultHasTensorSemantics | ( | Operation * | op | ) |
This is the default implementation of BufferizableOpInterface::hasTensorSemantics.
Definition at line 998 of file BufferizableOpInterface.cpp.
References mlir::Operation::getRegions(), and isaTensor().
Referenced by mlir::bufferization::hasTensorSemantics().
bool mlir::bufferization::detail::defaultIsRepetitiveRegion | ( | BufferizableOpInterface | bufferizableOp, |
unsigned | index | ||
) |
This is the default implementation of BufferizableOpInterface::isRepetitiveRegion.
Should not be called from other places.
Definition at line 952 of file BufferizableOpInterface.cpp.
bool mlir::bufferization::detail::defaultResultBufferizesToMemoryWrite | ( | OpResult | opResult, |
const AnalysisState & | state | ||
) |
This is the default implementation of BufferizableOpInterface::resultBufferizesToMemoryWrite.
Should not be called from other places.
Definition at line 838 of file BufferizableOpInterface.cpp.
SmallVector< OpOperand * > mlir::bufferization::detail::getCallerOpOperands | ( | BlockArgument | bbArg | ) |
Return a list of operands that are forwarded to the given block argument.
I.e., find all predecessors of the block argument's owner and gather the operands that are equivalent to the block argument.
Definition at line 14 of file UnstructuredControlFlow.cpp.
References mlir::BlockArgument::getArgNumber(), mlir::OperandRange::getBeginOperandIndex(), mlir::SuccessorOperands::getForwardedOperands(), mlir::BlockArgument::getOwner(), mlir::SuccessorOperands::getProducedOperandCount(), and mlir::IRObjectWithUseList< OperandType >::getUsers().
Referenced by mlir::bufferization::OpWithUnstructuredControlFlowBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::getBufferType().
AliasingOpOperandList mlir::bufferization::detail::unknownGetAliasingOpOperands | ( | Value | value | ) |
This is the default implementation of getAliasingOpOperands in case the defining op does not implement the BufferizableOpInterface.
Definition at line 963 of file BufferizableOpInterface.cpp.
Referenced by mlir::bufferization::AnalysisState::getAliasingOpOperands().
AliasingValueList mlir::bufferization::detail::unknownGetAliasingValues | ( | OpOperand & | opOperand | ) |
This is the default implementation of getAliasingValues in case the owner op does not implement the BufferizableOpInterface.
Definition at line 981 of file BufferizableOpInterface.cpp.
Referenced by mlir::bufferization::AnalysisState::getAliasingValues().