Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp1649 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local
1650 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()
1651 *DevTy == OMPDeclareTargetDeclAttr::DT_Any); in checkVar()
H A DSemaOpenMP.cpp2481 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in finalizeOpenMPDelayedAnalysis() local
2485 (!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()
H A DSemaDecl.cpp18525 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
18531 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() local
18549 if (DevTy.hasValue()) in getEmissionStatus()
18550 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10688 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local
10690 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() local
10774 if (DevTy && DevTy.getValue() != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()