MLIR
15.0.0git
|
This class is the base for IROperand, and provides all of the non-templated facilities for operand use management. More...
#include "mlir/IR/UseDefLists.h"
Public Member Functions | |
Operation * | getOwner () const |
Return the owner of this operand. More... | |
IROperandBase * | getNextOperandUsingThisValue () |
Return the next operand on the use-list of the value we are referring to. More... | |
Protected Member Functions | |
IROperandBase (Operation *owner) | |
IROperandBase (IROperandBase &&other) | |
IROperandBase & | operator= (IROperandBase &&other) |
IROperandBase (const IROperandBase &use)=delete | |
Operands are not copyable or assignable. More... | |
IROperandBase & | operator= (const IROperandBase &use)=delete |
~IROperandBase () | |
void | drop () |
Remove this use of the operand. More... | |
void | removeFromCurrent () |
Remove this operand from the current use list. More... | |
template<typename UseListT > | |
void | insertInto (UseListT *useList) |
Insert this operand into the given use list. More... | |
Protected Attributes | |
IROperandBase * | nextUse = nullptr |
The next operand in the use-chain. More... | |
IROperandBase ** | back = nullptr |
This points to the previous link in the use-chain. More... | |
This class is the base for IROperand, and provides all of the non-templated facilities for operand use management.
Definition at line 34 of file UseDefLists.h.
|
inlineprotected |
Definition at line 45 of file UseDefLists.h.
Referenced by operator=().
|
inlineprotected |
Definition at line 46 of file UseDefLists.h.
|
protecteddelete |
Operands are not copyable or assignable.
|
inlineprotected |
Definition at line 61 of file UseDefLists.h.
References removeFromCurrent().
|
inlineprotected |
Remove this use of the operand.
Definition at line 64 of file UseDefLists.h.
References back, nextUse, and removeFromCurrent().
Referenced by mlir::IROperand< OpOperand, Value >::drop().
|
inline |
Return the next operand on the use-list of the value we are referring to.
This should generally only be used by the internal implementation details of the SSA machinery.
Definition at line 42 of file UseDefLists.h.
References nextUse.
|
inline |
Return the owner of this operand.
Definition at line 37 of file UseDefLists.h.
Referenced by annotateConflict(), mlir::detail::ConversionPatternRewriterImpl::applyRewrites(), mlir::bufferization::AnalysisState::bufferizesToAliasOnly(), mlir::bufferization::AnalysisState::bufferizesToMemoryRead(), mlir::bufferization::AnalysisState::bufferizesToMemoryWrite(), mlir::scf::buildLoopNest(), buildVectorWrite(), checkDoubleConsume(), findFusableProducer(), fuse(), fuseElementwiseOpsImpl(), mlir::linalg::TileLoopNest::fuseProducer(), mlir::linalg::fuseProducerOfBuffer(), mlir::linalg::fuseProducerOfTensor(), generateFusedElementwiseOpRegion(), mlir::bufferization::AnalysisState::getAliasingOpResult(), getAssumedUniqueReturnOp(), mlir::bufferization::BufferizationState::getBuffer(), getIndexingMapOfProducerOperandsInCoordinatesOfFusedOp(), getTiledSliceDims(), mlir::bufferization::insertSliceAnchoredAllocTensorEliminationStep(), isUseSpeciallyKnownDead(), isValueUsePotentialConsumer(), matchLinalgReduction(), mlir::outlineSingleBlockRegion(), mlir::RewriterBase::replaceOpWithinBlock(), setInPlaceOpOperand(), mlir::Block::splitBlock(), and walkReferenceCountedValues().
|
inlineprotected |
Insert this operand into the given use list.
Definition at line 80 of file UseDefLists.h.
Referenced by mlir::IROperand< OpOperand, Value >::drop().
|
inlineprotected |
Definition at line 49 of file UseDefLists.h.
References back, IROperandBase(), nextUse, and removeFromCurrent().
Referenced by mlir::IROperand< OpOperand, Value >::operator=().
|
protecteddelete |
|
inlineprotected |
Remove this operand from the current use list.
Definition at line 71 of file UseDefLists.h.
Referenced by drop(), operator=(), mlir::IROperand< OpOperand, Value >::set(), and ~IROperandBase().
|
protected |
This points to the previous link in the use-chain.
Definition at line 92 of file UseDefLists.h.
Referenced by drop(), insertInto(), operator=(), and removeFromCurrent().
|
protected |
The next operand in the use-chain.
Definition at line 89 of file UseDefLists.h.
Referenced by drop(), getNextOperandUsingThisValue(), insertInto(), operator=(), and removeFromCurrent().