Home
last modified time | relevance | path

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

/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.cpp481 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in adjust()
483 OpenCLFeaturesMap, "__opencl_c_generic_address_space"); in adjust()
485 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes"); in adjust()
487 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_device_enqueue"); in adjust()
463 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); adjust() local
H A DTargets.cpp860 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget()
864 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
852 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); validateOpenCLTarget() local
/llvm-project/clang/include/clang/Basic/
H A DTargetOptions.h65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
H A DTargetInfo.h1758 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V); in getVtblPtrAddressSpace()
1774 getTargetOpts().OpenCLFeaturesMap[Name] = V;
1780 return getTargetOpts().OpenCLFeaturesMap; in validateTarget()
1785 return getTargetOpts().OpenCLFeaturesMap;
/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp782 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros()
788 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()
773 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); InitializeOpenCLFeatureTestMacros() local
/llvm-project/clang/docs/
H A DOpenCLSupport.rst231 options ``clang::TargetOptions::OpenCLFeaturesMap`` to control the exposure