llvm-project/clang/lib/Serialization
Michael Kruse 0336c75c36 [OpenMP 5.0] Parsing/sema support for from clause with mapper modifier.
This patch implements the parsing and sema support for the OpenMP
'from'-clause with potential user-defined mappers attached.
User-defined mappers are a new feature in OpenMP 5.0. A 'from'-clause
can have an explicit or implicit associated mapper, which instructs the
compiler to generate and use customized mapping functions. An example is
shown below:

    struct S { int len; int *d; };
    #pragma omp declare mapper(id: struct S s) map(s, s.d[0:s.len])
    struct S ss;
    #pragma omp target update from(mapper(id): ss) // use the mapper with name 'id' to map ss from device

Contributed-by: Lingda Li <lildmh@gmail.com>

Differential Revision: https://reviews.llvm.org/D58638

llvm-svn: 354817
2019-02-25 20:34:15 +00:00
..
ASTCommon.cpp [OpenMP 5.0] Parsing/sema support for "omp declare mapper" directive. 2019-02-01 20:25:04 +00:00
ASTCommon.h [modules] Fix handling of initializers for templated global variables. 2019-02-05 23:37:13 +00:00
ASTReader.cpp [OpenMP 5.0] Parsing/sema support for from clause with mapper modifier. 2019-02-25 20:34:15 +00:00
ASTReaderDecl.cpp [modules] Fix handling of initializers for templated global variables. 2019-02-05 23:37:13 +00:00
ASTReaderInternals.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTReaderStmt.cpp [AST] Pack GenericSelectionExpr 2019-01-26 14:15:10 +00:00
ASTWriter.cpp [OpenMP 5.0] Parsing/sema support for from clause with mapper modifier. 2019-02-25 20:34:15 +00:00
ASTWriterDecl.cpp [modules] Fix handling of initializers for templated global variables. 2019-02-05 23:37:13 +00:00
ASTWriterStmt.cpp [AST] Pack GenericSelectionExpr 2019-01-26 14:15:10 +00:00
CMakeLists.txt Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00
GeneratePCH.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GlobalModuleIndex.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Module.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleFileExtension.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MultiOnDiskHashTable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PCHContainerOperations.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00