2013-05-14 17:13:00 +08:00
|
|
|
add_subdirectory(Dynamic)
|
|
|
|
|
2020-03-31 08:58:40 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2020-04-08 00:26:40 +08:00
|
|
|
FrontendOpenMP
|
2020-03-31 08:58:40 +08:00
|
|
|
Support
|
|
|
|
)
|
2012-07-06 13:48:52 +08:00
|
|
|
|
|
|
|
add_clang_library(clangASTMatchers
|
|
|
|
ASTMatchFinder.cpp
|
|
|
|
ASTMatchersInternal.cpp
|
2020-02-20 00:04:51 +08:00
|
|
|
GtestMatchers.cpp
|
2012-07-08 07:13:30 +08:00
|
|
|
|
2014-02-26 14:41:29 +08:00
|
|
|
LINK_LIBS
|
2012-11-17 01:30:58 +08:00
|
|
|
clangAST
|
2015-03-13 00:25:19 +08:00
|
|
|
clangBasic
|
2020-02-05 01:45:28 +08:00
|
|
|
clangLex
|
[openmp] Base of tablegen generated OpenMP common declaration
Summary:
As discussed previously when landing patch for OpenMP in Flang, the idea is
to share common part of the OpenMP declaration between the different Frontend.
While doing this it was thought that moving to tablegen instead of Macros will also
give a cleaner and more powerful way of generating these declaration.
This first part of a future series of patches is setting up the base .td file for
DirectiveLanguage as well as the OpenMP version of it. The base file is meant to
be used by other directive language such as OpenACC.
In this first patch, the Directive and Clause enums are generated with tablegen
instead of the macros on OMPConstants.h. The next pacth will extend this
to other enum and move the Flang frontend to use it.
Reviewers: jdoerfert, DavidTruby, fghanim, ABataev, jdenny, hfinkel, jhuber6, kiranchandramohan, kiranktp
Reviewed By: jdoerfert, jdenny
Subscribers: arphaman, martong, cfe-commits, mgorny, yaxunl, hiraditya, guansong, jfb, sstefan1, aaron.ballman, llvm-commits
Tags: #llvm, #openmp, #clang
Differential Revision: https://reviews.llvm.org/D81736
2020-06-23 21:29:50 +08:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
omp_gen
|
2012-11-17 01:30:58 +08:00
|
|
|
)
|