Home
last modified time | relevance | path

Searched refs:CaptureRegions (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DOpenMPKinds.cpp746 SmallVectorImpl<OpenMPDirectiveKind> &CaptureRegions, in getOpenMPCaptureRegions() argument
756 CaptureRegions.push_back(OMPD_metadirective); in getOpenMPCaptureRegions()
759 CaptureRegions.push_back(OMPD_nothing); in getOpenMPCaptureRegions()
762 CaptureRegions.push_back(OMPD_parallel); in getOpenMPCaptureRegions()
765 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
766 CaptureRegions.push_back(OMPD_target); in getOpenMPCaptureRegions()
772 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
775 CaptureRegions.push_back(OMPD_teams); in getOpenMPCaptureRegions()
778 CaptureRegions.push_back(OMPD_taskloop); in getOpenMPCaptureRegions()
785 if (!CaptureRegions.empty() && in getOpenMPCaptureRegions()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenMPKinds.h350 llvm::SmallVectorImpl<OpenMPDirectiveKind> &CaptureRegions,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp343 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in VisitOMPExecutableDirective() local
344 getOpenMPCaptureRegions(CaptureRegions, D->getDirectiveKind()); in VisitOMPExecutableDirective()
345 if (CaptureRegions.size() == 1 && CaptureRegions.back() == OMPD_unknown) { in VisitOMPExecutableDirective()
351 CaptureRegions.back() == OMPD_parallel && in VisitOMPExecutableDirective()
H A DCGOpenMPRuntime.cpp11495 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in tryToDisableInnerAnalysis() local
11496 getOpenMPCaptureRegions(CaptureRegions, S.getDirectiveKind()); in tryToDisableInnerAnalysis()
11497 const CapturedStmt *CS = S.getCapturedStmt(CaptureRegions.front()); in tryToDisableInnerAnalysis()
11890 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in checkAndEmitSharedLastprivateConditional() local
11891 getOpenMPCaptureRegions(CaptureRegions, D.getDirectiveKind()); in checkAndEmitSharedLastprivateConditional()
11892 const CapturedStmt *CS = D.getCapturedStmt(CaptureRegions.back()); in checkAndEmitSharedLastprivateConditional()
H A DCGStmtOpenMP.cpp840 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in EmitOMPFirstprivateClause() local
841 getOpenMPCaptureRegions(CaptureRegions, D.getDirectiveKind()); in EmitOMPFirstprivateClause()
845 CaptureRegions.size() == 1 && CaptureRegions.back() == OMPD_unknown; in EmitOMPFirstprivateClause()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h550 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCapturedStmt() local
551 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getCapturedStmt()
552 return Data->getCapturedStmt(RegionKind, CaptureRegions); in getCapturedStmt()
559 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getInnermostCapturedStmt() local
560 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getInnermostCapturedStmt()
561 return Data->getInnermostCapturedStmt(CaptureRegions); in getInnermostCapturedStmt()
H A DOpenMPClause.h9083 ArrayRef<OpenMPDirectiveKind> CaptureRegions) const { in getCapturedStmt() argument
9084 assert(llvm::is_contained(CaptureRegions, RegionKind) && in getCapturedStmt()
9087 for (auto ThisCaptureRegion : CaptureRegions) { in getCapturedStmt()
9097 getInnermostCapturedStmt(ArrayRef<OpenMPDirectiveKind> CaptureRegions) { in getInnermostCapturedStmt() argument
9099 assert(!CaptureRegions.empty() && in getInnermostCapturedStmt()
9102 for (unsigned Level = CaptureRegions.size(); Level > 1; --Level) in getInnermostCapturedStmt()
9108 getInnermostCapturedStmt(ArrayRef<OpenMPDirectiveKind> CaptureRegions) const { in getInnermostCapturedStmt() argument
9110 CaptureRegions); in getInnermostCapturedStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp674 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCaptureRegion() local
675 getOpenMPCaptureRegions(CaptureRegions, getDirective(Level)); in getCaptureRegion()
676 return CaptureRegions[OpenMPCaptureLevel]; in getCaptureRegion()
2564 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in isOpenMPPrivateDecl() local
2565 getOpenMPCaptureRegions(CaptureRegions, DKind); in isOpenMPPrivateDecl()
2566 if (isOpenMPTaskingDirective(CaptureRegions[CapLevel]) && in isOpenMPPrivateDecl()
2568 !isOpenMPTaskLoopDirective(CaptureRegions[CapLevel]))) { in isOpenMPPrivateDecl()
4427 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels() local
4428 getOpenMPCaptureRegions(CaptureRegions, DKind); in getOpenMPCaptureLevels()
4429 return CaptureRegions.size(); in getOpenMPCaptureLevels()
[all …]