| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OpenCLExtensions.def | 9 // This file defines the list of supported OpenCL extensions. 14 // OpenCL extensions listed in this file. 25 // avail - minimum OpenCL version supporting it. 39 // * affects the OpenCL language semantics or its syntax, 61 // OpenCL 1.0. 76 // OpenCL 1.2. 80 // OpenCL 2.0. 93 // AMD OpenCL extensions 97 // ARM OpenCL extensions 103 // Intel OpenCL extensions [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", 181 OpenCL, "OpenCL 3.0", 184 OpenCL, "C++ for OpenCL", [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 | SyncScope.h | 65 enum class AtomicScopeModelKind { None, OpenCL }; enumerator 146 case AtomicScopeModelKind::OpenCL: in create()
|
| H A D | LangOptions.def | 222 LANGOPT(OpenCL , 1, 0, "OpenCL") 223 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version") 224 LANGOPT(OpenCLCPlusPlus , 1, 0, "C++ for OpenCL") 225 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, "C++ for OpenCL version") 226 LANGOPT(OpenCLGenericAddressSpace, 1, 0, "OpenCL generic keyword") 227 LANGOPT(OpenCLPipes , 1, 0, "OpenCL pipes language constructs and built-ins") 290 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math") 311 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map") 312 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space … 313 LANGOPT(IncludeDefaultHeader, 1, 0, "Include default header file for OpenCL") [all …]
|
| H A D | DiagnosticCommonKinds.td | 150 // OpenCL Section 6.8.g 152 "%select{OpenCL C|C++ for OpenCL}0 version %1 does not support the " 340 // C++ for OpenCL. 342 "'%0' is not supported in C++ for OpenCL">; 367 …"%0 is a core feature in %select{OpenCL C|C++ for OpenCL}1 version %2 but not supported on this ta…
|
| H A D | OpenCLExtensionTypes.def | 8 // This file extends builtin types database with OpenCL extension types.
|
| H A D | TokenKinds.def | 271 // KEYOPENCLC - This is a keyword in OpenCL C 272 // KEYOPENCLCXX - This is a keyword in C++ for OpenCL 273 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL 568 // OpenCL address space qualifiers 579 // OpenCL function qualifiers 582 // OpenCL access qualifiers 589 // OpenCL builtins 595 // C++ for OpenCL s2.3.1: addrspace_cast operator 613 // OpenCL Extension.
|
| H A D | OpenCLImageTypes.def | 8 // This file extends builtin types database with OpenCL image singleton types.
|
| H A D | DiagnosticParseKinds.td | 1252 // OpenCL EXTENSION pragma (OpenCL 1.1 [9.1]) 1258 "unknown OpenCL extension %0 - ignoring">, InGroup<IgnoredPragmas>; 1260 "unsupported OpenCL extension %0 - ignoring">, InGroup<IgnoredPragmas>; 1262 "OpenCL extension %0 is core feature or supported optional core feature - ignoring">, 1265 // OpenCL errors. 1269 "^^ is a reserved operator in OpenCL">; 1271 // C++ for OpenCL. 1273 "virtual functions are not supported in C++ for OpenCL">;
|
| H A D | Builtins.def | 27 // h -> half (__fp16, OpenCL) 58 // O -> long for OpenCL targets, long long otherwise. 833 // OpenCL 2.0 atomic builtins. 1598 // OpenCL v2.0 s6.13.16, s9.17.3.5 - Pipe functions. 1624 // OpenCL v2.0 s6.13.17 - Enqueue kernel functions. 1632 // OpenCL v2.0 s6.13.9 - Address space qualifier functions. 1633 // FIXME: Pointer parameters of OpenCL builtins should have their address space 1639 // OpenCL half load/store builtin
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 21 // Versions of OpenCL 43 // OpenCL language extension. 167 // OpenCL const types (e.g. const int). 179 // OpenCL volatile types (e.g. volatile int). 191 // OpenCL image types (e.g. image2d). 204 // OpenCL enum type (e.g. memory_scope). 989 // OpenCL v2.0 s6.13.11 - Atomics Functions. 1101 // OpenCL v2.0 s6.13.11 - Atomic Functions. 1453 // OpenCL Extension v2.0 s9.18 - Mipmaps 1585 // OpenCL Extension v2.0 s18.3 - Creating OpenCL Memory Objects from OpenGL MSAA Textures [all …]
|
| H A D | SemaType.cpp | 1532 if (S.getLangOpts().OpenCL) { in ConvertDeclSpecToType() 1727 if (S.getLangOpts().OpenCL) { in ConvertDeclSpecToType() 2132 if (getLangOpts().OpenCL) in BuildPointerType() 2202 if (getLangOpts().OpenCL) in BuildReferenceType() 2445 if (getLangOpts().OpenCL) { in BuildArrayType() 2554 if (getLangOpts().OpenCL) { in BuildArrayType() 2973 if (getLangOpts().OpenCL) in BuildBlockPointerType() 3932 if (S.getLangOpts().OpenCL) { in getCCForDeclaratorChunk() 4838 if (LangOpts.OpenCL) in GetFullTypeForDeclarator() 4867 if (LangOpts.OpenCL) { in GetFullTypeForDeclarator() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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.
|
| H A D | OperationKinds.def | 353 // Convert a zero value for OpenCL opaque types initialization (event_t, 360 // Convert an integer initializer to an OpenCL sampler.
|
| /freebsd-13.1/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() 728 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier() 770 return LO.OpenCL && !VectorNumElts.isInvalid(); in hasValidLengthModifier() 776 if (LO.OpenCL && VectorNumElts.isInvalid()) in hasValidLengthModifier()
|
| /freebsd-13.1/contrib/llvm-project/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() 2533 case Language::OpenCL: in GenerateFrontendArgs() 2726 .Case("cl", Language::OpenCL) in ParseFrontendArgs() 3090 case Language::OpenCL: in setLangDefaults() 3156 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 3171 if (Opts.OpenCL) { in setLangDefaults() 3211 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus; in setLangDefaults() 3214 Opts.Half = Opts.OpenCL; in setLangDefaults() 3230 case Language::OpenCL: in IsInputCompatibleWithStandard() 3231 return S.getLanguage() == Language::OpenCL || in IsInputCompatibleWithStandard() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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() 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() 1429 getContext().getLangOpts().OpenCL in setBlockContextParameter() [all …]
|
| H A D | CGOpenCLRuntime.cpp | 119 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
|
| H A D | CGDeclCXX.cpp | 121 if (CGF.getContext().getLangOpts().OpenCL) { in EmitDeclDestroy() 696 if (getLangOpts().OpenCL) { in EmitCXXGlobalInitFunc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 145 if (LangOpts.OpenCL && !LangOpts.OpenCLCPlusPlus && (Flags & KEYOPENCLC)) in getKeywordStatus() 178 if (LangOpts.OpenCL && (Flags & KEYNOOPENCL)) in AddKeyword()
|
| H A D | Builtins.cpp | 77 bool OclCUnsupported = !LangOpts.OpenCL && in builtinIsSupported()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | AMDGPU.cpp | 366 setAddressSpaceMap(/*DefaultIsPrivate=*/Opts.OpenCL || in adjust()
|