Home
last modified time | relevance | path

Searched refs:DevTy (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp1705 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local
1706 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()
1707 *DevTy == OMPDeclareTargetDeclAttr::DT_Any); in checkVar()
H A DSemaOpenMP.cpp2699 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local
2703 (!DevTy || *DevTy == OMPDeclareTargetDeclAttr::DT_Host)) in finalizeOpenMPDelayedAnalysis()
2706 if (!LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()
2707 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in finalizeOpenMPDelayedAnalysis()
2710 DevTy = OMPDeclareTargetDeclAttr::getDeviceType(FD); in finalizeOpenMPDelayedAnalysis()
2711 if (LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()
2712 *DevTy == OMPDeclareTargetDeclAttr::DT_Host) { in finalizeOpenMPDelayedAnalysis()
2722 if (!LangOpts.OpenMPIsDevice && !LangOpts.OpenMPOffloadMandatory && DevTy && in finalizeOpenMPDelayedAnalysis()
2723 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) { in finalizeOpenMPDelayedAnalysis()
2731 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local
[all …]
H A DSemaDecl.cpp19891 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
19897 if (DevTy) in getEmissionStatus()
19898 if (*DevTy == OMPDeclareTargetDeclAttr::DT_Host) in getEmissionStatus()
19902 if (isInOpenMPDeclareTargetContext() || DevTy) in getEmissionStatus()
19913 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
19915 if (DevTy) in getEmissionStatus()
19916 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10259 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local
10261 if (!DevTy) in isAssumedToBeNotEmitted()
10264 if (!IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in isAssumedToBeNotEmitted()
10267 if (IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_Host) in isAssumedToBeNotEmitted()
10344 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in registerTargetGlobalVariable() local
10346 if (DevTy && *DevTy != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()