Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Basic/
H A DOpenMPKinds.cpp676 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
677 CaptureRegions.push_back(OMPD_target); in getOpenMPCaptureRegions()
678 CaptureRegions.push_back(OMPD_teams); in getOpenMPCaptureRegions()
683 CaptureRegions.push_back(OMPD_teams); in getOpenMPCaptureRegions()
687 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
692 CaptureRegions.push_back(OMPD_teams); in getOpenMPCaptureRegions()
699 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
707 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
726 CaptureRegions.push_back(OMPD_task); in getOpenMPCaptureRegions()
728 CaptureRegions.push_back(OMPD_teams); in getOpenMPCaptureRegions()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenMPKinds.h299 llvm::SmallVectorImpl<OpenMPDirectiveKind> &CaptureRegions,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h536 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCapturedStmt() local
537 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getCapturedStmt()
538 return Data->getCapturedStmt(RegionKind, CaptureRegions); in getCapturedStmt()
545 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getInnermostCapturedStmt() local
546 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getInnermostCapturedStmt()
547 return Data->getInnermostCapturedStmt(CaptureRegions); in getInnermostCapturedStmt()
H A DOpenMPClause.h8972 ArrayRef<OpenMPDirectiveKind> CaptureRegions) const { in getCapturedStmt() argument
8974 CaptureRegions, in getCapturedStmt()
8978 for (auto ThisCaptureRegion : CaptureRegions) { in getCapturedStmt()
8988 getInnermostCapturedStmt(ArrayRef<OpenMPDirectiveKind> CaptureRegions) { in getInnermostCapturedStmt() argument
8990 assert(!CaptureRegions.empty() && in getInnermostCapturedStmt()
8993 for (unsigned Level = CaptureRegions.size(); Level > 1; --Level) in getInnermostCapturedStmt()
8999 getInnermostCapturedStmt(ArrayRef<OpenMPDirectiveKind> CaptureRegions) const { in getInnermostCapturedStmt() argument
9001 CaptureRegions); in getInnermostCapturedStmt()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp372 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in VisitOMPExecutableDirective() local
373 getOpenMPCaptureRegions(CaptureRegions, D->getDirectiveKind()); in VisitOMPExecutableDirective()
374 if (CaptureRegions.size() == 1 && CaptureRegions.back() == OMPD_unknown) { in VisitOMPExecutableDirective()
380 CaptureRegions.back() == OMPD_parallel && in VisitOMPExecutableDirective()
H A DCGStmtOpenMP.cpp814 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in EmitOMPFirstprivateClause() local
815 getOpenMPCaptureRegions(CaptureRegions, D.getDirectiveKind()); in EmitOMPFirstprivateClause()
819 CaptureRegions.size() == 1 && CaptureRegions.back() == OMPD_unknown; in EmitOMPFirstprivateClause()
H A DCGOpenMPRuntime.cpp12315 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in tryToDisableInnerAnalysis() local
12316 getOpenMPCaptureRegions(CaptureRegions, S.getDirectiveKind()); in tryToDisableInnerAnalysis()
12317 const CapturedStmt *CS = S.getCapturedStmt(CaptureRegions.front()); in tryToDisableInnerAnalysis()
12708 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in checkAndEmitSharedLastprivateConditional() local
12709 getOpenMPCaptureRegions(CaptureRegions, D.getDirectiveKind()); in checkAndEmitSharedLastprivateConditional()
12710 const CapturedStmt *CS = D.getCapturedStmt(CaptureRegions.back()); in checkAndEmitSharedLastprivateConditional()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp643 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCaptureRegion() local
645 return CaptureRegions[OpenMPCaptureLevel]; in getCaptureRegion()
2501 getOpenMPCaptureRegions(CaptureRegions, DKind); in isOpenMPPrivateDecl()
4566 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels() local
4567 getOpenMPCaptureRegions(CaptureRegions, DKind); in getOpenMPCaptureLevels()
4568 return CaptureRegions.size(); in getOpenMPCaptureLevels()
4787 assert(CaptureRegions.empty() && in ActOnOpenMPRegionEnd()
4789 } else if (CaptureRegions.size() > 1 || in ActOnOpenMPRegionEnd()
4902 if (++CompletedRegions == CaptureRegions.size()) in ActOnOpenMPRegionEnd()
6071 getOpenMPCaptureRegions(CaptureRegions, Kind); in ActOnOpenMPExecutableDirective()
[all …]