[all-commits] [llvm/llvm-project] d23c61: [OpenMP] Introduce the OpenMP-IR-Builder
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Wed Dec 11 12:40:13 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d23c61490c282a7a8f29aaa5c021cbfdaf87fb6f
https://github.com/llvm/llvm-project/commit/d23c61490c282a7a8f29aaa5c021cbfdaf87fb6f
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
A llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/lib/Frontend/OpenMP/CMakeLists.txt
M llvm/lib/Frontend/OpenMP/OMPConstants.cpp
A llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/CMakeLists.txt
A llvm/unittests/Frontend/CMakeLists.txt
A llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Log Message:
-----------
[OpenMP] Introduce the OpenMP-IR-Builder
This is the initial patch for the OpenMP-IR-Builder, as discussed on the
mailing list ([1] and later) and at the US Dev Meeting'19.
The design is similar to D61953 but:
- in a non-WIP status, with proper documentation and working.
- using a OpenMPKinds.def file to manage lists of directives, runtime
functions, types, ..., similar to the current Clang implementation.
- restricted to handle only (simple) barriers, to implement most
`#pragma omp barrier` directives and most implicit barriers.
- properly hooked into Clang to be used if possible (D69922).
- compatible with the remaining code generation.
Parts have been extracted into D69853.
The plan is to have multiple people working on moving logic from Clang
here once the initial scaffolding (=this patch) landed.
[1] http://lists.flang-compiler.org/pipermail/flang-dev_lists.flang-compiler.org/2019-May/000197.html
Reviewers: kiranchandramohan, ABataev, RaviNarayanaswamy, gtbercea, grokos, sdmitriev, JonChesterfield, hfinkel, fghanim
Subscribers: mgorny, hiraditya, bollu, guansong, jfb, cfe-commits, llvm-commits, penzn, ppenzin
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69785
More information about the All-commits
mailing list