Skip to content

Commit

Permalink
clean up lint (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Oct 27, 2023
1 parent fbc82f8 commit 3c98216
Show file tree
Hide file tree
Showing 11 changed files with 87 additions and 132 deletions.
69 changes: 0 additions & 69 deletions include/aie/AIETokenAnalysis.h

This file was deleted.

21 changes: 11 additions & 10 deletions include/aie/Dialect/AIE/IR/AIEDialect.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,20 @@ struct AIEDevDesc {

const xilinx::AIE::AIETargetModel &getTargetModel(Operation *op);

::mlir::ParseResult
parseObjectFifoProducerTile(::mlir::OpAsmParser &parser,
::mlir::OpAsmParser::UnresolvedOperand &operand,
mlir::ParseResult
parseObjectFifoProducerTile(mlir::OpAsmParser &parser,
mlir::OpAsmParser::UnresolvedOperand &operand,
DimTupleArrayAttr &dimensions);
void printObjectFifoProducerTile(::mlir::OpAsmPrinter &_odsPrinter,
Operation *op, Value tile,
Attribute dimensions);

::mlir::ParseResult parseObjectFifoConsumerTiles(
::mlir::OpAsmParser &parser,
SmallVectorImpl<::mlir::OpAsmParser::UnresolvedOperand> &tiles,
void printObjectFifoProducerTile(mlir::OpAsmPrinter &_odsPrinter, Operation *op,
Value tile, Attribute dimensions);

mlir::ParseResult parseObjectFifoConsumerTiles(
mlir::OpAsmParser &parser,
SmallVectorImpl<mlir::OpAsmParser::UnresolvedOperand> &tiles,
DimTupleArrayArrayAttr &dimensions);
void printObjectFifoConsumerTiles(::mlir::OpAsmPrinter &_odsPrinter,

void printObjectFifoConsumerTiles(mlir::OpAsmPrinter &_odsPrinter,
Operation *op, OperandRange tiles,
Attribute dimensions);

Expand Down
2 changes: 2 additions & 0 deletions include/aie/Dialect/AIE/Transforms/AIEPasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#ifndef AIE_PASSES_H
#define AIE_PASSES_H

#include "aie/Dialect/AIE/IR/AIEDialect.h"

#include "mlir/Pass/Pass.h"

namespace aie {
Expand Down
13 changes: 8 additions & 5 deletions include/aie/Dialect/AIE/Transforms/AIEPathfinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,25 @@
#ifndef AIE_PATHFINDER_H
#define AIE_PATHFINDER_H

#include <algorithm>
#include <limits>
#include <utility> //for std::pair
#include <vector>
#include "aie/Dialect/AIE/IR/AIEDialect.h" // for WireBundle and Port

// builds against at least boost graph 1.7.1
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-local-typedef"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#pragma GCC diagnostic ignored "-Wsuggest-override"

#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/graph/graph_traits.hpp>

#pragma GCC diagnostic pop

#include "aie/Dialect/AIE/IR/AIEDialect.h" // for WireBundle and Port
#include <algorithm>
#include <limits>
#include <utility> //for std::pair
#include <vector>

namespace xilinx {
namespace AIE {
Expand Down Expand Up @@ -103,4 +105,5 @@ class Pathfinder {

} // namespace AIE
} // namespace xilinx

#endif
3 changes: 3 additions & 0 deletions include/aie/Dialect/AIEVec/Transforms/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
#ifndef AIE_DIALECT_AIEVEC_TRANSFORMS_PASSES_H
#define AIE_DIALECT_AIEVEC_TRANSFORMS_PASSES_H

#include "aie/Dialect/AIEVec/IR/AIEVecDialect.h"

#include "mlir/Pass/Pass.h"
#include "mlir/Pass/PassOptions.h"

#include <limits>

namespace mlir {
Expand Down
2 changes: 2 additions & 0 deletions include/aie/Dialect/AIEX/Transforms/AIEXPasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#ifndef AIEX_PASSES_H
#define AIEX_PASSES_H

#include "aie/Dialect/AIEX/IR/AIEXDialect.h"

#include "mlir/Pass/Pass.h"

namespace aie {
Expand Down
Loading

0 comments on commit 3c98216

Please sign in to comment.