2013-12-10 03:04:43 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2016-02-15 12:29:36 +08:00
|
|
|
Core
|
2013-12-10 03:04:43 +08:00
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
2013-08-17 08:40:41 +08:00
|
|
|
add_clang_library(clangIndex
|
2013-11-14 06:16:51 +08:00
|
|
|
CommentToXML.cpp
|
2019-02-28 05:47:40 +08:00
|
|
|
FileIndexRecord.cpp
|
2016-02-13 07:10:59 +08:00
|
|
|
IndexBody.cpp
|
|
|
|
IndexDecl.cpp
|
|
|
|
IndexingAction.cpp
|
|
|
|
IndexingContext.cpp
|
|
|
|
IndexSymbol.cpp
|
|
|
|
IndexTypeSourceInfo.cpp
|
2016-02-15 06:30:14 +08:00
|
|
|
USRGeneration.cpp
|
2014-01-20 18:24:05 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADERS
|
2016-02-13 07:10:59 +08:00
|
|
|
IndexingContext.h
|
2013-08-17 08:40:41 +08:00
|
|
|
|
2014-02-26 14:41:29 +08:00
|
|
|
LINK_LIBS
|
2013-08-17 08:40:41 +08:00
|
|
|
clangAST
|
2013-12-10 03:04:43 +08:00
|
|
|
clangBasic
|
2013-11-14 06:26:04 +08:00
|
|
|
clangFormat
|
2016-02-13 07:10:59 +08:00
|
|
|
clangFrontend
|
2018-07-09 16:54:42 +08:00
|
|
|
clangLex
|
2014-07-17 00:48:33 +08:00
|
|
|
clangRewrite
|
2017-01-30 14:48:27 +08:00
|
|
|
clangSerialization
|
2014-10-30 08:44:01 +08:00
|
|
|
clangToolingCore
|
[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
|
2013-08-17 08:40:41 +08:00
|
|
|
)
|