HomePhabricator

[mlir] Initial version of C APIs

Authored by ftynse on Aug 5 2020, 5:36 AM.

Description

[mlir] Initial version of C APIs

Introduce an initial version of C API for MLIR core IR components: Value, Type,
Attribute, Operation, Region, Block, Location. These APIs allow for both
inspection and creation of the IR in the generic form and intended for wrapping
in high-level library- and language-specific constructs. At this point, there
is no stability guarantee provided for the API.

Reviewed By: stellaraccident, lattner

Differential Revision: https://reviews.llvm.org/D83310

Details

Committed
ftynseAug 5 2020, 6:04 AM
Reviewer
stellaraccident
Differential Revision
D83310: [mlir] Initial version of C APIs
Parents
rGf5df5cd5586a: Recommit "[InstCombine] Negator: -(X << C) --> X * (-1 << C)"
Branches
Unknown
Tags
Unknown