Searched refs:OpenCLFeaturesMap (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | OpenCLOptions.cpp | 118 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 D | TargetInfo.cpp | 410 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 D | Targets.cpp | 733 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 D | TargetOptions.h | 65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
|
| H A D | TargetInfo.h | 1492 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 D | InitPreprocessor.cpp | 618 const llvm::StringMap<bool> &OpenCLFeaturesMap = TI.getSupportedOpenCLOpts(); in InitializeOpenCLFeatureTestMacros() local 624 if (TI.hasFeatureEnabled(OpenCLFeaturesMap, Name) && in InitializeOpenCLFeatureTestMacros()
|