| /netbsd-src/external/apache2/llvm/dist/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 | 165 // OpenCL 167 OpenCL, "OpenCL 1.0", 168 LineComment | C99 | Digraphs | HexFloat | OpenCL) 172 OpenCL, "OpenCL 1.1", 173 LineComment | C99 | Digraphs | HexFloat | OpenCL) 175 OpenCL, "OpenCL 1.2", 176 LineComment | C99 | Digraphs | HexFloat | OpenCL) 178 OpenCL, "OpenCL 2.0", 179 LineComment | C99 | Digraphs | HexFloat | OpenCL) 181 OpenCL, "OpenCL 3.0", [all …]
|
| H A D | LangStandard.h | 34 OpenCL, enumerator 58 OpenCL = (1 << 15) enumerator 132 bool isOpenCL() const { return Flags & OpenCL; } in isOpenCL()
|
| H A D | LangOptions.def | 218 LANGOPT(OpenCL , 1, 0, "OpenCL") 219 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version") 220 LANGOPT(OpenCLCPlusPlus , 1, 0, "C++ for OpenCL") 221 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, "C++ for OpenCL version") 222 LANGOPT(OpenCLGenericAddressSpace, 1, 0, "OpenCL generic keyword") 223 LANGOPT(OpenCLPipe , 1, 0, "OpenCL pipe keyword") 284 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math") 305 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map") 306 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space … 307 LANGOPT(IncludeDefaultHeader, 1, 0, "Include default header file for OpenCL") [all …]
|
| H A D | SyncScope.h | 65 enum class AtomicScopeModelKind { None, OpenCL }; enumerator 146 case AtomicScopeModelKind::OpenCL: in create()
|
| H A D | DiagnosticCommonKinds.td | 148 // OpenCL Section 6.8.g 150 "%select{OpenCL C|C++ for OpenCL}0 version %1 does not support the " 338 // C++ for OpenCL. 340 "'%0' is not supported in C++ for OpenCL">; 365 …"%0 is a core feature in %select{OpenCL C|C++ for OpenCL}1 version %2 but not supported on this ta…
|
| H A D | TokenKinds.def | 269 // KEYOPENCLC - This is a keyword in OpenCL C 270 // KEYOPENCLCXX - This is a keyword in C++ for OpenCL 271 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL 566 // OpenCL address space qualifiers 577 // OpenCL function qualifiers 580 // OpenCL access qualifiers 587 // OpenCL builtins 593 // C++ for OpenCL s2.3.1: addrspace_cast operator 611 // OpenCL Extension.
|
| H A D | OpenCLExtensionTypes.def | 8 // This file extends builtin types database with OpenCL extension types.
|
| H A D | OpenCLImageTypes.def | 8 // This file extends builtin types database with OpenCL image singleton types.
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/ |
| H A D | OpenCLSupport.rst | 17 OpenCL Support 20 Clang has complete support of OpenCL C versions from 1.0 to 2.0. 22 Clang also supports :ref:`the C++ for OpenCL kernel language <cxx_for_opencl_impl>`. 24 There is an ongoing work to support :ref:`OpenCL 3.0 <opencl_300>`. 28 For general issues and bugs with OpenCL in clang refer to `Bugzilla 29 <https://bugs.llvm.org/buglist.cgi?component=OpenCL&list_id=172679&product=clang&resolution=--->`__. 34 This section acts as internal documentation for OpenCL features design 39 OpenCL Metadata 42 Clang uses metadata to provide additional OpenCL semantics in IR needed for 43 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 v1.0, v1.1, v1.2, v2.0, 45 plus C++ for OpenCL. 2888 OpenCL Features 2891 Clang can be used to compile OpenCL kernels for execution on a device 2895 <https://www.khronos.org/registry/OpenCL/specs/opencl-1.1.pdf#111>`_) or 2928 compilation from OpenCL kernel sources into SPIR-V using open source 2930 <https://github.com/KhronosGroup/OpenCL-Guide/blob/main/chapters/os_tooling.md>`_. 2932 Clang currently supports OpenCL C language standards up to v2.0. Clang mainly 2935 Starting from clang 9 a C++ mode is available for OpenCL (see 2936 :ref:`C++ for OpenCL <cxx_for_opencl>`). [all …]
|
| H A D | LanguageExtensions.rst | 403 Supports the GCC, OpenCL, AltiVec and NEON vector extensions. 405 OpenCL vector types are created using the ``ext_vector_type`` attribute. It 406 supports the ``V.xyzw`` syntax and other tidbits as seen in OpenCL. An example 482 Operator OpenCL AltiVec GCC NEON 506 If it's an extension (OpenCL) vector, it's only available in C and OpenCL C. 507 And it selects base on signedness of the condition operands (OpenCL v1.1 s6.3.9). 1739 OpenCL Features 1742 Clang supports internal OpenCL extensions documented below. 1748 are relying on function pointers using regular OpenCL extension pragma 1749 mechanism detailed in `the OpenCL Extension Specification, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 85 // Not a real extension, but a workaround to add C++ for OpenCL specific builtins. 115 // OpenCL C classes for types 117 // OpenCL C basic data types (int, float, image2d_t, ...). 141 // OpenCL vector types (e.g. int2, int3, int16, float8, ...). [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 97 SmallString<0> OpenCL; variable 116 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && !HIP.empty() && in allGenericLibsValid() 185 assert(!OpenCL.empty()); in getOpenCLPath() 186 return OpenCL; in getOpenCLPath()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | BuiltinTypes.def | 200 // 'half' in OpenCL, '__fp16' in ARM NEON. 242 // OpenCL sampler_t. 245 // OpenCL event_t. 248 // OpenCL clk_event_t. 251 // OpenCL queue_t. 254 // OpenCL reserve_id_t.
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | AMDGPUUsage.rst | 590 space names use the OpenCL standard names, with some additions. 739 This is different to the OpenCL [OpenCL]_ memory model which does not have scope 741 is conservatively correct for OpenCL. 848 varies by OS and language (for OpenCL see 2409 OpenCL language runtime) may be embedded into the DWARF Version 5 line table. 2493 example, the AMD OpenCL runtime records kernel argument information. 2581 - "OpenCL C" 2582 - "OpenCL C++" 2618 Corresponds to the OpenCL 2625 Corresponds to the OpenCL [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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() 728 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier() 770 return LO.OpenCL && !VectorNumElts.isInvalid(); in hasValidLengthModifier() 776 if (LO.OpenCL && VectorNumElts.isInvalid()) in hasValidLengthModifier()
|
| /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/lib/ |
| H A D | opencl_kernel.cl | 1 /* OpenCL kernel for testing purposes. */
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/lib/ |
| H A D | opencl_kernel.cl | 1 /* OpenCL kernel for testing purposes. */
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 31 .Case("cl", Language::OpenCL) in getInputKindForExtension()
|
| H A D | CompilerInvocation.cpp | 540 if ((IK.getLanguage() == Language::OpenCL || in getOptimizationLevel() 2536 case Language::OpenCL: in GenerateFrontendArgs() 2729 .Case("cl", Language::OpenCL) in ParseFrontendArgs() 3093 case Language::OpenCL: in setLangDefaults() 3159 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 3174 if (Opts.OpenCL) { in setLangDefaults() 3214 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus; in setLangDefaults() 3217 Opts.Half = Opts.OpenCL; in setLangDefaults() 3233 case Language::OpenCL: in IsInputCompatibleWithStandard() 3234 return S.getLanguage() == Language::OpenCL || in IsInputCompatibleWithStandard() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 192 if (CGM.getLangOpts().OpenCL) in buildBlockDescriptor() 258 if (C.getLangOpts().OpenCL) in buildBlockDescriptor() 452 if (CGM.getLangOpts().OpenCL) { in initializeForBlockHeader() 797 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL; in EmitBlockLiteral() 1135 if (getLangOpts().OpenCL) in getBlockDescriptorType() 1147 if (getLangOpts().OpenCL) { in getGenericBlockLiteralType() 1188 if (getLangOpts().OpenCL) { in EmitBlockCallExpr() 1323 bool IsOpenCL = CGM.getLangOpts().OpenCL; in buildGlobalBlock() 1360 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() 1396 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/CommandGuide/ |
| H A D | clang.rst | 198 Supported values for the OpenCL language are: 202 OpenCL 1.0 206 OpenCL 1.1 210 OpenCL 1.2 214 OpenCL 2.0 216 The default OpenCL language standard is ``cl1.0``.
|
| /netbsd-src/external/apache2/llvm/dist/clang/ |
| H A D | CODE_OWNERS.TXT | 62 D: OpenCL support
|