Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp118 auto OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in diagnoseUnsupportedFeatureDependencies() local
122 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, FeaturePair.getKey()) && in diagnoseUnsupportedFeatureDependencies()
123 !TI.hasFeatureEnabled(OpenCLFeaturesMap, FeaturePair.getValue())) { in diagnoseUnsupportedFeatureDependencies()
138 auto OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in diagnoseFeatureExtensionDifferences() local
142 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, ExtAndFeat.getKey()) != in diagnoseFeatureExtensionDifferences()
143 TI.hasFeatureEnabled(OpenCLFeaturesMap, ExtAndFeat.getValue())) { in diagnoseFeatureExtensionDifferences()
H A DTargetInfo.cpp410 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in adjust() local
412 OpenCLFeaturesMap, "__opencl_c_generic_address_space"); in adjust()
414 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes"); in adjust()
H A DTargets.cpp733 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget() local
737 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetOptions.h65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
H A DTargetInfo.h1492 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1508 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1514 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1519 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp618 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros() local
624 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()