MLIR-AIE 1.4.6.dev
xilinx::AIE::PoolLocks Class Reference

Which of a device's objectFIFO pools get locks, read once from its endpoints and its aiex.dma_channel_reset_for ops. More...

#include "aie/Dialect/AIE/Transforms/AIEPoolLocks.h"

Public Member Functions

 PoolLocks (DeviceOp device)
bool needsLocks (ObjectFifoPoolOp pool) const
 Whether pool gets locks.
const llvm::StringMap< llvm::SmallVector< AIEX::DmaChannelResetForOp > > & rearms () const
 The aiex.dma_channel_reset_for ops re-arming each fifo, by fifo name.

Detailed Description

Which of a device's objectFIFO pools get locks, read once from its endpoints and its aiex.dma_channel_reset_for ops.

Definition at line 22 of file AIEPoolLocks.h.

Constructor & Destructor Documentation

◆ PoolLocks()

PoolLocks::PoolLocks ( DeviceOp device)
explicit

Definition at line 14 of file AIEPoolLocks.cpp.

Member Function Documentation

◆ needsLocks()

bool PoolLocks::needsLocks ( ObjectFifoPoolOp pool) const

Whether pool gets locks.

One with synchronization disabled does not, nor one that starts full, is never refilled and is not re-armed each launch: it holds constants its readers have nothing to wait for.

Definition at line 33 of file AIEPoolLocks.cpp.

◆ rearms()

const llvm::StringMap< llvm::SmallVector< AIEX::DmaChannelResetForOp > > & xilinx::AIE::PoolLocks::rearms ( ) const
inline

The aiex.dma_channel_reset_for ops re-arming each fifo, by fifo name.

Definition at line 33 of file AIEPoolLocks.h.


The documentation for this class was generated from the following files: