Searched refs:DevTy (Results 1 – 4 of 4) sorted by relevance
1649 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local1650 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()1651 *DevTy == OMPDeclareTargetDeclAttr::DT_Any); in checkVar()
2481 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local2485 (!DevTy || *DevTy == OMPDeclareTargetDeclAttr::DT_Host)) in finalizeOpenMPDelayedAnalysis()2488 if (!LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()2489 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in finalizeOpenMPDelayedAnalysis()2492 DevTy = OMPDeclareTargetDeclAttr::getDeviceType(FD); in finalizeOpenMPDelayedAnalysis()2493 if (LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()2494 *DevTy == OMPDeclareTargetDeclAttr::DT_Host) { in finalizeOpenMPDelayedAnalysis()2504 if (!LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()2505 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) { in finalizeOpenMPDelayedAnalysis()
18525 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local18531 if (DevTy.hasValue()) in getEmissionStatus()18532 if (*DevTy == OMPDeclareTargetDeclAttr::DT_Host) in getEmissionStatus()18536 if (isInOpenMPDeclareTargetContext() || DevTy.hasValue()) in getEmissionStatus()18547 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local18549 if (DevTy.hasValue()) in getEmissionStatus()18550 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
10688 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local10690 if (!DevTy) in isAssumedToBeNotEmitted()10693 if (!IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in isAssumedToBeNotEmitted()10696 if (IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_Host) in isAssumedToBeNotEmitted()10772 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in registerTargetGlobalVariable() local10774 if (DevTy && DevTy.getValue() != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()