Searched refs:OpenCLFeaturesMap (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | OpenCLOptions.cpp | 124 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 D | TargetInfo.cpp | 425 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 D | Targets.cpp | 763 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 D | TargetOptions.h | 65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
|
| H A D | TargetInfo.h | 1568 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 D | InitPreprocessor.cpp | 709 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 D | OpenCLSupport.rst | 231 options ``clang::TargetOptions::OpenCLFeaturesMap`` to control the exposure
|