[all-commits] [llvm/llvm-project] 75f239: [mlir] Initial version of C APIs

ftynse via All-commits all-commits at lists.llvm.org
Wed Aug 5 06:04:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f239e9756b157f209412268c5a50a69b1a4e74
      https://github.com/llvm/llvm-project/commit/75f239e9756b157f209412268c5a50a69b1a4e74
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M mlir/CMakeLists.txt
    A mlir/docs/CAPI.md
    A mlir/include/mlir-c/IR.h
    A mlir/include/mlir-c/Registration.h
    A mlir/lib/CAPI/CMakeLists.txt
    A mlir/lib/CAPI/IR/CMakeLists.txt
    A mlir/lib/CAPI/IR/IR.cpp
    A mlir/lib/CAPI/Registration/CMakeLists.txt
    A mlir/lib/CAPI/Registration/Registration.cpp
    A mlir/test/CAPI/CMakeLists.txt
    A mlir/test/CAPI/ir.c
    A mlir/test/CAPI/lit.local.cfg
    M mlir/test/CMakeLists.txt
    M mlir/test/lit.cfg.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list