Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp1677 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local
1678 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()
1679 *DevTy == OMPDeclareTargetDeclAttr::DT_Any); in checkVar()
H A DSemaDecl.cpp19272 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
19278 if (DevTy) in getEmissionStatus()
19279 if (*DevTy == OMPDeclareTargetDeclAttr::DT_Host) in getEmissionStatus()
19283 if (isInOpenMPDeclareTargetContext() || DevTy) in getEmissionStatus()
19294 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
19296 if (DevTy) in getEmissionStatus()
19297 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
H A DSemaOpenMP.cpp2667 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local
2671 (!DevTy || *DevTy == OMPDeclareTargetDeclAttr::DT_Host)) in finalizeOpenMPDelayedAnalysis()
2674 if (!LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()
2675 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in finalizeOpenMPDelayedAnalysis()
2678 DevTy = OMPDeclareTargetDeclAttr::getDeviceType(FD); in finalizeOpenMPDelayedAnalysis()
2679 if (LangOpts.OpenMPIsDevice && DevTy && in finalizeOpenMPDelayedAnalysis()
2680 *DevTy == OMPDeclareTargetDeclAttr::DT_Host) { in finalizeOpenMPDelayedAnalysis()
2690 if (!LangOpts.OpenMPIsDevice && !LangOpts.OpenMPOffloadMandatory && DevTy && in finalizeOpenMPDelayedAnalysis()
2691 *DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) { in finalizeOpenMPDelayedAnalysis()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10648 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local
10650 if (!DevTy) in isAssumedToBeNotEmitted()
10653 if (!IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in isAssumedToBeNotEmitted()
10656 if (IsDevice && DevTy == OMPDeclareTargetDeclAttr::DT_Host) in isAssumedToBeNotEmitted()
10732 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in registerTargetGlobalVariable() local
10734 if (DevTy && *DevTy != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()