Home
last modified time | relevance | path

Searched refs:getOpenCLOptions (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp323 getOpenCLOptions().addSupport( in Initialize()
371 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize()
373 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize()
375 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize()
394 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
H A DSemaType.cpp1533 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1539 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1728 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType()
2117 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType()
2192 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType()
2934 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType()
5066 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
5092 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator()
5288 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
H A DDeclSpec.cpp628 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp6431 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace()
6840 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes()
6856 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes()
7991 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType()
8031 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType()
8034 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType()
8750 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
8776 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType()
8794 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
16875 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
H A DSemaCast.cpp3062 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp659 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion()
831 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion()
3852 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant()
3876 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant()
13138 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
H A DSemaInit.cpp5622 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
8809 !S.getOpenCLOptions().isAvailableOption( in Perform()
H A DSemaDeclAttr.cpp7496 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
H A DSemaChecking.cpp841 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts())) { in checkOpenCLSubgroupExt()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1814 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParseDecl.cpp3085 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
3700 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParsePragma.cpp778 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3954 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h1549 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function