|
MLIR-AIE
|
Inheritance diagram for Token2LockLowering:
Collaboration diagram for Token2LockLowering:Public Member Functions | |
| Token2LockLowering (MLIRContext *context, DenseMap< Operation *, std::vector< std::pair< Value, int > > > &acqLocks, DenseMap< Operation *, std::vector< std::pair< Value, int > > > &relLocks, DenseMap< std::pair< Operation *, Operation * >, std::pair< Value, int > > &lockChains, PatternBenefit benefit=1) | |
| LogicalResult | matchAndRewrite (UseTokenOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override |
Public Attributes | |
| DenseMap< Operation *, std::vector< std::pair< Value, int > > > & | acqLocks |
| DenseMap< Operation *, std::vector< std::pair< Value, int > > > & | relLocks |
| DenseMap< std::pair< Operation *, Operation * >, std::pair< Value, int > > & | lockChains |
Definition at line 29 of file AIECreateLocks.cpp.
|
inline |
Definition at line 36 of file AIECreateLocks.cpp.
|
inlineoverride |
Definition at line 47 of file AIECreateLocks.cpp.
References acqLocks, lockChains, and relLocks.
| DenseMap<Operation *, std::vector<std::pair<Value, int> > >& Token2LockLowering::acqLocks |
Definition at line 31 of file AIECreateLocks.cpp.
Referenced by matchAndRewrite().
| DenseMap<std::pair<Operation *, Operation *>, std::pair<Value, int> >& Token2LockLowering::lockChains |
Definition at line 34 of file AIECreateLocks.cpp.
Referenced by matchAndRewrite().
| DenseMap<Operation *, std::vector<std::pair<Value, int> > >& Token2LockLowering::relLocks |
Definition at line 32 of file AIECreateLocks.cpp.
Referenced by matchAndRewrite().