llvm-project/clang/lib/Sema
Sven van Haastregt ed69faa01b [OpenCL] Add version handling and add vector ld/st builtins
Allow setting a MinVersion, stating from which OpenCL version a
builtin function is available, and a MaxVersion, stating from which
OpenCL version a builtin function should not be available anymore.

Guard some definitions of the "work-item" builtin functions according
to the OpenCL versions from which they are available.

Add the "vector data load and store" builtin functions (e.g.
vload/vstore), whose signatures differ before and after OpenCL 2.0 in
the pointer argument address spaces.

Patch by Pierre Gondois and Sven van Haastregt.

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

llvm-svn: 372321
2019-09-19 13:41:51 +00:00
..
AnalysisBasedWarnings.cpp [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +00:00
CMakeLists.txt Recommit [OpenCL] Move OpenCLBuiltins.td and remove unused include 2019-06-17 10:06:34 +00:00
CodeCompleteConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CoroutineStmtBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
MultiplexExternalSemaSource.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenCLBuiltins.td [OpenCL] Add version handling and add vector ld/st builtins 2019-09-19 13:41:51 +00:00
ParsedAttr.cpp Move some definitions from Sema to Basic to fix shared libs build 2019-09-16 13:58:59 +00:00
Scope.cpp Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
Sema.cpp Removed some questionable default arguments from setters 2019-09-12 12:16:43 +00:00
SemaAccess.cpp Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
SemaAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaCUDA.cpp Split ActOnCallExpr into an ActOnCallExpr to be called by the parser, 2019-05-08 01:36:36 +00:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp [Sema] Check __builtin_bit_cast operand for completeness before materializing it. 2019-08-12 19:29:43 +00:00
SemaChecking.cpp [CLANG][BPF] change __builtin_preserve_access_index() signature 2019-09-19 02:59:43 +00:00
SemaCodeComplete.cpp [CodeComplete] Fix ASTUnit cached completion of macros from preamble, broken in r342528 2019-07-18 07:17:49 +00:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp Allow copy/move assignment operator to be coroutine as per N4775 2019-06-19 14:12:19 +00:00
SemaDecl.cpp Ignore exception specifier mismatch when merging redeclarations 2019-09-17 20:29:10 +00:00
SemaDeclAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaDeclCXX.cpp [c++20] P1331R2: Allow transient use of uninitialized objects in 2019-09-18 17:37:44 +00:00
SemaDeclObjC.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaExceptionSpec.cpp Move EH spec mismatches under -fms-compatibility 2019-08-27 17:52:03 +00:00
SemaExpr.cpp [OPENMP5.0]Introduce attribute for declare variant directive. 2019-09-17 17:36:49 +00:00
SemaExprCXX.cpp [Sema][Typo Correction] Fix potential infite loop on ambiguity checks 2019-09-13 14:43:24 +00:00
SemaExprMember.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaExprObjC.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaFixItUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp Reland [LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType) 2019-09-06 08:56:30 +00:00
SemaLambda.cpp [c++20] Fix some ambiguities in our mangling of lambdas with explicit 2019-09-05 01:23:47 +00:00
SemaLookup.cpp [OpenCL] Add version handling and add vector ld/st builtins 2019-09-19 13:41:51 +00:00
SemaModule.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
SemaObjCProperty.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaOpenMP.cpp [OPENMP5.0]Allow multiple context selectors in the context selector 2019-09-18 16:24:31 +00:00
SemaOverload.cpp [CUDA][HIP] Fix typo in `BestViableFunction` 2019-09-19 13:14:03 +00:00
SemaPseudoObject.cpp Split ActOnCallExpr into an ActOnCallExpr to be called by the parser, 2019-05-08 01:36:36 +00:00
SemaStmt.cpp [OpenMP] Permit map with DSA on combined directive 2019-08-22 03:34:30 +00:00
SemaStmtAsm.cpp Delay diagnosing asm constraints that require immediates until after inlining 2019-08-06 22:41:22 +00:00
SemaStmtAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaTemplate.cpp [MS] Warn when shadowing template parameters under -fms-compatibility 2019-09-12 18:26:34 +00:00
SemaTemplateDeduction.cpp [c++20] Disallow template argument deduction from a braced-init-list 2019-08-31 00:05:50 +00:00
SemaTemplateInstantiate.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaTemplateInstantiateDecl.cpp [OPENMP5.0]Allow multiple context selectors in the context selector 2019-09-18 16:24:31 +00:00
SemaTemplateVariadic.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaType.cpp Add SpellingNotCalculated to Attribute Enums to suppress UBSan warnings 2019-09-17 14:11:51 +00:00
TreeTransform.h Push lambda scope earlier when transforming lambda expression 2019-09-17 01:43:33 +00:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00