[mlir][IR] Remove references to BuiltinOps from IR/
authorRiver Riddle <riddleriver@gmail.com>
Thu, 3 Dec 2020 23:46:23 +0000 (15:46 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Thu, 3 Dec 2020 23:47:01 +0000 (15:47 -0800)
commit672cc75cceda12e67915643566362f832edcb66d
treeb157c2302997a37cd6815cc9aac4c8e04baed906
parentc503dc1b8a52946e4daefa1a266e74a102382971
[mlir][IR] Remove references to BuiltinOps from IR/

There isn't a good reason for anything within IR to specifically reference any of the builtin operations. The only place that had a good reason in the past was AsmPrinter, but the behavior there doesn't need to hardcode ModuleOp anymore.

Differential Revision: https://reviews.llvm.org/D92448
flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
mlir/include/mlir/IR/Builders.h
mlir/include/mlir/IR/BuiltinOps.td
mlir/include/mlir/IR/MLIRContext.h
mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/Attributes.cpp
mlir/lib/IR/Builders.cpp
mlir/lib/IR/MLIRContext.cpp
mlir/test/EDSC/builder-api-test.cpp