| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OpenCLExtensions.def | 1 //===--- OpenCLExtensions.def - OpenCL extension list -----------*- C++ -*-===// 9 // This file defines the list of supported OpenCL extensions. 14 // OpenCL extensions listed in this file. 17 // an extension is core or optional core and minimum OpenCL version 25 // avail - minimum OpenCL version supporting it. 26 // core - OpenCL versions mask when the extension becomes core feature. 28 // opt - OpenCL versions mask when the extension becomes optional core 35 // later is unconditionally supported in specific OpenCL version. 37 // As per The OpenCL Extension Specification, Section 1.2, in this file, an 39 // * affects the OpenCL language semantics or its syntax, [all …]
|
| H A D | LangStandards.def | 190 // OpenCL 192 OpenCL, "OpenCL 1.0", 193 LineComment | C99 | Digraphs | HexFloat | OpenCL) 197 OpenCL, "OpenCL 1.1", 198 LineComment | C99 | Digraphs | HexFloat | OpenCL) 200 OpenCL, "OpenCL 1.2", 201 LineComment | C99 | Digraphs | HexFloat | OpenCL) 203 OpenCL, "OpenCL 2.0", 204 LineComment | C99 | Digraphs | HexFloat | OpenCL) 206 OpenCL, "OpenCL 3.0", [all …]
|
| H A D | LangStandard.h | 39 OpenCL, enumerator 65 OpenCL = (1 << 16), enumerator 150 bool isOpenCL() const { return Flags & OpenCL; } in isOpenCL()
|
| H A D | LangOptions.def | 215 LANGOPT(OpenCL , 1, 0, NotCompatible, "OpenCL") 216 LANGOPT(OpenCLVersion , 32, 0, NotCompatible, "OpenCL C version") 217 LANGOPT(OpenCLCPlusPlus , 1, 0, NotCompatible, "C++ for OpenCL") 218 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, NotCompatible, "C++ for OpenCL version") 219 LANGOPT(OpenCLGenericAddressSpace, 1, 0, NotCompatible, "OpenCL generic keyword") 220 LANGOPT(OpenCLPipes , 1, 0, NotCompatible, "OpenCL pipes language constructs and built… 304 LANGOPT(FastRelaxedMath , 1, 0, NotCompatible, "OpenCL fast relaxed math") 330 LANGOPT(FakeAddressSpaceMap , 1, 0, NotCompatible, "OpenCL fake address space map") 331 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, NotCompatible, "OpenCL… 332 LANGOPT(IncludeDefaultHeader, 1, 0, NotCompatible, "Include default header file for OpenCL") [all …]
|
| H A D | SyncScope.h | 95 enum class AtomicScopeModelKind { None, OpenCL, HIP, Generic }; enumerator 277 case AtomicScopeModelKind::OpenCL: in create()
|
| H A D | OpenCLExtensionTypes.def | 8 // This file extends builtin types database with OpenCL extension types.
|
| H A D | TokenKinds.def | 282 // KEYOPENCLC - This is a keyword in OpenCL C 283 // KEYOPENCLCXX - This is a keyword in C++ for OpenCL 284 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL 626 // OpenCL address space qualifiers 637 // OpenCL function qualifiers 640 // OpenCL access qualifiers 647 // OpenCL builtins 653 // C++ for OpenCL s2.3.1: addrspace_cast operator 690 // OpenCL Extension.
|
| H A D | DiagnosticCommonKinds.td | 177 // OpenCL Section 6.8.g 422 // C++ for OpenCL. 424 "'%0' is not supported in C++ for OpenCL">; 449 …"%0 is a core feature in %select{OpenCL C|C++ for OpenCL}1 version %2 but not supported on this ta…
|
| H A D | Builtins.def | 19 // h -> half (__fp16, OpenCL) 54 // O -> long for OpenCL targets, long long otherwise.
|
| H A D | OpenCLImageTypes.def | 8 // This file extends builtin types database with OpenCL image singleton types.
|
| H A D | LangOptions.h | 742 return OpenCL || CUDA; in threadPrivateMemoryAtomicsAreUndefined() 764 return !requiresStrictPrototypes() && !OpenCL; in implicitFunctionsAllowed()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 1 //==--- OpenCLBuiltins.td - OpenCL builtin declarations -------------------===// 11 // This file contains TableGen definitions for OpenCL builtin function 12 // declarations. In case of an unresolved function name in OpenCL, Clang will 21 // Versions of OpenCL 43 // OpenCL language extension. 45 // One or more OpenCL extensions, space separated. Each extension must be 133 // Not a real extension, but a workaround to add C++ for OpenCL specific builtins. 164 // OpenCL C classes for types 166 // OpenCL C basic data types (int, float, image2d_t, ...). 190 // OpenCL vector types (e.g. int2, int3, int16, float8, ...). [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 131 SmallString<0> OpenCL; variable 153 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && in allGenericLibsValid() 229 assert(!OpenCL.empty()); in getOpenCLPath() 230 return OpenCL; in getOpenCLPath()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 137 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 168 if (Opts.OpenCL) { in setLangDefaults() 209 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus || Opts.C23; in setLangDefaults() 212 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
|
| H A D | LangStandards.cpp | 34 case Language::OpenCL: in languageToString() 98 case Language::OpenCL: in getDefaultLanguageStandard()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | BuiltinTypes.def | 200 // 'half' in OpenCL, '__fp16' in ARM NEON. 245 // OpenCL sampler_t. 248 // OpenCL event_t. 251 // OpenCL clk_event_t. 254 // OpenCL queue_t. 257 // OpenCL reserve_id_t.
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 31 .Case("cl", Language::OpenCL) in getInputKindForExtension()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatString.cpp | 186 if (!LO.OpenCL) in ParseVectorModifier() 226 } else if (I != E && *I == 'l' && LO.OpenCL) { in ParseLengthModifier() 934 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier() 981 return LO.OpenCL && !VectorNumElts.isInvalid(); in hasValidLengthModifier() 987 if (LO.OpenCL && VectorNumElts.isInvalid()) in hasValidLengthModifier()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 109 if (getABIInfo().getContext().getLangOpts().OpenCL) { in getDeviceKernelCallingConv() 138 assert(!CGM.getLangOpts().OpenCL && in getGlobalVarAddressSpace()
|
| H A D | CGBlocks.cpp | 158 if (CGM.getLangOpts().OpenCL) in buildBlockDescriptor() 227 if (C.getLangOpts().OpenCL) in buildBlockDescriptor() 486 if (CGM.getLangOpts().OpenCL) { in initializeForBlockHeader() 785 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL; in EmitBlockLiteral() 1131 if (getLangOpts().OpenCL) in getBlockDescriptorType() 1143 if (getLangOpts().OpenCL) { in getGenericBlockLiteralType() 1186 if (getLangOpts().OpenCL) { in EmitBlockCallExpr() 1321 bool IsOpenCL = CGM.getLangOpts().OpenCL; in buildGlobalBlock() 1372 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() 1408 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() [all …]
|
| H A D | CGOpenCLRuntime.cpp | 102 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | TCE.cpp | 41 if (M.getLangOpts().OpenCL) { in setTargetAttributes()
|
| H A D | AMDGPU.cpp | 351 M.getLangOpts().OpenCL ? FD->getAttr<ReqdWorkGroupSizeAttr>() : nullptr; in setFunctionDeclAttributes() 353 M.getLangOpts().OpenCL && FD->hasAttr<DeviceKernelAttr>(); in setFunctionDeclAttributes() 459 assert(!CGM.getLangOpts().OpenCL && in getGlobalVarAddressSpace()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVSubtarget.cpp | 88 else if (TargetTriple.getEnvironment() == Triple::OpenCL) in SPIRVSubtarget()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.def | 941 HANDLE_DW_LANG(0x0015, OpenCL, 0, 5, DWARF) 1022 HANDLE_DW_LNAME(0x0014, OpenCL_C, "OpenCL C", 0) 1038 HANDLE_DW_LNAME(0x0023, OpenCL_CPP, "OpenCL C++", 0) // VVMM 1039 HANDLE_DW_LNAME(0x0024, CPP_for_OpenCL, "C++ for OpenCL", 0) // VVMM 1133 // generated by any toolchain. It is used internally to GDB to indicate OpenCL 1134 // C functions that have been compiled with the IBM XL C for OpenCL compiler and 1135 // use a non-platform calling convention for passing OpenCL C vector types.
|