2012-08-10 06:33:50 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2020-11-22 03:49:41 +08:00
|
|
|
Core
|
[OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
Summary:
The new OpenMPConstants.h is a location for all OpenMP related constants
(and helpers) to live.
This patch moves the directives there (the enum OpenMPDirectiveKind) and
rewires Clang to use the new location.
Initially part of D69785.
Reviewers: kiranchandramohan, ABataev, RaviNarayanaswamy, gtbercea, grokos, sdmitriev, JonChesterfield, hfinkel, fghanim
Subscribers: jholewinski, ppenzin, penzn, llvm-commits, cfe-commits, jfb, guansong, bollu, hiraditya, mgorny
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69853
2019-11-05 12:00:49 +08:00
|
|
|
FrontendOpenMP
|
2021-04-20 22:58:19 +08:00
|
|
|
MC
|
2013-12-10 03:27:36 +08:00
|
|
|
Support
|
2012-08-10 06:33:50 +08:00
|
|
|
)
|
|
|
|
|
2019-06-17 18:06:34 +08:00
|
|
|
clang_tablegen(OpenCLBuiltins.inc -gen-clang-opencl-builtins
|
|
|
|
SOURCE OpenCLBuiltins.td
|
|
|
|
TARGET ClangOpenCLBuiltinsImpl
|
|
|
|
)
|
|
|
|
|
2008-10-26 08:56:18 +08:00
|
|
|
add_clang_library(clangSema
|
2010-03-21 05:06:02 +08:00
|
|
|
AnalysisBasedWarnings.cpp
|
Initial implementation of a code-completion interface in Clang. In
essence, code completion is triggered by a magic "code completion"
token produced by the lexer [*], which the parser recognizes at
certain points in the grammar. The parser then calls into the Action
object with the appropriate CodeCompletionXXX action.
Sema implements the CodeCompletionXXX callbacks by performing minimal
translation, then forwarding them to a CodeCompletionConsumer
subclass, which uses the results of semantic analysis to provide
code-completion results. At present, only a single, "printing" code
completion consumer is available, for regression testing and
debugging. However, the design is meant to permit other
code-completion consumers.
This initial commit contains two code-completion actions: one for
member access, e.g., "x." or "p->", and one for
nested-name-specifiers, e.g., "std::". More code-completion actions
will follow, along with improved gathering of code-completion results
for the various contexts.
[*] In the current -code-completion-dump testing/debugging mode, the
file is truncated at the completion point and EOF is translated into
"code completion".
llvm-svn: 82166
2009-09-18 05:32:03 +08:00
|
|
|
CodeCompleteConsumer.cpp
|
2010-08-21 02:27:03 +08:00
|
|
|
DeclSpec.cpp
|
2011-03-23 23:13:44 +08:00
|
|
|
DelayedDiagnostic.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
IdentifierResolver.cpp
|
2009-04-19 12:46:21 +08:00
|
|
|
JumpDiagnostics.cpp
|
2012-10-19 03:05:02 +08:00
|
|
|
MultiplexExternalSemaSource.cpp
|
2018-07-13 23:07:47 +08:00
|
|
|
ParsedAttr.cpp
|
2011-05-02 06:35:37 +08:00
|
|
|
Scope.cpp
|
2012-09-29 06:21:39 +08:00
|
|
|
ScopeInfo.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
Sema.cpp
|
2009-03-27 13:18:33 +08:00
|
|
|
SemaAccess.cpp
|
2009-02-17 08:57:29 +08:00
|
|
|
SemaAttr.cpp
|
2020-01-25 07:16:22 +08:00
|
|
|
SemaAvailability.cpp
|
2008-11-11 16:29:24 +08:00
|
|
|
SemaCXXScopeSpec.cpp
|
2011-10-12 01:38:55 +08:00
|
|
|
SemaCast.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
SemaChecking.cpp
|
Initial implementation of a code-completion interface in Clang. In
essence, code completion is triggered by a magic "code completion"
token produced by the lexer [*], which the parser recognizes at
certain points in the grammar. The parser then calls into the Action
object with the appropriate CodeCompletionXXX action.
Sema implements the CodeCompletionXXX callbacks by performing minimal
translation, then forwarding them to a CodeCompletionConsumer
subclass, which uses the results of semantic analysis to provide
code-completion results. At present, only a single, "printing" code
completion consumer is available, for regression testing and
debugging. However, the design is meant to permit other
code-completion consumers.
This initial commit contains two code-completion actions: one for
member access, e.g., "x." or "p->", and one for
nested-name-specifiers, e.g., "std::". More code-completion actions
will follow, along with improved gathering of code-completion results
for the various contexts.
[*] In the current -code-completion-dump testing/debugging mode, the
file is truncated at the completion point and EOF is translated into
"code completion".
llvm-svn: 82166
2009-09-18 05:32:03 +08:00
|
|
|
SemaCodeComplete.cpp
|
2019-10-15 23:24:26 +08:00
|
|
|
SemaConcept.cpp
|
2011-12-20 16:42:15 +08:00
|
|
|
SemaConsumer.cpp
|
2015-10-22 14:13:50 +08:00
|
|
|
SemaCoroutine.cpp
|
2014-09-03 23:27:03 +08:00
|
|
|
SemaCUDA.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaDecl.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
SemaDeclAttr.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaDeclCXX.cpp
|
|
|
|
SemaDeclObjC.cpp
|
2009-10-11 17:03:14 +08:00
|
|
|
SemaExceptionSpec.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaExpr.cpp
|
|
|
|
SemaExprCXX.cpp
|
2011-06-23 08:49:38 +08:00
|
|
|
SemaExprMember.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaExprObjC.cpp
|
2011-07-29 03:46:48 +08:00
|
|
|
SemaFixItUtils.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaInit.cpp
|
2012-02-09 05:18:48 +08:00
|
|
|
SemaLambda.cpp
|
2009-01-15 06:20:51 +08:00
|
|
|
SemaLookup.cpp
|
2019-04-18 08:57:02 +08:00
|
|
|
SemaModule.cpp
|
2010-03-12 08:38:40 +08:00
|
|
|
SemaObjCProperty.cpp
|
2013-03-22 14:34:35 +08:00
|
|
|
SemaOpenMP.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaOverload.cpp
|
2011-10-26 01:37:35 +08:00
|
|
|
SemaPseudoObject.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaStmt.cpp
|
2012-08-18 05:19:40 +08:00
|
|
|
SemaStmtAsm.cpp
|
2012-04-14 08:33:13 +08:00
|
|
|
SemaStmtAttr.cpp
|
[OpenMP][SYCL] Improve diagnosing of unsupported types usage
Summary:
Diagnostic is emitted if some declaration of unsupported type
declaration is used inside device code.
Memcpy operations for structs containing member with unsupported type
are allowed. Fixed crash on attempt to emit diagnostic outside of the
functions.
The approach is generalized between SYCL and OpenMP.
CUDA/OMP deferred diagnostic interface is going to be used for SYCL device.
Reviewers: rsmith, rjmccall, ABataev, erichkeane, bader, jdoerfert, aaron.ballman
Reviewed By: jdoerfert
Subscribers: guansong, sstefan1, yaxunl, mgorny, bader, ebevhan, Anastasia, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74387
2020-05-29 20:41:37 +08:00
|
|
|
SemaSYCL.cpp
|
2008-12-06 02:15:24 +08:00
|
|
|
SemaTemplate.cpp
|
2009-06-04 08:03:07 +08:00
|
|
|
SemaTemplateDeduction.cpp
|
2009-02-28 03:31:52 +08:00
|
|
|
SemaTemplateInstantiate.cpp
|
2009-03-18 05:15:40 +08:00
|
|
|
SemaTemplateInstantiateDecl.cpp
|
2010-12-16 01:38:57 +08:00
|
|
|
SemaTemplateVariadic.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaType.cpp
|
2013-06-08 04:31:48 +08:00
|
|
|
TypeLocBuilder.cpp
|
2009-03-17 07:06:59 +08:00
|
|
|
|
2019-06-17 18:06:34 +08:00
|
|
|
DEPENDS
|
|
|
|
ClangOpenCLBuiltinsImpl
|
[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
|
|
|
omp_gen
|
2019-06-17 18:06:34 +08:00
|
|
|
|
2014-02-26 14:41:29 +08:00
|
|
|
LINK_LIBS
|
2012-06-21 09:30:21 +08:00
|
|
|
clangAST
|
|
|
|
clangAnalysis
|
|
|
|
clangBasic
|
|
|
|
clangEdit
|
|
|
|
clangLex
|
|
|
|
)
|