Remove const from Value, Instruction, Argument, and the various methods on the
authorChris Lattner <clattner@google.com>
Sat, 23 Mar 2019 22:09:06 +0000 (15:09 -0700)
committerjpienaar <jpienaar@google.com>
Sat, 30 Mar 2019 00:34:33 +0000 (17:34 -0700)
commit986310a68f119c7fe60c1d80379454836d298cf5
treebfab6448bd9fb8bc90e192b3b01cc856ba0c1fac
parentb236041b937c5f0a10540b149f7ed5052e1f3333
Remove const from Value, Instruction, Argument, and the various methods on the
*Op classes.  This is a net reduction by almost 400LOC.

PiperOrigin-RevId: 239972443
51 files changed:
mlir/include/mlir/AffineOps/AffineOps.h
mlir/include/mlir/Analysis/AffineStructures.h
mlir/include/mlir/Analysis/Dominance.h
mlir/include/mlir/Analysis/LoopAnalysis.h
mlir/include/mlir/Analysis/NestedMatcher.h
mlir/include/mlir/Analysis/Utils.h
mlir/include/mlir/Analysis/VectorAnalysis.h
mlir/include/mlir/Dialect/Traits.h
mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/BlockAndValueMapping.h
mlir/include/mlir/IR/Builders.h
mlir/include/mlir/IR/Dialect.h
mlir/include/mlir/IR/Instruction.h
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/OpImplementation.h
mlir/include/mlir/IR/OperationSupport.h
mlir/include/mlir/IR/UseDefLists.h
mlir/include/mlir/IR/Value.h
mlir/include/mlir/StandardOps/Ops.h
mlir/include/mlir/SuperVectorOps/SuperVectorOps.h
mlir/include/mlir/Transforms/Utils.h
mlir/lib/AffineOps/AffineOps.cpp
mlir/lib/Analysis/AffineAnalysis.cpp
mlir/lib/Analysis/AffineStructures.cpp
mlir/lib/Analysis/Dominance.cpp
mlir/lib/Analysis/LoopAnalysis.cpp
mlir/lib/Analysis/NestedMatcher.cpp
mlir/lib/Analysis/Utils.cpp
mlir/lib/Analysis/VectorAnalysis.cpp
mlir/lib/Analysis/Verifier.cpp
mlir/lib/Dialect/Traits.cpp
mlir/lib/EDSC/MLIREmitter.cpp
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/Block.cpp
mlir/lib/IR/Instruction.cpp
mlir/lib/IR/Operation.cpp
mlir/lib/IR/Value.cpp
mlir/lib/StandardOps/Ops.cpp
mlir/lib/SuperVectorOps/SuperVectorOps.cpp
mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
mlir/lib/Transforms/CSE.cpp
mlir/lib/Transforms/DialectConversion.cpp
mlir/lib/Transforms/DmaGeneration.cpp
mlir/lib/Transforms/LoopFusion.cpp
mlir/lib/Transforms/MaterializeVectors.cpp
mlir/lib/Transforms/PipelineDataTransfer.cpp
mlir/lib/Transforms/Utils/Utils.cpp
mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp
mlir/lib/Transforms/Vectorize.cpp
mlir/test/mlir-tblgen/op-decl.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp