Skip to content

Commit

Permalink
rename pass registeration
Browse files Browse the repository at this point in the history
  • Loading branch information
sjain-stanford committed Oct 26, 2023
1 parent cfa40fc commit ee21890
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/mlir-tcp/Conversion/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace mlir {
namespace tcp {

void registerConversionPasses();
void registerTcpConversionPasses();

} // namespace tcp
} // namespace mlir
2 changes: 1 addition & 1 deletion include/mlir-tcp/Dialect/Transforms/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
namespace mlir::tcp {

/// Registers all Tcp related passes.
void registerTcpPasses();
void registerTcpDialectPasses();

} // namespace mlir::tcp
2 changes: 1 addition & 1 deletion lib/Conversion/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ namespace {
#include "mlir-tcp/Conversion/Passes.h.inc"
} // end namespace

void mlir::tcp::registerConversionPasses() { ::registerPasses(); }
void mlir::tcp::registerTcpConversionPasses() { ::registerPasses(); }
2 changes: 1 addition & 1 deletion lib/Dialect/Transforms/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ namespace {
#include "mlir-tcp/Dialect/Transforms/Passes.h.inc"
} // end namespace

void mlir::tcp::registerTcpPasses() { ::registerPasses(); }
void mlir::tcp::registerTcpDialectPasses() { ::registerPasses(); }
4 changes: 2 additions & 2 deletions lib/InitAll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ void mlir::tcp::registerAllDialects(mlir::DialectRegistry &registry) {
}

void mlir::tcp::registerAllPasses() {
mlir::tcp::registerConversionPasses();
mlir::tcp::registerTcpPasses();
mlir::tcp::registerTcpConversionPasses();
mlir::tcp::registerTcpDialectPasses();
}

0 comments on commit ee21890

Please sign in to comment.