This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][C-API] Introduce the OpenMP-IR-Builder C-API
Changes PlannedPublic

Authored by jdoerfert on Jul 30 2021, 9:31 AM.

Details

Summary

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.

Diff Detail

Event Timeline

jdoerfert created this revision.Jul 30 2021, 9:31 AM
jdoerfert requested review of this revision.Jul 30 2021, 9:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 30 2021, 9:31 AM

LGTM, clang-format, does it need tests?

jdoerfert planned changes to this revision.Aug 11 2021, 7:57 PM

Unsure if we still need it, reluctant to press on it if we do not.