Searched refs:DevTy (Results 1 – 4 of 4) sorted by relevance
1591 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local1592 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()1593 *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()
18468 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local18474 if (DevTy.hasValue()) in getEmissionStatus()18475 if (*DevTy == OMPDeclareTargetDeclAttr::DT_Host) in getEmissionStatus()18479 if (isInOpenMPDeclareTargetContext() || DevTy.hasValue()) in getEmissionStatus()18490 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local18492 if (DevTy.hasValue()) in getEmissionStatus()18493 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
10495 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local10497 if (!DevTy) in isAssumedToBeNotEmitted()10500 if (!IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in isAssumedToBeNotEmitted()10503 if (IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_Host) in isAssumedToBeNotEmitted()10613 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in registerTargetGlobalVariable() local10615 if (DevTy && DevTy.getValue() != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()