[all-commits] [llvm/llvm-project] 755dc0: [mlir:Analysis] Move the LoopAnalysis library to D...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Jan 18 10:28:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 755dc07d69ed5c3a4a5ef6a2de68aa10378891a0
      https://github.com/llvm/llvm-project/commit/755dc07d69ed5c3a4a5ef6a2de68aa10378891a0
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    R mlir/include/mlir/Analysis/AffineAnalysis.h
    R mlir/include/mlir/Analysis/AffineStructures.h
    R mlir/include/mlir/Analysis/LoopAnalysis.h
    R mlir/include/mlir/Analysis/NestedMatcher.h
    M mlir/include/mlir/Analysis/SliceAnalysis.h
    R mlir/include/mlir/Analysis/Utils.h
    A mlir/include/mlir/Dialect/Affine/Analysis/AffineAnalysis.h
    A mlir/include/mlir/Dialect/Affine/Analysis/AffineStructures.h
    A mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h
    A mlir/include/mlir/Dialect/Affine/Analysis/NestedMatcher.h
    A mlir/include/mlir/Dialect/Affine/Analysis/Utils.h
    M mlir/include/mlir/Dialect/Affine/Utils.h
    R mlir/lib/Analysis/AffineAnalysis.cpp
    R mlir/lib/Analysis/AffineStructures.cpp
    M mlir/lib/Analysis/CMakeLists.txt
    R mlir/lib/Analysis/LoopAnalysis.cpp
    R mlir/lib/Analysis/NestedMatcher.cpp
    M mlir/lib/Analysis/SliceAnalysis.cpp
    R mlir/lib/Analysis/Utils.cpp
    M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
    A mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
    A mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp
    A mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
    A mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
    A mlir/lib/Dialect/Affine/Analysis/NestedMatcher.cpp
    A mlir/lib/Dialect/Affine/Analysis/Utils.cpp
    M mlir/lib/Dialect/Affine/CMakeLists.txt
    M mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
    M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
    M mlir/lib/Dialect/Affine/Transforms/AffineParallelize.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
    M mlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    M mlir/lib/Dialect/Affine/Utils/Utils.cpp
    M mlir/lib/Dialect/Linalg/Analysis/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/lib/Dialect/SCF/Transforms/AffineCanonicalizationUtils.cpp
    M mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
    M mlir/lib/Dialect/Vector/CMakeLists.txt
    M mlir/lib/Dialect/Vector/VectorUtils.cpp
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/lib/Transforms/PipelineDataTransfer.cpp
    M mlir/lib/Transforms/Utils/CMakeLists.txt
    M mlir/lib/Transforms/Utils/LoopFusionUtils.cpp
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/lib/Transforms/Utils/Utils.cpp
    M mlir/test/lib/Analysis/TestMatchReduction.cpp
    M mlir/test/lib/Analysis/TestMemRefBoundCheck.cpp
    M mlir/test/lib/Analysis/TestMemRefDependenceCheck.cpp
    M mlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp
    M mlir/test/lib/Dialect/Affine/TestAffineLoopUnswitching.cpp
    M mlir/test/lib/Dialect/Affine/TestLoopPermutation.cpp
    M mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
    M mlir/test/lib/Transforms/TestLoopFusion.cpp
    M mlir/tools/mlir-lsp-server/CMakeLists.txt
    M mlir/tools/mlir-opt/CMakeLists.txt
    R mlir/unittests/Analysis/AffineStructuresParser.cpp
    R mlir/unittests/Analysis/AffineStructuresParser.h
    R mlir/unittests/Analysis/AffineStructuresParserTest.cpp
    M mlir/unittests/Analysis/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
    M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
    M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
    A mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp
    A mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.h
    A mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParserTest.cpp
    A mlir/unittests/Dialect/Affine/Analysis/CMakeLists.txt
    A mlir/unittests/Dialect/Affine/CMakeLists.txt
    M mlir/unittests/Dialect/CMakeLists.txt

  Log Message:
  -----------
  [mlir:Analysis] Move the LoopAnalysis library to Dialect/Affine/Analysis

The current state of the top level Analysis/ directory is that it contains two libraries;
a generic Analysis library (free from dialect dependencies), and a LoopAnalysis library
that contains various analysis utilities that originated from Affine loop transformations.
This commit moves the LoopAnalysis to the more appropriate home of `Dialect/Affine/Analysis/`,
given the use and intention of the majority of the code within it. After the move, if there
are generic utilities that would fit better in the top-level Analysis/ directory, we can move
them.

Differential Revision: https://reviews.llvm.org/D117351




More information about the All-commits mailing list