Searched refs:OpenCLFeaturesMap (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/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 | 450 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 D | Targets.cpp | 779 const llvm::StringMap<bool> &OpenCLFeaturesMap = getSupportedOpenCLOpts(); in validateOpenCLTarget() local 783 !hasFeatureEnabled(OpenCLFeaturesMap, Name)) in validateOpenCLTarget()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | TargetOptions.h | 65 llvm::StringMap<bool> OpenCLFeaturesMap; variable
|
H A D | TargetInfo.h | 1624 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 D | InitPreprocessor.cpp | 721 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 D | OpenCLSupport.rst | 231 options ``clang::TargetOptions::OpenCLFeaturesMap`` to control the exposure
|