llvm-project/clang/lib/Sema
Pekka Jaaskelainen fc2629a65a [OpenCL] Makes kernels use the SPIR_KERNEL CC by default.
Rationale: OpenCL kernels are called via an explicit runtime API
with arguments set with clSetKernelArg(), not as normal sub-functions.
Return SPIR_KERNEL by default as the kernel calling convention to ensure
the fingerprint is fixed such way that each OpenCL argument gets one
matching argument in the produced kernel function argument list to enable
feasible implementation of clSetKernelArg() with aggregates etc. In case
we would use the default C calling conv here, clSetKernelArg() might
break depending on the target-specific conventions; different targets
might split structs passed as values to multiple function arguments etc.

https://reviews.llvm.org/D33639

llvm-svn: 304389
2017-06-01 07:18:49 +00:00
..
AnalysisBasedWarnings.cpp [coroutines] Fix fallthrough diagnostics for coroutines 2017-05-25 02:16:53 +00:00
AttributeList.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
CMakeLists.txt Enabling the /bigobj flag for SemaDeclAttr.cpp. 2017-05-12 14:30:49 +00:00
CodeCompleteConsumer.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
CoroutineStmtBuilder.h [coroutines] Build GRO declaration and return GRO statement 2017-05-22 20:22:23 +00:00
DeclSpec.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
DelayedDiagnostic.cpp [Sema] Delay partial availability diagnostics, just like deprecated 2016-10-28 21:39:27 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp [Sema][ObjC] Disallow jumping into ObjC fast enumeration loops. 2017-04-19 17:54:08 +00:00
MultiplexExternalSemaSource.cpp Modular Codegen: Support homing debug info for types in modular objects 2017-04-11 21:13:37 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [coroutines] Fix diagnostics depending on the first coroutine statement. 2017-03-11 02:35:37 +00:00
Sema.cpp [modules] When creating a declaration, cache its owning module immediately 2017-05-17 00:24:14 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp The SubjectMatchRule enum should not be used as a DenseMap key to avoid 2017-04-18 20:54:23 +00:00
SemaCUDA.cpp Factor out some common code between SpecialMemberExceptionSpecInfo and SpecialMemberDeletionInfo. 2017-02-24 02:07:20 +00:00
SemaCXXScopeSpec.cpp Add support for editor placeholders to Clang 2017-04-19 08:58:56 +00:00
SemaCast.cpp [Sema] Make typeof(OverloadedFunctionName) not a pointer. 2017-05-09 04:06:24 +00:00
SemaChecking.cpp [PowerPC] Implement vec_xxsldwi builtin. 2017-05-24 15:54:13 +00:00
SemaCodeComplete.cpp [CodeCompletion] Provide member completions for dependent expressions whose 2017-05-11 13:48:57 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Fix checking for prvalue-ness of `await_suspend` return type 2017-05-31 23:41:11 +00:00
SemaDecl.cpp [OpenCL] Added diagnostic for implicit declaration of function in OpenCL 2017-05-30 05:57:52 +00:00
SemaDeclAttr.cpp Make helper functions static. NFC. 2017-05-26 20:08:24 +00:00
SemaDeclCXX.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
SemaDeclObjC.cpp [Sema][ObjC] Don't emit availability diags for category @implementations 2017-05-31 15:45:57 +00:00
SemaExceptionSpec.cpp [coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt. 2017-03-06 23:38:15 +00:00
SemaExpr.cpp [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element 2017-05-30 05:32:03 +00:00
SemaExprCXX.cpp PR33232: implement support for MSVC's __is_trivially_destructible trait. 2017-06-01 00:28:16 +00:00
SemaExprMember.cpp [NFC, Scoped Enum] Convert Sema::ExpressionEvaluationContext into a scoped Enum 2017-04-01 21:30:49 +00:00
SemaExprObjC.cpp [Sema][ObjC] Clean up possible null dereference. 2017-05-09 01:54:51 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Fix PR 10758: Infinite recursion when dealing with copy-initialization 2017-05-16 10:23:58 +00:00
SemaLambda.cpp [coroutines] Make generic lambda coroutines work 2017-05-24 15:44:57 +00:00
SemaLookup.cpp Revert "Sema: allow imaginary constants via GNU extension if UDL overloads not present." 2017-05-24 22:18:35 +00:00
SemaObjCProperty.cpp [Sema][ObjC] Avoid the "type of property does not match type of accessor" 2017-03-30 13:33:51 +00:00
SemaOpenMP.cpp [OPENMP] Allow 'use_device_ptr' clause in 'target data' alone. 2017-05-30 16:00:04 +00:00
SemaOverload.cpp Enhance the 'diagnose_if' attribute so that we can apply it for ObjC methods and properties as well 2017-05-24 00:46:27 +00:00
SemaPseudoObject.cpp [Objective-C] Fix "weak-unavailable" warning with -fobjc-weak 2017-03-29 18:09:02 +00:00
SemaStmt.cpp Fix PR32933: crash on lambda capture of VLA 2017-05-15 01:49:19 +00:00
SemaStmtAsm.cpp [NFC, Scoped Enum] Convert Sema::ExpressionEvaluationContext into a scoped Enum 2017-04-01 21:30:49 +00:00
SemaStmtAttr.cpp Add [[clang::suppress(rule, ...)]] attribute 2017-03-27 19:45:24 +00:00
SemaTemplate.cpp [modules] Switch from inferring owning modules based on source location to 2017-05-18 02:29:20 +00:00
SemaTemplateDeduction.cpp [NFC, Scoped Enum] Convert Sema::ExpressionEvaluationContext into a scoped Enum 2017-04-01 21:30:49 +00:00
SemaTemplateInstantiate.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
SemaTemplateInstantiateDecl.cpp Rename RAII objects for performing eager instantiation to have names that 2017-05-20 01:36:41 +00:00
SemaTemplateVariadic.cpp PR24440: Do not silently discard a fold-expression appearing as the operand of a cast-expression. 2017-02-15 19:57:10 +00:00
SemaType.cpp [OpenCL] Makes kernels use the SPIR_KERNEL CC by default. 2017-06-01 07:18:49 +00:00
TreeTransform.h [coroutines] Make generic lambda coroutines work 2017-05-24 15:44:57 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00