Searched refs:DevTy (Results 1 – 4 of 4) sorted by relevance
1705 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local1706 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()1707 *DevTy == OMPDeclareTargetDeclAttr::DT_Any); in checkVar()
2699 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local2703 (!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 …]
19891 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local19897 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() local19915 if (DevTy) in getEmissionStatus()19916 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
10259 std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local10261 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() local10346 if (DevTy && *DevTy != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()