Lines Matching refs:OpenMPDirectiveKind
52 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
68 OpenMPDirectiveKind DKind = OMPD_unknown;
76 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
160 OpenMPDirectiveKind Directive = OMPD_unknown;
196 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
369 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
577 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
585 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
598 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
604 OpenMPDirectiveKind, const DeclarationNameInfo &, SourceLocation)>
609 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective()
614 OpenMPDirectiveKind getDirective(unsigned Level) const { in getDirective()
619 OpenMPDirectiveKind getCaptureRegion(unsigned Level, in getCaptureRegion()
621 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCaptureRegion()
626 OpenMPDirectiveKind getParentDirective() const { in getParentDirective()
1099 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion()
1103 bool isImplicitOrExplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitOrExplicitTaskingRegion()
1711 auto &&MatchesAlways = [](OpenMPDirectiveKind) { return true; }; in getTopDSA() argument
1785 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasDSA()
1808 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasInnermostDSA()
1847 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasExplicitDirective()
1856 const llvm::function_ref<bool(OpenMPDirectiveKind, in hasDirective() argument
2161 [](OpenMPDirectiveKind K, const DeclarationNameInfo &, in isInOpenMPTargetExecutionDirective()
2213 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPCapturedDecl()
2269 [](OpenMPDirectiveKind) { return true; }, in isOpenMPCapturedDecl() argument
2308 [](OpenMPDirectiveKind K) { return isOpenMPTaskingDirective(K); }, in isOpenMPPrivateDecl()
2316 OpenMPDirectiveKind DKind = DSAStack->getDirective(Level); in isOpenMPPrivateDecl()
2317 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in isOpenMPPrivateDecl()
2373 [](OpenMPDirectiveKind K) { in isOpenMPPrivateDecl()
2428 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPTargetCapturedDecl()
2516 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind, in StartOpenMPDSABlock()
2561 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses()
2793 OpenMPDirectiveKind Kind) { in ActOnOpenMPIdExpression()
3215 OpenMPDirectiveKind DKind, in ActOnOpenMPAssumesDirective()
3506 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
3628 [](OpenMPDirectiveKind K) { in VisitDeclRefExpr()
3664 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
3718 [](OpenMPDirectiveKind K) { in VisitMemberExpr()
3874 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart()
4294 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) { in getOpenMPCaptureLevels()
4295 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels()
4375 OpenMPDirectiveKind DKind = OMPD_unknown;
4379 OpenMPDirectiveKind DKind) in CaptureRegionUnwinderRAII()
4478 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPRegionEnd()
4574 for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) { in ActOnOpenMPRegionEnd()
4580 OpenMPDirectiveKind CaptureRegion = C->getCaptureRegion(); in ActOnOpenMPRegionEnd()
4633 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion()
4634 OpenMPDirectiveKind CancelRegion, in checkCancelRegion()
4650 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions()
4652 OpenMPDirectiveKind CancelRegion, in checkNestingOfRegions()
4655 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions()
4656 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
4765 [CurrentName, &PreviousCriticalLoc](OpenMPDirectiveKind K, in checkNestingOfRegions()
4873 [&OffendingRegion](OpenMPDirectiveKind K, const DeclarationNameInfo &, in checkNestingOfRegions()
4900 using argument_type = OpenMPDirectiveKind;
4903 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
4905 ArrayRef<OpenMPDirectiveKind> AllowedNameModifiers) { in checkIfClauses()
4915 OpenMPDirectiveKind CurNM = IC->getNameModifier(); in checkIfClauses()
4961 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
5718 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective()
5719 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
5748 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPExecutableDirective()
5844 llvm::SmallVector<OpenMPDirectiveKind, 4> AllowedNameModifiers; in ActOnOpenMPExecutableDirective()
8501 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
8555 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in checkOpenMPIterationSpace()
8906 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in checkOpenMPLoop()
11453 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancellationPointDirective()
11469 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancelDirective()
12568 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest()
13237 static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( in getOpenMPCaptureRegionForClause()
13238 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, in getOpenMPCaptureRegionForClause()
13239 OpenMPDirectiveKind NameModifier = OMPD_unknown) { in getOpenMPCaptureRegionForClause()
13240 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in getOpenMPCaptureRegionForClause()
14037 OMPClause *Sema::ActOnOpenMPIfClause(OpenMPDirectiveKind NameModifier, in ActOnOpenMPIfClause()
14045 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPIfClause()
14055 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
14077 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPFinalClause()
14087 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
14149 OpenMPDirectiveKind DKind = OMPD_unknown, in isNonNegativeIntegerValue()
14150 OpenMPDirectiveKind *CaptureRegion = nullptr, in isNonNegativeIntegerValue()
14201 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
14202 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumThreadsClause()
14691 Res = ActOnOpenMPIfClause(static_cast<OpenMPDirectiveKind>(Argument.back()), in ActOnOpenMPSingleExprWithArgClause()
15326 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNovariantsClause()
15336 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNovariantsClause()
15357 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNocontextClause()
15367 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNocontextClause()
15389 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFilterClause()
15390 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPFilterClause()
15659 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
15814 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
15902 [](OpenMPDirectiveKind K) { in ActOnOpenMPFirstprivateClause()
16115 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
16296 [](OpenMPDirectiveKind) { return true; }, in VisitDeclRefExpr() argument
16883 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
18428 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
18429 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPDeviceClause()
18590 OpenMPDirectiveKind DKind = OMPD_unknown;
18886 Sema &SemaRef, OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, in MapBaseChecker()
18901 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose) { in checkMapClauseExpressionBase()
19519 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
20071 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
20072 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumTeamsClause()
20098 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
20099 OpenMPDirectiveKind CaptureRegion = getOpenMPCaptureRegionForClause( in ActOnOpenMPThreadLimitClause()
20118 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPPriorityClause()
20138 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPGrainsizeClause()
20159 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNumTasksClause()
21054 OpenMPDirectiveKind ParentDirective = DSAStack->getParentDirective(); in ActOnOpenMPExclusiveClause()