Searched refs:CUDA (Results 26 - 50 of 53) sorted by relevance
123
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 897 (getLangOpts().CUDA && FD->hasAttr<CUDAGlobalAttr>())) 1296 else if (getLangOpts().CUDA &&
|
H A D | CGVTables.cpp | 815 if (CGM.getLangOpts().CUDA) {
|
H A D | CGDecl.cpp | 249 // OpenCL variables in local address space and CUDA shared 410 // CUDA's local and local static __shared__ variables should not 414 bool isCudaSharedVar = getLangOpts().CUDA && getLangOpts().CUDAIsDevice &&
|
H A D | CGException.cpp | 732 // CUDA device code doesn't have exceptions. 733 if (LO.CUDA && LO.CUDAIsDevice)
|
H A D | TargetInfo.cpp | 455 !(CGM.getLangOpts().CUDA && CGM.getLangOpts().CUDAIsDevice) && 6996 // Under CUDA device compilation, tex/surf builtin types are replaced with 7044 if (M.getLangOpts().CUDA) { 7071 // Perform special handling in CUDA mode. 7072 if (M.getLangOpts().CUDA) { 7073 // CUDA __global__ functions get a kernel metadata entry. Since 9050 !(CGM.getLangOpts().CUDA && CGM.getLangOpts().CUDAIsDevice) &&
|
H A D | CGDebugInfo.cpp | 1886 if (!CGM.getLangOpts().CUDA || CGM.getLangOpts().CUDAIsDevice || 4651 if (CGM.getLangOpts().CUDA && CGM.getLangOpts().CUDAIsDevice) {
|
H A D | CGCall.cpp | 265 /// Set calling convention for CUDA/HIP kernel. 1808 // Conservatively, mark all functions and calls in CUDA and OpenCL as 1816 if (getLangOpts().CUDA && getLangOpts().CUDAIsDevice) { 1817 // Exceptions aren't supported in CUDA device code. 1888 /// modules such as CUDA's libdevice.
|
H A D | CGExpr.cpp | 2608 if (CGF.getLangOpts().OpenMP || CGF.getLangOpts().CUDA ||
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2674 else if (LangOpts.CUDA) 2675 Lang = Language::CUDA;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 3692 } else if (LangOpts.CUDA && After == '<') { 3769 } else if (LangOpts.CUDA && After == '>') {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 375 if (getLangOpts().CUDA) { 480 if (getLangOpts().CUDA) { 3172 // In CUDA, the argument to '#pragma unroll' should not be contained in 3174 if (PP.getLangOpts().CUDA && ValueInParens)
|
H A D | ParseExprCXX.cpp | 1242 if (getLangOpts().CUDA) { 1243 // In CUDA code, GNU attributes are allowed to appear immediately after the 1248 // Helper to emit a warning if we see a CUDA host/device/global attribute 1251 if (getLangOpts().CUDA)
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3540 // CUDA: Kernel function must have 'void' return type. 3541 if (getLangOpts().CUDA) 4098 !getSourceManager().isInSystemHeader(TryLoc) && !getLangOpts().CUDA) { 4103 // Exceptions aren't allowed in CUDA device code. 4104 if (getLangOpts().CUDA)
|
H A D | SemaDeclCXX.cpp | 6826 if (getLangOpts().CUDA) { 9125 if (getLangOpts().CUDA) { 9126 // We should delete the special member in CUDA mode if target inference 12943 if (getLangOpts().CUDA) { 13221 if (getLangOpts().CUDA) { 13858 if (getLangOpts().CUDA) { 14183 if (getLangOpts().CUDA) { 14565 if (getLangOpts().CUDA) { 14698 if (getLangOpts().CUDA) { 14999 if (getLangOpts().CUDA [all...] |
H A D | SemaOverload.cpp | 1275 if (getLangOpts().CUDA && ConsiderCudaAttrs) { 1285 // Allow overloading of functions with same signature and different CUDA 6312 // (CUDA B.1): Check for invalid calls between targets. 6313 if (getLangOpts().CUDA) 6827 // (CUDA B.1): Check for invalid calls between targets. 6828 if (getLangOpts().CUDA) 9745 if (S.getLangOpts().CUDA && Cand1.Function && Cand2.Function) { 9845 // [CUDA] HD->H or HD->D calls are technically not allowed by CUDA but 9852 if (S.getLangOpts().CUDA) { [all...] |
H A D | Sema.cpp | 1628 // In CUDA, there are some constructs which may appear in semantically-valid 1702 if (getLangOpts().CUDA)
|
H A D | SemaTemplate.cpp | 8859 if (LangOpts.CUDA && 8997 if (LangOpts.CUDA) 10019 if (LangOpts.CUDA &&
|
H A D | SemaType.cpp | 1514 // CUDA host and device may have different _Float16 support, therefore 1516 // ToDo: more precise diagnostics for CUDA. 1517 if (!S.Context.getTargetInfo().hasFloat16Type() && !S.getLangOpts().CUDA && 2418 // CUDA device code and some other targets don't support VLAs. 2419 targetDiag(Loc, (getLangOpts().CUDA && getLangOpts().CUDAIsDevice) 2422 << ((getLangOpts().CUDA && getLangOpts().CUDAIsDevice)
|
H A D | SemaDeclAttr.cpp | 4340 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && 4641 // CUDA functions may have host and/or device attributes which indicate 4643 // of functions in CUDA should be checked against the target deduced based 4645 if (LangOpts.CUDA) {
|
H A D | SemaExpr.cpp | 294 if (getLangOpts().CUDA && !CheckCUDACall(Loc, FD)) 6612 if (getLangOpts().CUDA) { 6614 // CUDA: Kernel calls must be to global functions 6619 // CUDA: Kernel function must have 'void' return type 6626 // CUDA: Calls to global functions must be configured 15320 // CUDA device code does not support varargs. 15321 if (getLangOpts().CUDA && getLangOpts().CUDAIsDevice) { 16616 if (getLangOpts().CUDA)
|
H A D | SemaTemplateDeduction.cpp | 3276 // CUDA: Kernel function must have 'void' return type. 3277 if (getLangOpts().CUDA)
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_device_functions.h | 1 /*===---- __clang_cuda_device_functions.h - CUDA runtime support -----------=== 15 #error This file is intended to be used with CUDA-9+ only. 1042 // CUDA no longer provides inline assembly (or bitcode) implementation of these
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 2578 // In CUDA mode without relocatable device code, variables of form 'extern 2583 // With CUDA relocatable device code enabled, these variables don't get 2585 if (LangOpts.CUDA && !LangOpts.GPURelocatableDeviceCode && 3200 // CUDA does not have device-side standard library. printf and malloc are the 3202 if (Context.getLangOpts().CUDA && hasAttr<CUDADeviceAttr>() &&
|
H A D | RecordLayoutBuilder.cpp | 2127 if (Context.getLangOpts().CUDA) { 2128 // While compiler may see key method in this TU, during CUDA
|
H A D | ASTContext.cpp | 10379 } else if (Context.getLangOpts().CUDA && Context.getLangOpts().CUDAIsDevice && 11034 if (LangOpts.CUDA)
|
Completed in 765 milliseconds
123