[Openmp-commits] [PATCH] D107178: [OpenMP][C-API] Introduce the OpenMP-IR-Builder C-API

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 30 09:31:56 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, tianshilei1992, ggeorgakoudis.
Herald added a reviewer: deadalnix.
Herald added subscribers: jfb, guansong, bollu, hiraditya, yaxunl.
jdoerfert requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

To allow outside user to leverage the OpenMP runtime we need to provide
a C binding for the OpenMP-IR-Builder. It simply wraps the C++ interface
without much complexity. This patch introduces the interface and
provides the (sample) ability to lower a `omp barrier`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107178

Files:
  llvm/include/llvm-c/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107178.363125.patch
Type: text/x-patch
Size: 7889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210730/4adb392f/attachment.bin>


More information about the Openmp-commits mailing list