MLIR-AIE
|
#include "aie/Dialect/AIE/Transforms/AIEPathFinder.h"
Public Member Functions | |
DynamicTileAnalysis () | |
DynamicTileAnalysis (std::shared_ptr< Router > p) | |
mlir::LogicalResult | runAnalysis (DeviceOp &device) |
int | getMaxCol () const |
int | getMaxRow () const |
TileOp | getTile (mlir::OpBuilder &builder, int col, int row) |
SwitchboxOp | getSwitchbox (mlir::OpBuilder &builder, int col, int row) |
ShimMuxOp | getShimMux (mlir::OpBuilder &builder, int col) |
Public Attributes | |
int | maxCol |
int | maxRow |
std::shared_ptr< Router > | pathfinder |
std::map< PathEndPoint, SwitchSettings > | flowSolutions |
std::map< PathEndPoint, bool > | processedFlows |
llvm::DenseMap< TileID, TileOp > | coordToTile |
llvm::DenseMap< TileID, SwitchboxOp > | coordToSwitchbox |
llvm::DenseMap< TileID, ShimMuxOp > | coordToShimMux |
llvm::DenseMap< int, PLIOOp > | coordToPLIO |
const int | maxIterations = 1000 |
Definition at line 232 of file AIEPathFinder.h.
|
inline |
Definition at line 246 of file AIEPathFinder.h.
|
inline |
Definition at line 247 of file AIEPathFinder.h.
|
inline |
Definition at line 251 of file AIEPathFinder.h.
References maxCol.
|
inline |
Definition at line 252 of file AIEPathFinder.h.
References maxRow.
ShimMuxOp DynamicTileAnalysis::getShimMux | ( | mlir::OpBuilder & | builder, |
int | col | ||
) |
Definition at line 172 of file AIEPathFinder.cpp.
References xilinx::AIE::col, coordToShimMux, getTile(), maxCol, maxRow, and xilinx::AIE::row.
SwitchboxOp DynamicTileAnalysis::getSwitchbox | ( | mlir::OpBuilder & | builder, |
int | col, | ||
int | row | ||
) |
Definition at line 155 of file AIEPathFinder.cpp.
References xilinx::AIE::col, coordToSwitchbox, getTile(), maxCol, maxRow, and xilinx::AIE::row.
TileOp DynamicTileAnalysis::getTile | ( | mlir::OpBuilder & | builder, |
int | col, | ||
int | row | ||
) |
Definition at line 144 of file AIEPathFinder.cpp.
References xilinx::AIE::col, coordToTile, maxCol, maxRow, and xilinx::AIE::row.
Referenced by getShimMux(), getSwitchbox(), and xilinx::AIE::AIEPathfinderPass::runOnPacketFlow().
LogicalResult DynamicTileAnalysis::runAnalysis | ( | DeviceOp & | device | ) |
Definition at line 25 of file AIEPathFinder.cpp.
References xilinx::AIE::col, coordToShimMux, coordToSwitchbox, coordToTile, xilinx::AIE::dstCoords, flowSolutions, maxCol, maxIterations, maxRow, pathfinder, processedFlows, xilinx::AIE::row, and xilinx::AIE::srcCoords.
llvm::DenseMap<int, PLIOOp> xilinx::AIE::DynamicTileAnalysis::coordToPLIO |
Definition at line 242 of file AIEPathFinder.h.
llvm::DenseMap<TileID, ShimMuxOp> xilinx::AIE::DynamicTileAnalysis::coordToShimMux |
Definition at line 241 of file AIEPathFinder.h.
Referenced by getShimMux(), and runAnalysis().
llvm::DenseMap<TileID, SwitchboxOp> xilinx::AIE::DynamicTileAnalysis::coordToSwitchbox |
Definition at line 240 of file AIEPathFinder.h.
Referenced by getSwitchbox(), and runAnalysis().
llvm::DenseMap<TileID, TileOp> xilinx::AIE::DynamicTileAnalysis::coordToTile |
Definition at line 239 of file AIEPathFinder.h.
Referenced by getTile(), and runAnalysis().
std::map<PathEndPoint, SwitchSettings> xilinx::AIE::DynamicTileAnalysis::flowSolutions |
Definition at line 236 of file AIEPathFinder.h.
Referenced by runAnalysis(), and xilinx::AIE::AIEPathfinderPass::runOnPacketFlow().
int xilinx::AIE::DynamicTileAnalysis::maxCol |
Definition at line 234 of file AIEPathFinder.h.
Referenced by getMaxCol(), getShimMux(), getSwitchbox(), getTile(), and runAnalysis().
const int xilinx::AIE::DynamicTileAnalysis::maxIterations = 1000 |
Definition at line 244 of file AIEPathFinder.h.
Referenced by runAnalysis().
int xilinx::AIE::DynamicTileAnalysis::maxRow |
Definition at line 234 of file AIEPathFinder.h.
Referenced by getMaxRow(), getShimMux(), getSwitchbox(), getTile(), and runAnalysis().
std::shared_ptr<Router> xilinx::AIE::DynamicTileAnalysis::pathfinder |
Definition at line 235 of file AIEPathFinder.h.
Referenced by runAnalysis().
std::map<PathEndPoint, bool> xilinx::AIE::DynamicTileAnalysis::processedFlows |
Definition at line 237 of file AIEPathFinder.h.
Referenced by runAnalysis(), and xilinx::AIE::AIEPathfinderPass::runOnPacketFlow().