[all-commits] [llvm/llvm-project] ba3f86: [OpenMP][OMPIRBuilder] Introducing the `OMPBuilder...
fghanim via All-commits
all-commits at lists.llvm.org
Wed Feb 19 12:12:11 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ba3f863dfb9c5f9bf5e6fdca2198b609df3b7761
https://github.com/llvm/llvm-project/commit/ba3f863dfb9c5f9bf5e6fdca2198b609df3b7761
Author: Fady Ghanim <fghanim84 at gmail.com>
Date: 2020-02-19 (Wed, 19 Feb 2020)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/OpenMP/cancel_codegen.cpp
Log Message:
-----------
[OpenMP][OMPIRBuilder] Introducing the `OMPBuilderCBHelpers` helper class
This patch introduces a new helper class `OMPBuilderCBHelpers`,
which will contain all reusable C/C++ language specific function-
alities required by the `OMPIRBuilder`.
Initially, this helper class contains the body and finalization
codegen functionalities implemented using callbacks which were
moved here for reusability among the different directives
implemented in the `OMPIRBuilder`, along with RAIIs for preserving
state prior to emitting outlined and/or inlined OpenMP regions.
In the future this helper class will also contain all the different
call backs required by OpenMP clauses/variable privatization.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D74562
More information about the All-commits
mailing list