[all-commits] [llvm/llvm-project] e66c2e: [mlir][NFC] Remove Function.h and Module.h in favo...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Dec 3 18:02:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e66c2e259f8140373ee73ceffe1e913483b711b5
      https://github.com/llvm/llvm-project/commit/e66c2e259f8140373ee73ceffe1e913483b711b5
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    R mlir/include/mlir/IR/Function.h
    R mlir/include/mlir/IR/Module.h
    M mlir/include/mlir/Transforms/BufferUtils.h
    M mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp
    M mlir/lib/Dialect/Vector/VectorTransferOpTransforms.cpp
    M mlir/lib/Rewrite/ByteCode.cpp

  Log Message:
  -----------
  [mlir][NFC] Remove Function.h and Module.h in favor of BuiltinOps.h

The definitions of ModuleOp and FuncOp are now within BuiltinOps.h, making the individual files obsolete.

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


  Commit: 09f7a55fad924b894fadef0f0edccffdfda7838a
      https://github.com/llvm/llvm-project/commit/09f7a55fad924b894fadef0f0edccffdfda7838a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
    M flang/include/flang/Lower/Mangler.h
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Lower/RTBuilder.h
    M mlir/docs/Dialects/LLVM.md
    M mlir/docs/Dialects/SPIR-V.md
    M mlir/docs/LangRef.md
    M mlir/docs/Rationale/Rationale.md
    M mlir/docs/ShapeInference.md
    M mlir/examples/toy/Ch2/mlir/Dialect.cpp
    M mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch3/mlir/Dialect.cpp
    M mlir/examples/toy/Ch3/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch4/include/toy/Dialect.h
    M mlir/examples/toy/Ch4/mlir/Dialect.cpp
    M mlir/examples/toy/Ch4/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch5/include/toy/Dialect.h
    M mlir/examples/toy/Ch5/mlir/Dialect.cpp
    M mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch6/include/toy/Dialect.h
    M mlir/examples/toy/Ch6/mlir/Dialect.cpp
    M mlir/examples/toy/Ch6/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch7/include/toy/Dialect.h
    M mlir/examples/toy/Ch7/mlir/Dialect.cpp
    M mlir/examples/toy/Ch7/mlir/MLIRGen.cpp
    A mlir/include/mlir-c/BuiltinTypes.h
    R mlir/include/mlir-c/StandardTypes.h
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
    M mlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.h
    M mlir/include/mlir/Dialect/Async/IR/Async.h
    M mlir/include/mlir/Dialect/CommonFolders.h
    M mlir/include/mlir/Dialect/GPU/GPUDialect.h
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
    M mlir/include/mlir/Dialect/Quant/QuantOps.h
    M mlir/include/mlir/Dialect/Quant/QuantTypes.h
    M mlir/include/mlir/Dialect/Quant/UniformSupport.h
    M mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
    M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
    M mlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/include/mlir/EDSC/Builders.h
    M mlir/include/mlir/IR/Builders.h
    A mlir/include/mlir/IR/BuiltinTypes.h
    M mlir/include/mlir/IR/FunctionSupport.h
    M mlir/include/mlir/IR/Matchers.h
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/include/mlir/IR/StandardTypes.h
    M mlir/include/mlir/IR/Types.h
    M mlir/include/mlir/Interfaces/VectorInterfaces.h
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/lib/Bindings/Python/IRModules.cpp
    A mlir/lib/CAPI/IR/BuiltinTypes.cpp
    M mlir/lib/CAPI/IR/CMakeLists.txt
    M mlir/lib/CAPI/IR/StandardAttributes.cpp
    R mlir/lib/CAPI/IR/StandardTypes.cpp
    M mlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
    M mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
    M mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
    M mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
    M mlir/lib/Dialect/Quant/IR/QuantOps.cpp
    M mlir/lib/Dialect/Quant/IR/QuantTypes.cpp
    M mlir/lib/Dialect/Quant/IR/TypeDetail.h
    M mlir/lib/Dialect/Quant/IR/TypeParser.cpp
    M mlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
    M mlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
    M mlir/lib/Dialect/Quant/Utils/QuantizeUtils.cpp
    M mlir/lib/Dialect/Quant/Utils/UniformSupport.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Traits.cpp
    M mlir/lib/ExecutionEngine/JitRunner.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/AttributeDetail.h
    M mlir/lib/IR/Builders.cpp
    M mlir/lib/IR/BuiltinDialect.cpp
    A mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/CMakeLists.txt
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/IR/OperationSupport.cpp
    R mlir/lib/IR/StandardTypes.cpp
    M mlir/lib/IR/TypeDetail.h
    M mlir/lib/IR/TypeUtilities.cpp
    M mlir/lib/IR/Types.cpp
    M mlir/lib/IR/Value.cpp
    M mlir/lib/Interfaces/ControlFlowInterfaces.cpp
    M mlir/lib/Interfaces/InferTypeOpInterface.cpp
    M mlir/lib/Parser/AttributeParser.cpp
    M mlir/lib/Parser/DialectSymbolParser.cpp
    M mlir/lib/Parser/TypeParser.cpp
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/lib/Transforms/ViewOpGraph.cpp
    M mlir/test/Bindings/Python/ir_types.py
    M mlir/test/CAPI/ir.c
    M mlir/test/EDSC/builder-api-test.cpp
    M mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.h
    M mlir/test/lib/Dialect/Tosa/TosaTestPasses.cpp
    M mlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp
    M mlir/unittests/Dialect/Quant/QuantizationUtilsTest.cpp
    M mlir/unittests/IR/AttributeTest.cpp
    M mlir/unittests/IR/OperationSupportTest.cpp
    M mlir/unittests/TableGen/OpBuildGen.cpp
    M mlir/unittests/TableGen/StructsGenTest.cpp
    M mlir/utils/gdb-scripts/prettyprinters.py

  Log Message:
  -----------
  [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h

This is part of a larger refactoring the better congregates the builtin structures under the BuiltinDialect. This also removes the problematic "standard" naming that clashes with the "standard" dialect, which is not defined within IR/. A temporary forward is placed in StandardTypes.h to allow time for downstream users to replaced references.

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


  Commit: c7cae0e4fa4e1ed4bdca186096a408578225fc2b
      https://github.com/llvm/llvm-project/commit/c7cae0e4fa4e1ed4bdca186096a408578225fc2b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M mlir/docs/CAPI.md
    M mlir/docs/LangRef.md
    A mlir/include/mlir-c/BuiltinAttributes.h
    R mlir/include/mlir-c/StandardAttributes.h
    M mlir/include/mlir/Bindings/Python/Attributes.td
    M mlir/include/mlir/Dialect/CommonFolders.h
    M mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
    M mlir/include/mlir/Dialect/SPIRV/SPIRVAttributes.h
    M mlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
    M mlir/include/mlir/IR/Attributes.h
    A mlir/include/mlir/IR/BuiltinAttributes.h
    M mlir/include/mlir/IR/Operation.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/Interfaces/DecodeAttributesInterfaces.h
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Bindings/Python/IRModules.cpp
    A mlir/lib/CAPI/IR/BuiltinAttributes.cpp
    M mlir/lib/CAPI/IR/CMakeLists.txt
    R mlir/lib/CAPI/IR/StandardAttributes.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/lib/IR/AttributeDetail.h
    M mlir/lib/IR/Attributes.cpp
    M mlir/lib/IR/Builders.cpp
    A mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/CMakeLists.txt
    M mlir/test/CAPI/ir.c
    M mlir/unittests/IR/AttributeTest.cpp

  Log Message:
  -----------
  [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h

This mirrors the file structure of Types.

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


Compare: https://github.com/llvm/llvm-project/compare/f2e292446334...c7cae0e4fa4e


More information about the All-commits mailing list