| /openbsd-src/gnu/llvm/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 | 164 // OpenCL 166 OpenCL, "OpenCL 1.0", 167 LineComment | C99 | Digraphs | HexFloat | OpenCL) 171 OpenCL, "OpenCL 1.1", 172 LineComment | C99 | Digraphs | HexFloat | OpenCL) 174 OpenCL, "OpenCL 1.2", 175 LineComment | C99 | Digraphs | HexFloat | OpenCL) 177 OpenCL, "OpenCL 2.0", 178 LineComment | C99 | Digraphs | HexFloat | OpenCL) 180 OpenCL, "OpenCL 3.0", [all …]
|
| H A D | LangStandard.h | 38 OpenCL, enumerator 62 OpenCL = (1 << 14), enumerator 134 bool isOpenCL() const { return Flags & OpenCL; } in isOpenCL()
|
| H A D | SyncScope.h | 80 enum class AtomicScopeModelKind { None, OpenCL, HIP }; enumerator 213 case AtomicScopeModelKind::OpenCL: in create()
|
| H A D | LangOptions.def | 232 LANGOPT(OpenCL , 1, 0, "OpenCL") 233 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version") 234 LANGOPT(OpenCLCPlusPlus , 1, 0, "C++ for OpenCL") 235 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, "C++ for OpenCL version") 236 LANGOPT(OpenCLGenericAddressSpace, 1, 0, "OpenCL generic keyword") 237 LANGOPT(OpenCLPipes , 1, 0, "OpenCL pipes language constructs and built-ins") 310 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math") 333 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map") 334 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space … 335 LANGOPT(IncludeDefaultHeader, 1, 0, "Include default header file for OpenCL") [all …]
|
| H A D | OpenCLExtensionTypes.def | 8 // This file extends builtin types database with OpenCL extension types.
|
| H A D | TokenKinds.def | 272 // KEYOPENCLC - This is a keyword in OpenCL C 273 // KEYOPENCLCXX - This is a keyword in C++ for OpenCL 274 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL 583 // OpenCL address space qualifiers 594 // OpenCL function qualifiers 597 // OpenCL access qualifiers 604 // OpenCL builtins 610 // C++ for OpenCL s2.3.1: addrspace_cast operator 636 // OpenCL Extension.
|
| H A D | DiagnosticCommonKinds.td | 159 // OpenCL Section 6.8.g 374 // C++ for OpenCL. 376 "'%0' is not supported in C++ for OpenCL">; 401 …"%0 is a core feature in %select{OpenCL C|C++ for OpenCL}1 version %2 but not supported on this ta…
|
| H A D | OpenCLImageTypes.def | 8 // This file extends builtin types database with OpenCL image singleton types.
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | OpenCLSupport.rst | 17 OpenCL Support 20 Clang has complete support of OpenCL C versions from 1.0 to 3.0. 21 Support for OpenCL 3.0 is in experimental phase (:ref:`OpenCL 3.0 <opencl_300>`). 23 Clang also supports :ref:`the C++ for OpenCL kernel language <cxx_for_opencl_impl>`. 28 Details about usage of clang for OpenCL can be found in :doc:`UsersManual`. 33 - For general issues and bugs with OpenCL in clang refer to `the GitHub issue 45 This section acts as internal documentation for OpenCL features design 50 OpenCL Metadata 53 Clang uses metadata to provide additional OpenCL semantics in IR needed for 54 backends and OpenCL runtime. [all …]
|
| H A D | SYCLSupport.rst | 31 SYCL borrows its memory model from OpenCL however SYCL doesn't perform 33 `OpenCL C v3.0 6.7.8 <https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_C.html#… 96 To utilize clang's existing functionality, we reuse the following OpenCL address
|
| H A D | UsersManual.rst | 44 - :ref:`OpenCL Kernel Language <opencl>`: OpenCL C 1.0, 1.1, 1.2, 2.0, 3.0, 45 and C++ for OpenCL 1.0 and 2021. 3285 OpenCL Features 3288 Clang can be used to compile OpenCL kernels for execution on a device 3292 <https://www.khronos.org/registry/OpenCL/specs/opencl-1.1.pdf#111>`_) or 3325 compilation from OpenCL kernel sources into SPIR-V using open source 3327 <https://github.com/KhronosGroup/OpenCL-Guide/blob/main/chapters/os_tooling.md>`_. 3331 Clang currently supports OpenCL C language standards up to v2.0. Clang mainly 3334 From clang 9 a C++ mode is available for OpenCL (see 3335 :ref:`C++ for OpenCL <cxx_for_opencl>`). [all …]
|
| /openbsd-src/gnu/llvm/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. 160 // OpenCL C classes for types 162 // OpenCL C basic data types (int, float, image2d_t, ...). 186 // OpenCL vector types (e.g. int2, int3, int16, float8, ...). [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 118 SmallString<0> OpenCL; variable 141 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && !HIP.empty() && in allGenericLibsValid() 215 assert(!OpenCL.empty()); in getOpenCLPath() 216 return OpenCL; in getOpenCLPath()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 124 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 153 if (Opts.OpenCL) { in setLangDefaults() 196 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus || Opts.C2x; in setLangDefaults() 199 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
|
| H A D | LangStandards.cpp | 53 case Language::OpenCL: in getDefaultLanguageStandard()
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | SPIRVUsage.rst | 64 *<empty>*/``unknown`` Defaults to the OpenCL runtime. 72 *<empty>*/``unknown`` Defaults to the OpenCL environment.
|
| H A D | AMDGPUUsage.rst | 652 space names use the OpenCL standard names, with some additions. 801 This is different to the OpenCL [OpenCL]_ memory model which does not have scope 803 is conservatively correct for OpenCL. 912 varies by OS and language (for OpenCL see 2555 OpenCL language runtime) may be embedded into the DWARF Version 5 line table. 2640 example, the AMD OpenCL runtime records kernel argument information. 2728 - "OpenCL C" 2729 - "OpenCL C++" 2765 Corresponds to the OpenCL 2772 Corresponds to the OpenCL [all …]
|
| /openbsd-src/gnu/llvm/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.
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 31 .Case("cl", Language::OpenCL) in getInputKindForExtension()
|
| /openbsd-src/gnu/llvm/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() 795 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier() 843 return LO.OpenCL && !VectorNumElts.isInvalid(); in hasValidLengthModifier() 849 if (LO.OpenCL && VectorNumElts.isInvalid()) in hasValidLengthModifier()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 176 if (CGM.getLangOpts().OpenCL) in buildBlockDescriptor() 243 if (C.getLangOpts().OpenCL) in buildBlockDescriptor() 502 if (CGM.getLangOpts().OpenCL) { in initializeForBlockHeader() 802 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL; in EmitBlockLiteral() 1138 if (getLangOpts().OpenCL) in getBlockDescriptorType() 1150 if (getLangOpts().OpenCL) { in getGenericBlockLiteralType() 1190 if (getLangOpts().OpenCL) { in EmitBlockCallExpr() 1324 bool IsOpenCL = CGM.getLangOpts().OpenCL; in buildGlobalBlock() 1361 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() 1397 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() [all …]
|
| H A D | CGOpenCLRuntime.cpp | 124 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
|
| /openbsd-src/gnu/llvm/clang/docs/CommandGuide/ |
| H A D | clang.rst | 206 Supported values for the OpenCL language are: 210 OpenCL 1.0 214 OpenCL 1.1 218 OpenCL 1.2 222 OpenCL 2.0 224 The default OpenCL language standard is ``cl1.0``.
|
| /openbsd-src/gnu/llvm/clang/docs/HLSL/ |
| H A D | HLSLSupport.rst | 104 Like OpenCL, HLSL relies on capturing a lot of information into IR metadata. 209 HLSL uses the OpenCL vector extensions, and also provides C++-style constructors 215 HLSL does not support the C or C++ standard libraries. Like OpenCL, HLSL
|