|
MLIR-AIE
|
#include "aie/Dialect/AIE/IR/AIEDialect.h"#include "aie/Dialect/AIEX/IR/AIEXDialect.h"#include "aie/Dialect/AIEX/Transforms/AIEXPasses.h"#include "mlir/IR/PatternMatch.h"#include "mlir/Pass/Pass.h"#include "mlir/Tools/mlir-translate/MlirTranslateMain.h"#include "mlir/Transforms/DialectConversion.h"
Include dependency graph for AIEHerdRouting.cpp:Go to the source code of this file.
Classes | |
| struct | AIEOpRemoval< MyAIEOp > |
| struct | AIEHerdRoutingPass |
Macros | |
| #define | DEBUG_TYPE "aie-herd-routing" |
Functions | |
| std::optional< int > | getAvailableDestChannel (SmallVector< Connect, 8 > &connects, Port sourcePort, WireBundle destBundle) |
| void | buildRoute (int xSrc, int ySrc, int xDest, int yDest, WireBundle sourceBundle, int sourceChannel, WireBundle destBundle, int destChannel, Operation *herdOp, DenseMap< std::pair< Operation *, TileID >, SmallVector< Connect, 8 > > &switchboxes) |
| #define DEBUG_TYPE "aie-herd-routing" |
Definition at line 20 of file AIEHerdRouting.cpp.
| void buildRoute | ( | int | xSrc, |
| int | ySrc, | ||
| int | xDest, | ||
| int | yDest, | ||
| WireBundle | sourceBundle, | ||
| int | sourceChannel, | ||
| WireBundle | destBundle, | ||
| int | destChannel, | ||
| Operation * | herdOp, | ||
| DenseMap< std::pair< Operation *, TileID >, SmallVector< Connect, 8 > > & | switchboxes | ||
| ) |
Definition at line 83 of file AIEHerdRouting.cpp.
References getAvailableDestChannel().
Referenced by AIEHerdRoutingPass::runOnOperation().
| std::optional< int > getAvailableDestChannel | ( | SmallVector< Connect, 8 > & | connects, |
| Port | sourcePort, | ||
| WireBundle | destBundle | ||
| ) |
Definition at line 44 of file AIEHerdRouting.cpp.
References xilinx::AIE::dst, xilinx::AIE::port, and xilinx::AIE::src.
Referenced by buildRoute().