Add location specifier to MLIR Functions, and:
authorChris Lattner <clattner@google.com>
Fri, 7 Sep 2018 16:08:13 +0000 (09:08 -0700)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 20:10:55 +0000 (13:10 -0700)
commit348f31a4fa6de535281002ebbba88b0339a25dea
tree74473c38d06e0876a0335aeecf6a14d20e0a4f9d
parent6337af082b5be7187a8a957ec91c7dade27dc031
Add location specifier to MLIR Functions, and:
 - Compress the identifier/kind of a Function into a single word.
 - Eliminate otherFailure from verifier now that we always have a location
 - Eliminate the error string from the verifier now that we always have
   locations.
 - Simplify the parser's handling of fn forward references, using the location
   tracked by the function.

PiperOrigin-RevId: 211985101
mlir/include/mlir/IR/CFGFunction.h
mlir/include/mlir/IR/Function.h
mlir/include/mlir/IR/Instructions.h
mlir/include/mlir/IR/MLFunction.h
mlir/include/mlir/IR/Module.h
mlir/lib/IR/Function.cpp
mlir/lib/IR/Verifier.cpp
mlir/lib/Parser/Parser.cpp
mlir/lib/Transforms/ConvertToCFG.cpp
mlir/test/IR/invalid.mlir
mlir/tools/mlir-opt/mlir-opt.cpp