| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | OpenCLExtensions.def | 1 //===--- OpenCLExtensions.def - OpenCL extension list -----------*- C++ -*-===// 10 // This file defines the list of supported OpenCL extensions. 15 // OpenCL extensions listed in this file. 20 // If the extensions are to be enumerated with supported OpenCL version, 23 // avail - minimum OpenCL version supporting it. 36 // OpenCL 1.0. 52 // OpenCL 1.1. 59 // OpenCL 1.2. 70 // OpenCL 2.0. 81 // AMD OpenCL extensions [all …]
|
| H A D | LangOptions.def | 192 LANGOPT(OpenCL , 1, 0, "OpenCL") 193 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version") 194 LANGOPT(OpenCLCPlusPlus , 1, 0, "OpenCL C++") 195 LANGOPT(OpenCLCPlusPlusVersion , 32, 0, "OpenCL C++ version") 240 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math") 250 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map") 251 ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space … 252 LANGOPT(IncludeDefaultHeader, 1, 0, "Include default header file for OpenCL")
|
| H A D | SyncScope.h | 66 enum class AtomicScopeModelKind { None, OpenCL }; enumerator 147 case AtomicScopeModelKind::OpenCL: in create()
|
| H A D | TokenKinds.def | 249 // KEYOPENCLC - This is a keyword in OpenCL C 250 // KEYOPENCLCXX - This is a keyword in OpenCL C++ 251 // KEYNOOPENCL - This is a keyword that is not supported in OpenCL C 252 // nor in OpenCL C++. 532 // OpenCL address space qualifiers 543 // OpenCL function qualifiers 546 // OpenCL access qualifiers 553 // OpenCL builtins 575 // OpenCL Extension.
|
| H A D | OpenCLExtensionTypes.def | 9 // This file extends builtin types database with OpenCL extension types.
|
| H A D | DiagnosticCommonKinds.td | 134 // OpenCL Section 6.8.g 136 "OpenCL %select{C|C++}0 version %1 does not support the '%2' " 286 // OpenCL C++. 288 "'%0' is not supported in OpenCL C++">;
|
| H A D | DiagnosticParseKinds.td | 1112 "OpenCL only supports 'opencl_unroll_hint' attribute on for, while, and do statements">; 1114 // OpenCL EXTENSION pragma (OpenCL 1.1 [9.1]) 1120 "OpenCL extension end directive mismatches begin directive - ignoring">, InGroup<IgnoredPragmas>; 1122 "unknown OpenCL extension %0 - ignoring">, InGroup<IgnoredPragmas>; 1124 "unsupported OpenCL extension %0 - ignoring">, InGroup<IgnoredPragmas>; 1126 …"OpenCL extension %0 is core feature or supported optional core feature - ignoring">, InGroup<Diag… 1128 // OpenCL errors. 1132 "^^ is a reserved operator in OpenCL">; 1134 // OpenCL C++. 1136 "virtual functions are not supported in OpenCL C++">; [all …]
|
| H A D | LangOptions.h | 299 return (CUDA && CUDAIsDevice) || OpenCL; in assumeFunctionsAreConvergent()
|
| H A D | OpenCLImageTypes.def | 9 // This file extends builtin types database with OpenCL image singleton types.
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | LangStandards.def | 146 // OpenCL 148 OpenCL, "OpenCL 1.0", 149 LineComment | C99 | Digraphs | HexFloat | OpenCL) 153 OpenCL, "OpenCL 1.1", 154 LineComment | C99 | Digraphs | HexFloat | OpenCL) 156 OpenCL, "OpenCL 1.2", 157 LineComment | C99 | Digraphs | HexFloat | OpenCL) 159 OpenCL, "OpenCL 2.0", 160 LineComment | C99 | Digraphs | HexFloat | OpenCL) 162 OpenCL, "OpenCL C++ 1.0", [all …]
|
| H A D | LangStandard.h | 35 OpenCL = (1 << 13) enumerator 106 bool isOpenCL() const { return Flags & frontend::OpenCL; } in isOpenCL()
|
| H A D | FrontendOptions.h | 161 OpenCL, enumerator
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | BuiltinTypes.def | 201 // 'half' in OpenCL, '__fp16' in ARM NEON. 240 // OpenCL sampler_t. 243 // OpenCL event_t. 246 // OpenCL clk_event_t. 249 // OpenCL queue_t. 252 // OpenCL reserve_id_t.
|
| H A D | OperationKinds.def | 329 // Convert a zero value for OpenCL opaque types initialization (event_t, 336 // Convert an integer initializer to an OpenCL sampler.
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 31 .Case("cl", InputKind::OpenCL) in getInputKindForExtension()
|
| H A D | CompilerInvocation.cpp | 1827 .Case("cl", InputKind::OpenCL) in ParseFrontendArgs() 2073 case InputKind::OpenCL: in setLangDefaults() 2132 Opts.OpenCL = Std.isOpenCL(); in setLangDefaults() 2145 if (Opts.OpenCL) { in setLangDefaults() 2172 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus; in setLangDefaults() 2175 Opts.Half = Opts.OpenCL; in setLangDefaults() 2219 case InputKind::OpenCL: in IsInputCompatibleWithStandard() 2220 return S.getLanguage() == InputKind::OpenCL; in IsInputCompatibleWithStandard() 2256 case InputKind::OpenCL: in GetInputKindName() 2583 Opts.Blocks = Args.hasArg(OPT_fblocks) || (Opts.OpenCL in ParseLangArgs() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 193 if (CGM.getLangOpts().OpenCL) in buildBlockDescriptor() 259 if (C.getLangOpts().OpenCL) in buildBlockDescriptor() 451 if (CGM.getLangOpts().OpenCL) { in initializeForBlockHeader() 1217 if (getLangOpts().OpenCL) in getBlockDescriptorType() 1229 if (getLangOpts().OpenCL) { in getGenericBlockLiteralType() 1273 if (getLangOpts().OpenCL) in EmitBlockCallExpr() 1293 if (getLangOpts().OpenCL) { in EmitBlockCallExpr() 1407 bool IsOpenCL = CGM.getLangOpts().OpenCL; in buildGlobalBlock() 1444 if (CGM.getContext().getLangOpts().OpenCL) in buildGlobalBlock() 1511 getContext().getLangOpts().OpenCL in setBlockContextParameter() [all …]
|
| H A D | CGOpenCLRuntime.cpp | 120 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/ |
| H A D | AMDGPU.cpp | 271 setAddressSpaceMap(/*DefaultIsPrivate=*/Opts.OpenCL || in adjust()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Builtins.cpp | 76 bool OclCUnsupported = !LangOpts.OpenCL && in builtinIsSupported()
|
| H A D | IdentifierTable.cpp | 136 if (LangOpts.OpenCL && !LangOpts.OpenCLCPlusPlus && (Flags & KEYOPENCLC)) in getKeywordStatus() 165 if (LangOpts.OpenCL && (Flags & KEYNOOPENCL)) in AddKeyword()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 748 if (getLangOpts().OpenCL && in DefaultArgumentPromotion() 6319 (getLangOpts().OpenCL && in CheckExtVectorCast() 6474 if (getLangOpts().OpenCL && in BuildVectorLiteral() 7077 if (getLangOpts().OpenCL && in CheckConditionalOperands() 7724 if (S.getLangOpts().OpenCL) { in checkBlockPointerTypesForAssignment() 7741 if (S.getLangOpts().OpenCL) { in checkBlockPointerTypesForAssignment() 8806 if (getLangOpts().OpenCL && in CheckVectorOperands() 9443 if (S.getLangOpts().OpenCL) in DiagnoseBadShiftValues() 11792 if (LangOpts.OpenCL) { in CheckAddressOfOperand() 12293 if (getLangOpts().OpenCL) { in CreateBuiltinBinOp() [all …]
|
| H A D | SemaType.cpp | 1608 if (S.getLangOpts().OpenCL && in ConvertDeclSpecToType() 1949 if (T->isFunctionType() && getLangOpts().OpenCL) { in BuildPointerType() 2287 if (getLangOpts().OpenCL) { in BuildArrayType() 3445 if (S.getLangOpts().OpenCL) { in getCCForDeclaratorChunk() 4322 if (DeclType.Cls.TypeQuals || LangOpts.OpenCL) { in GetFullTypeForDeclarator() 4325 if (LangOpts.OpenCL) in GetFullTypeForDeclarator() 4353 if (LangOpts.OpenCL) { in GetFullTypeForDeclarator() 4538 if (S.getLangOpts().OpenCL) { in GetFullTypeForDeclarator() 4551 if (LangOpts.OpenCL) { in GetFullTypeForDeclarator() 4750 if (S.getLangOpts().OpenCL) { in GetFullTypeForDeclarator() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Driver/ |
| H A D | CC1Options.td | 723 HelpText<"Use a fake address space map; OpenCL testing purposes only">; 725 HelpText<"Set the mode for address space map based mangling; OpenCL testing purposes only">; 751 HelpText<"Include the default header file for OpenCL">; 810 // OpenCL Options 814 …HelpText<"OpenCL only. Enable or disable OpenCL extensions. The argument is a comma-separated sequ…
|
| /freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.def | 658 HANDLE_DW_LANG(0x0015, OpenCL, 0, 5, DWARF) 748 // generated by any toolchain. It is used internally to GDB to indicate OpenCL C 749 // functions that have been compiled with the IBM XL C for OpenCL compiler and use 750 // a non-platform calling convention for passing OpenCL C vector types.
|