|
MLIR-AIE 1.4.6.dev
|
#include "aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h"
Public Member Functions | |
| BdIdGenerator (int col, int row, const AIETargetModel &targetModel) | |
| std::optional< uint32_t > | nextBdId (int channelIndex, DMAChannelDir dir, uint32_t alignment=1) |
| void | assignBdId (int channelIndex, DMAChannelDir dir, uint32_t bdId) |
| bool | bdIdAlreadyAssigned (int channelIndex, DMAChannelDir dir, uint32_t bdId) |
| void | freeBdId (int channelIndex, DMAChannelDir dir, uint32_t bdId) |
| void | assignBdId (uint32_t bdId) |
| bool | bdIdAlreadyAssigned (uint32_t bdId) |
| void | freeBdId (uint32_t bdId) |
| void | reserveBdId (int channelIndex, DMAChannelDir dir, uint32_t bdId) |
| void | reserveBdId (uint32_t bdId) |
| bool | isReserved (int channelIndex, DMAChannelDir dir, uint32_t bdId) const |
| bool | isReserved (uint32_t bdId) const |
| bool | holdsTileWide (int channelIndex, DMAChannelDir dir, uint32_t bdId) const |
Public Attributes | |
| const int | col |
| const int | row |
| const AIETargetModel & | targetModel |
| std::set< std::pair< uint32_t, uint32_t > > | alreadyAssigned |
| std::set< std::pair< uint32_t, uint32_t > > | reserved |
Definition at line 25 of file AIEAssignBufferDescriptorIDs.h.
| BdIdGenerator::BdIdGenerator | ( | int | col, |
| int | row, | ||
| const AIETargetModel & | targetModel ) |
Definition at line 47 of file AIEAssignBufferDescriptorIDs.cpp.
References col, row, and targetModel.
| void BdIdGenerator::assignBdId | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) |
Definition at line 102 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned, and assignBdId().
Referenced by assignBdId(), AIEAssignBufferDescriptorIDsPass::runOnOperation(), and xilinx::AIE::Placer::RuntimeBdIds::shortfall().
| void BdIdGenerator::assignBdId | ( | uint32_t | bdId | ) |
Definition at line 153 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned.
| bool BdIdGenerator::bdIdAlreadyAssigned | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) |
Definition at line 112 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned, and bdIdAlreadyAssigned().
Referenced by bdIdAlreadyAssigned(), AIEAssignBufferDescriptorIDsPass::runOnOperation(), and xilinx::AIE::Placer::RuntimeBdIds::shortfall().
| bool BdIdGenerator::bdIdAlreadyAssigned | ( | uint32_t | bdId | ) |
Definition at line 163 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned.
| void BdIdGenerator::freeBdId | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) |
Definition at line 120 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned.
Referenced by xilinx::AIE::Placer::RuntimeBdIds::shortfall().
| void BdIdGenerator::freeBdId | ( | uint32_t | bdId | ) |
Definition at line 158 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned.
| bool BdIdGenerator::holdsTileWide | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) const |
Definition at line 169 of file AIEAssignBufferDescriptorIDs.cpp.
References col, row, and targetModel.
Referenced by AIEAssignBufferDescriptorIDsPass::runOnOperation().
| bool BdIdGenerator::isReserved | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) const |
Definition at line 140 of file AIEAssignBufferDescriptorIDs.cpp.
References isReserved(), and reserved.
Referenced by isReserved().
| bool BdIdGenerator::isReserved | ( | uint32_t | bdId | ) | const |
Definition at line 147 of file AIEAssignBufferDescriptorIDs.cpp.
References reserved.
| std::optional< uint32_t > BdIdGenerator::nextBdId | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | alignment = 1 ) |
Definition at line 84 of file AIEAssignBufferDescriptorIDs.cpp.
References alreadyAssigned, col, reserved, row, and targetModel.
Referenced by xilinx::AIE::Placer::RuntimeBdIds::shortfall().
| void BdIdGenerator::reserveBdId | ( | int | channelIndex, |
| DMAChannelDir | dir, | ||
| uint32_t | bdId ) |
Definition at line 127 of file AIEAssignBufferDescriptorIDs.cpp.
References reserveBdId(), and reserved.
Referenced by reserveBdId().
| void BdIdGenerator::reserveBdId | ( | uint32_t | bdId | ) |
Definition at line 135 of file AIEAssignBufferDescriptorIDs.cpp.
References reserved.
| std::set<std::pair<uint32_t, uint32_t> > BdIdGenerator::alreadyAssigned |
Definition at line 30 of file AIEAssignBufferDescriptorIDs.h.
Referenced by assignBdId(), assignBdId(), bdIdAlreadyAssigned(), bdIdAlreadyAssigned(), freeBdId(), freeBdId(), and nextBdId().
| const int BdIdGenerator::col |
Definition at line 26 of file AIEAssignBufferDescriptorIDs.h.
Referenced by BdIdGenerator(), holdsTileWide(), and nextBdId().
| std::set<std::pair<uint32_t, uint32_t> > BdIdGenerator::reserved |
Definition at line 32 of file AIEAssignBufferDescriptorIDs.h.
Referenced by isReserved(), isReserved(), nextBdId(), reserveBdId(), and reserveBdId().
| const int BdIdGenerator::row |
Definition at line 27 of file AIEAssignBufferDescriptorIDs.h.
Referenced by BdIdGenerator(), holdsTileWide(), and nextBdId().
| const AIETargetModel& BdIdGenerator::targetModel |
Definition at line 28 of file AIEAssignBufferDescriptorIDs.h.
Referenced by BdIdGenerator(), holdsTileWide(), and nextBdId().