diff --git a/mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt --- a/mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt +++ b/mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt @@ -1,10 +1,10 @@ add_mlir_dialect_library(MLIRTensorTransforms BufferizableOpInterfaceImpl.cpp Bufferize.cpp - ExtractSliceFromReshape.cpp + ExtractSliceFromReshapeUtils.cpp MergeConsecutiveInsertExtractSlicePatterns.cpp - SplitPadding.cpp - SwapExtractSliceWithProducer.cpp + SplitPaddingPatterns.cpp + SwapExtractSliceWithProducerPatterns.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Tensor/Transforms diff --git a/mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshape.cpp b/mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshapeUtils.cpp rename from mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshape.cpp rename to mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshapeUtils.cpp --- a/mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshape.cpp +++ b/mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshapeUtils.cpp @@ -1,4 +1,4 @@ -//===- ExtractSliceFromReshape.cpp - Slice reshape rewrites-------*- C++-*-===// +//===- ExtractSliceFromReshapeUtils.cpp - Slice reshape rewrites ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/mlir/lib/Dialect/Tensor/Transforms/SplitPadding.cpp b/mlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp rename from mlir/lib/Dialect/Tensor/Transforms/SplitPadding.cpp rename to mlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp --- a/mlir/lib/Dialect/Tensor/Transforms/SplitPadding.cpp +++ b/mlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp @@ -1,4 +1,4 @@ -//===- SplitPadding.cpp - Splitting tensor.pad Op -------------------------===// +//===- SplitPaddingPatterns.cpp - Splitting tensor.pad Op -----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducer.cpp b/mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp rename from mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducer.cpp rename to mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp --- a/mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducer.cpp +++ b/mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp @@ -1,4 +1,4 @@ -//===- SwapExtractSliceWithProducer.cpp - Swapping `tensor.extract_slice` ---=// +//===- SwapExtractSliceWithProducerPatterns.cpp ---------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information.