Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp450 const auto &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in adjust() local
452 OpenCLFeaturesMap, "__opencl_c_generic_address_space"); in adjust()
454 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes"); in adjust()
456 hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_device_enqueue"); in adjust()
H A DTargets.cpp779 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget() local
783 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DTargetOptions.h65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
H A DTargetInfo.h1624 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1640 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1646 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1651 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp721 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros() local
727 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()
/openbsd/gnu/llvm/clang/docs/
H A DOpenCLSupport.rst231 options ``clang::TargetOptions::OpenCLFeaturesMap`` to control the exposure