/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 | 191 // OpenCL 193 OpenCL, "OpenCL 1.0", 194 LineComment | C99 | Digraphs | HexFloat | OpenCL) 198 OpenCL, "OpenCL 1.1", 199 LineComment | C99 | Digraphs | HexFloat | OpenCL) 201 OpenCL, "OpenCL 1.2", 202 LineComment | C99 | Digraphs | HexFloat | OpenCL) 204 OpenCL, "OpenCL 2.0", 205 LineComment | C99 | Digraphs | HexFloat | OpenCL) 207 OpenCL, "OpenCL 3.0", [all …]
|
H A D | LangStandard.h | 39 OpenCL, enumerator 66 OpenCL = (1 << 16), enumerator 151 bool isOpenCL() const { return Flags & OpenCL; } in isOpenCL()
|
H A D | LangOptions.def | 251 LANGOPT(OpenCL , 1, 0, "OpenCL") 252 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version") 253 LANGOPT(OpenCLCPlusPlus , 1, 0, "C++ for OpenCL") 254 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, "C++ for OpenCL version") 255 LANGOPT(OpenCLGenericAddressSpace, 1, 0, "OpenCL generic keyword") 256 LANGOPT(OpenCLPipes , 1, 0, "OpenCL pipes language constructs and built-ins") 340 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math") 364 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map") 365 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space … 366 LANGOPT(IncludeDefaultHeader, 1, 0, "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 | 285 // KEYOPENCLC - This is a keyword in OpenCL C 286 // KEYOPENCLCXX - This is a keyword in C++ for OpenCL 287 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL 619 // OpenCL address space qualifiers 630 // OpenCL function qualifiers 633 // OpenCL access qualifiers 640 // OpenCL builtins 646 // C++ for OpenCL s2.3.1: addrspace_cast operator 675 // OpenCL Extension.
|
H A D | Builtins.def | 19 // h -> half (__fp16, OpenCL) 54 // O -> long for OpenCL targets, long long otherwise.
|
H A D | DiagnosticCommonKinds.td | 180 // OpenCL Section 6.8.g 432 // C++ for OpenCL. 434 "'%0' is not supported in C++ for OpenCL">; 459 …"%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.
|
/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. 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 …]
|
H A D | SemaType.cpp | 1148 if (S.getLangOpts().OpenCL) { in ConvertDeclSpecToType() 1372 if (S.getLangOpts().OpenCL) { in ConvertDeclSpecToType() 1793 if (T->isFunctionType() && getLangOpts().OpenCL && in BuildPointerType() 1814 if (getLangOpts().OpenCL) in BuildPointerType() 1880 if (T->isFunctionType() && getLangOpts().OpenCL && in BuildReferenceType() 1891 if (getLangOpts().OpenCL) in BuildReferenceType() 2158 if (getLangOpts().OpenCL) { in BuildArrayType() 2283 if (getLangOpts().OpenCL) { in BuildArrayType() 2377 bool IsNoBoolVecLang = getLangOpts().OpenCL || getLangOpts().OpenCLCPlusPlus; in BuildExtVectorType() 2683 if (T->isFunctionType() && getLangOpts().OpenCL && in BuildMemberPointerType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | LangOptions.cpp | 135 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 164 if (Opts.OpenCL) { in setLangDefaults() 207 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus || Opts.C23; in setLangDefaults() 210 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
|
H A D | LangStandards.cpp | 34 case Language::OpenCL: in languageToString() 99 case Language::OpenCL: in getDefaultLanguageStandard()
|
H A D | Builtins.cpp | 97 if (!LangOpts.OpenCL && (BuiltinInfo.Langs & ALL_OCL_LANGUAGES)) in builtinIsSupported()
|
H A D | IdentifierTable.cpp | 173 return LangOpts.OpenCL && !LangOpts.OpenCLCPlusPlus ? KS_Enabled in getKeywordStatusHelper() 229 if (LangOpts.OpenCL && (Flags & KEYNOOPENCL)) return KS_Disabled; in getKeywordStatus()
|
/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/AST/ |
H A D | FormatString.cpp | 186 if (!LO.OpenCL) in ParseVectorModifier() 226 } else if (I != E && *I == 'l' && LO.OpenCL) { in ParseLengthModifier() 848 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier() 895 return LO.OpenCL && !VectorNumElts.isInvalid(); in hasValidLengthModifier() 901 if (LO.OpenCL && VectorNumElts.isInvalid()) in hasValidLengthModifier()
|
/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/CodeGen/ |
H A D | CGBlocks.cpp | 159 if (CGM.getLangOpts().OpenCL) in buildBlockDescriptor() 227 if (C.getLangOpts().OpenCL) in buildBlockDescriptor() 486 if (CGM.getLangOpts().OpenCL) { in initializeForBlockHeader() 786 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL; in EmitBlockLiteral() 1123 if (getLangOpts().OpenCL) in getBlockDescriptorType() 1135 if (getLangOpts().OpenCL) { in getGenericBlockLiteralType() 1175 if (getLangOpts().OpenCL) { in EmitBlockCallExpr() 1302 bool IsOpenCL = CGM.getLangOpts().OpenCL; in buildGlobalBlock() 1341 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() 1377 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() [all …]
|
H A D | TargetInfo.cpp | 127 assert(!CGM.getLangOpts().OpenCL && in getGlobalVarAddressSpace()
|
/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 | 195 if (!getContext().getLangOpts().OpenCL && LTy == OrigLTy && in classifyKernelArgumentType() 340 M.getLangOpts().OpenCL ? FD->getAttr<ReqdWorkGroupSizeAttr>() : nullptr; in setFunctionDeclAttributes() 342 M.getLangOpts().OpenCL && FD->hasAttr<OpenCLKernelAttr>(); in setFunctionDeclAttributes() 485 assert(!CGM.getLangOpts().OpenCL && in getGlobalVarAddressSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.td | 157 // OpenCL extended instruction enums 1307 // Class defining an image query builtin record used for lowering the OpenCL 1558 // Class matching an OpenCL builtin type name to an equivalent SPIR-V 1561 // name is the name of the given OpenCL builtin type. 1569 // Table gathering all the OpenCL type records. 1575 // Function to lookup OpenCL types by their name. 1625 // Classes definining various OpenCL enums. 1628 // OpenCL memory_scope enum 1646 // OpenCL sampler addressing mode/bitmask enum 1669 // OpenCL memory fences
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | Dwarf.def | 931 HANDLE_DW_LANG(0x0015, OpenCL, 0, 5, DWARF) 1011 HANDLE_DW_LNAME(0x0014, OpenCL_C, "OpenCL C", 0) 1027 HANDLE_DW_LNAME(0x0023, OpenCL_CPP, "OpenCL C++", 0) // VVMM 1028 HANDLE_DW_LNAME(0x0024, CPP_for_OpenCL, "C++ for OpenCL", 0) // VVMM 1120 // generated by any toolchain. It is used internally to GDB to indicate OpenCL 1121 // C functions that have been compiled with the IBM XL C for OpenCL compiler and 1122 // use a non-platform calling convention for passing OpenCL C vector types.
|