diff --git a/include/mlir-tcp/Conversion/Passes.h b/include/mlir-tcp/Conversion/Passes.h index 7d2dd2ae..a8ca6bfc 100644 --- a/include/mlir-tcp/Conversion/Passes.h +++ b/include/mlir-tcp/Conversion/Passes.h @@ -12,7 +12,7 @@ namespace mlir { namespace tcp { -void registerConversionPasses(); +void registerTcpConversionPasses(); } // namespace tcp } // namespace mlir diff --git a/include/mlir-tcp/Dialect/Transforms/Passes.h b/include/mlir-tcp/Dialect/Transforms/Passes.h index 9ffade6d..a3e27671 100644 --- a/include/mlir-tcp/Dialect/Transforms/Passes.h +++ b/include/mlir-tcp/Dialect/Transforms/Passes.h @@ -15,6 +15,6 @@ namespace mlir::tcp { /// Registers all Tcp related passes. -void registerTcpPasses(); +void registerTcpDialectPasses(); } // namespace mlir::tcp diff --git a/lib/Conversion/Passes.cpp b/lib/Conversion/Passes.cpp index dc8d5087..446ef4e2 100644 --- a/lib/Conversion/Passes.cpp +++ b/lib/Conversion/Passes.cpp @@ -23,4 +23,4 @@ namespace { #include "mlir-tcp/Conversion/Passes.h.inc" } // end namespace -void mlir::tcp::registerConversionPasses() { ::registerPasses(); } +void mlir::tcp::registerTcpConversionPasses() { ::registerPasses(); } diff --git a/lib/Dialect/Transforms/Passes.cpp b/lib/Dialect/Transforms/Passes.cpp index 3bc92daa..cdf2a041 100644 --- a/lib/Dialect/Transforms/Passes.cpp +++ b/lib/Dialect/Transforms/Passes.cpp @@ -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(); } diff --git a/lib/InitAll.cpp b/lib/InitAll.cpp index 34bd3873..8fba93e2 100644 --- a/lib/InitAll.cpp +++ b/lib/InitAll.cpp @@ -25,6 +25,6 @@ void mlir::tcp::registerAllDialects(mlir::DialectRegistry ®istry) { } void mlir::tcp::registerAllPasses() { - mlir::tcp::registerConversionPasses(); - mlir::tcp::registerTcpPasses(); + mlir::tcp::registerTcpConversionPasses(); + mlir::tcp::registerTcpDialectPasses(); }