Use consistent names for dialect op source files
authorLei Zhang <antiagainst@google.com>
Fri, 1 Mar 2019 21:48:24 +0000 (13:48 -0800)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 23:53:19 +0000 (16:53 -0700)
commit85d9b6c8f7119e519fa9cd34f0359625b7c315ae
treefaa45ce90b00a544a98cc70f1b0274c2c86ce70b
parent8254aabd4a1788b48907b3052c47f787beb5028c
Use consistent names for dialect op source files

This CL changes dialect op source files (.h, .cpp, .td) to follow the following
convention:

  <full-dialect-name>/<dialect-namespace>Ops.{h|cpp|td}

Builtin and standard dialects are specially treated, though. Both of them do
not have dialect namespace; the former is still named as BuiltinOps.* and the
latter is named as Ops.*.

Purely mechanical. NFC.

PiperOrigin-RevId: 236371358
37 files changed:
mlir/include/mlir/IR/BuiltinOps.h
mlir/include/mlir/IR/OpBase.td [moved from mlir/include/mlir/IR/op_base.td with 99% similarity]
mlir/include/mlir/LLVMIR/LLVMDialect.h
mlir/include/mlir/LLVMIR/LLVMOps.td [moved from mlir/include/mlir/LLVMIR/llvm_ops.td with 98% similarity]
mlir/include/mlir/StandardOps/Ops.h [moved from mlir/include/mlir/StandardOps/StandardOps.h with 99% similarity]
mlir/include/mlir/StandardOps/Ops.td [moved from mlir/include/mlir/StandardOps/standard_ops.td with 97% similarity]
mlir/lib/AffineOps/AffineOps.cpp
mlir/lib/Analysis/AffineAnalysis.cpp
mlir/lib/Analysis/LoopAnalysis.cpp
mlir/lib/Analysis/MemRefBoundCheck.cpp
mlir/lib/Analysis/MemRefDependenceCheck.cpp
mlir/lib/Analysis/NestedMatcher.cpp
mlir/lib/Analysis/Utils.cpp
mlir/lib/Analysis/VectorAnalysis.cpp
mlir/lib/EDSC/LowerEDSCTestPass.cpp
mlir/lib/EDSC/MLIREmitter.cpp
mlir/lib/EDSC/Types.cpp
mlir/lib/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/LLVMIR/Transforms/ConvertToLLVMDialect.cpp
mlir/lib/StandardOps/DialectRegistration.cpp
mlir/lib/StandardOps/Ops.cpp [moved from mlir/lib/StandardOps/StandardOps.cpp with 99% similarity]
mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
mlir/lib/Transforms/DmaGeneration.cpp
mlir/lib/Transforms/LoopFusion.cpp
mlir/lib/Transforms/LowerAffine.cpp
mlir/lib/Transforms/LowerVectorTransfers.cpp
mlir/lib/Transforms/MaterializeVectors.cpp
mlir/lib/Transforms/MemRefDataFlowOpt.cpp
mlir/lib/Transforms/PipelineDataTransfer.cpp
mlir/lib/Transforms/Utils/LoopUtils.cpp
mlir/lib/Transforms/Utils/Utils.cpp
mlir/lib/Transforms/Vectorize.cpp
mlir/test/EDSC/api-test.cpp
mlir/test/mlir-tblgen/one-op-one-result.td
mlir/test/mlir-tblgen/op-result.td
mlir/test/mlir-tblgen/predicate.td
mlir/test/mlir-tblgen/reference-impl.td