Home
last modified time | relevance | path

Searched refs:OpenCLFeaturesMap (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp124 auto OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in diagnoseUnsupportedFeatureDependencies() local
130 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Feature) && in diagnoseUnsupportedFeatureDependencies()
131 !TI.hasFeatureEnabled(OpenCLFeaturesMap, Dep)) { in diagnoseUnsupportedFeatureDependencies()
141 auto OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in diagnoseFeatureExtensionDifferences() local
145 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, ExtAndFeat.first) != in diagnoseFeatureExtensionDifferences()
146 TI.hasFeatureEnabled(OpenCLFeaturesMap, ExtAndFeat.second)) { in diagnoseFeatureExtensionDifferences()
H A DTargetInfo.cpp452 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in adjust() local
454 OpenCLFeaturesMap, "__opencl_c_generic_address_space"); in adjust()
456 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes"); in adjust()
458 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_device_enqueue"); in adjust()
H A DTargets.cpp849 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget() local
853 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetOptions.h65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
H A DTargetInfo.h1657 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1673 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1679 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1684 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp751 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros() local
757 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()