[mlir][capi] Add TypeID to MLIR C-API
authorDaniel Resnick <danielzresnick@gmail.com>
Fri, 1 Oct 2021 00:14:00 +0000 (18:14 -0600)
committerDaniel Resnick <danielzresnick@gmail.com>
Fri, 1 Oct 2021 20:21:18 +0000 (14:21 -0600)
commit782a97a9776a945cf06a6defd37b227665ffe08b
treebc1e39818bce33825f815389442e570c25328b7f
parent4cdee8de6bad3cf38165bfb7788e58f2469a22ce
[mlir][capi] Add TypeID to MLIR C-API

Exposes mlir::TypeID to the C API as MlirTypeID along with various accessors
and helper functions.

Differential Revision: https://reviews.llvm.org/D110897
mlir/include/mlir-c/IR.h
mlir/include/mlir/CAPI/IR.h
mlir/lib/CAPI/IR/IR.cpp
mlir/test/CAPI/ir.c