Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp425 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in adjust() local
427 OpenCLFeaturesMap, "__opencl_c_generic_address_space"); in adjust()
429 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes"); in adjust()
431 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_device_enqueue"); in adjust()
H A DTargets.cpp763 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget() local
767 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetOptions.h65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
H A DTargetInfo.h1568 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1584 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1590 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1595 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp709 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros() local
715 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()
/llvm-project-15.0.7/clang/docs/
H A DOpenCLSupport.rst231 options ``clang::TargetOptions::OpenCLFeaturesMap`` to control the exposure