Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp1591 auto DevTy = OMPDeclareTargetDeclAttr::getDeviceType(VD); in checkVar() local
1592 bool IsDev = DevTy && (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost || in checkVar()
1593 *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.cpp18468 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in getEmissionStatus() local
18474 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() local
18492 if (DevTy.hasValue()) in getEmissionStatus()
18493 if (*DevTy == OMPDeclareTargetDeclAttr::DT_NoHost) in getEmissionStatus()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10495 Optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy = in isAssumedToBeNotEmitted() local
10497 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() local
10615 if (DevTy && DevTy.getValue() != OMPDeclareTargetDeclAttr::DT_Any) in registerTargetGlobalVariable()