diff --git a/include/aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h b/include/aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h index b74bf985d2..60d44f5cf8 100644 --- a/include/aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h +++ b/include/aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h @@ -11,27 +11,8 @@ #ifndef AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H #define AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H -#include +#include "aie/Dialect/AIE/IR/AIETargetModel.h" -#include "aie/Dialect/AIE/IR/AIEDialect.h" -#include "aie/Dialect/AIE/Transforms/AIEAssignBufferDescriptorIDs.h" -#include "aie/Dialect/AIE/Transforms/AIEPasses.h" - -#include "mlir/Pass/Pass.h" - -using namespace mlir; -using namespace xilinx; -using namespace xilinx::AIE; - -#include "aie/Dialect/AIE/IR/AIEDialect.h" -#include "aie/Dialect/AIE/Transforms/AIEPasses.h" - -#include "mlir/Pass/Pass.h" - -#define DEBUG_TYPE "aie-assign-bd-ids" - -using namespace mlir; -using namespace xilinx; using namespace xilinx::AIE; struct BdIdGenerator { @@ -51,4 +32,4 @@ struct BdIdGenerator { void freeBdId(uint32_t bdId); }; -#endif \ No newline at end of file +#endif diff --git a/include/aie/Dialect/AIE/Transforms/AIEGenerateColumnControlOverlay.h b/include/aie/Dialect/AIE/Transforms/AIEGenerateColumnControlOverlay.h index 3af5a497f0..fd418578d5 100644 --- a/include/aie/Dialect/AIE/Transforms/AIEGenerateColumnControlOverlay.h +++ b/include/aie/Dialect/AIE/Transforms/AIEGenerateColumnControlOverlay.h @@ -11,26 +11,9 @@ #ifndef AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H #define AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H -#include - #include "aie/Dialect/AIE/IR/AIEDialect.h" -#include "aie/Dialect/AIE/Transforms/AIEPasses.h" - -#include "mlir/Pass/Pass.h" - -using namespace mlir; -using namespace xilinx; -using namespace xilinx::AIE; - -#include "aie/Dialect/AIE/IR/AIEDialect.h" -#include "aie/Dialect/AIE/Transforms/AIEPasses.h" - -#include "mlir/Pass/Pass.h" - -#define DEBUG_TYPE "aie-generate-column-control-overlay" using namespace mlir; -using namespace xilinx; using namespace xilinx::AIE; // Populate column control streaming interconnect overlay @@ -44,7 +27,7 @@ DenseMap getRowToShimChanMap(const AIETargetModel &targetModel, // AIE arch-specific tile id to controller id mapping. Users can use those // packet ids for design but run into risk of deadlocking control packet flows. -DenseMap +DenseMap getTileToControllerIdMap(bool clColumnWiseUniqueIDs, const AIETargetModel &targetModel);