|
MLIR 22.0.0git
|
Functions | |
| SmallVector< OpOperand * > | getCallerOpOperands (BlockArgument bbArg) |
| Return a list of operands that are forwarded to the given block argument. | |
| 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(), mlir::IRObjectWithUseList< OperandType >::getUsers(), and result.
Referenced by mlir::bufferization::OpWithUnstructuredControlFlowBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::getAliasingBranchOpOperands(), and mlir::bufferization::OpWithUnstructuredControlFlowBufferizableOpInterfaceExternalModel< ConcreteModel, ConcreteOp >::getBufferType().