[mlir] Add C and python API for is_registered_operation.
authorStella Laurenzo <stellaraccident@gmail.com>
Wed, 31 Mar 2021 05:19:10 +0000 (22:19 -0700)
committerStella Laurenzo <stellaraccident@gmail.com>
Wed, 31 Mar 2021 05:56:02 +0000 (22:56 -0700)
commit9a9214fa2562b397764193517fa540a3dcbfd5a1
tree3d32403e3d76d5d7995282fcf05d09115aaa9e76
parent4e0045cc9b00ed18a7b8981d468a9d01eb4f6780
[mlir] Add C and python API for is_registered_operation.

* Suggested to be broken out of D99578

Differential Revision: https://reviews.llvm.org/D99638
mlir/include/mlir-c/IR.h
mlir/lib/Bindings/Python/IRCore.cpp
mlir/lib/CAPI/IR/IR.cpp
mlir/test/Bindings/Python/dialects.py
mlir/test/CAPI/ir.c