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()
3869 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart()
4288 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) { in getOpenMPCaptureLevels()
4289 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels()
4369 OpenMPDirectiveKind DKind = OMPD_unknown;
4373 OpenMPDirectiveKind DKind) in CaptureRegionUnwinderRAII()
4472 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPRegionEnd()
4568 for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) { in ActOnOpenMPRegionEnd()
4574 OpenMPDirectiveKind CaptureRegion = C->getCaptureRegion(); in ActOnOpenMPRegionEnd()
4622 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion()
4623 OpenMPDirectiveKind CancelRegion, in checkCancelRegion()
4639 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions()
4641 OpenMPDirectiveKind CancelRegion, in checkNestingOfRegions()
4644 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions()
4645 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
4754 [CurrentName, &PreviousCriticalLoc](OpenMPDirectiveKind K, in checkNestingOfRegions()
4862 [&OffendingRegion](OpenMPDirectiveKind K, const DeclarationNameInfo &, in checkNestingOfRegions()
4889 using argument_type = OpenMPDirectiveKind;
4892 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
4894 ArrayRef<OpenMPDirectiveKind> AllowedNameModifiers) { in checkIfClauses()
4904 OpenMPDirectiveKind CurNM = IC->getNameModifier(); in checkIfClauses()
4950 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
5707 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective()
5708 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
5737 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPExecutableDirective()
5833 llvm::SmallVector<OpenMPDirectiveKind, 4> AllowedNameModifiers; in ActOnOpenMPExecutableDirective()
8495 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
8549 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in checkOpenMPIterationSpace()
8900 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in checkOpenMPLoop()
11418 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancellationPointDirective()
11434 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancelDirective()
12907 static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( in getOpenMPCaptureRegionForClause()
12908 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, in getOpenMPCaptureRegionForClause()
12909 OpenMPDirectiveKind NameModifier = OMPD_unknown) { in getOpenMPCaptureRegionForClause()
12910 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in getOpenMPCaptureRegionForClause()
13699 OMPClause *Sema::ActOnOpenMPIfClause(OpenMPDirectiveKind NameModifier, in ActOnOpenMPIfClause()
13707 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPIfClause()
13717 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
13739 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPFinalClause()
13749 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
13811 OpenMPDirectiveKind DKind = OMPD_unknown, in isNonNegativeIntegerValue()
13812 OpenMPDirectiveKind *CaptureRegion = nullptr, in isNonNegativeIntegerValue()
13863 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
13864 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumThreadsClause()
14314 Res = ActOnOpenMPIfClause(static_cast<OpenMPDirectiveKind>(Argument.back()), in ActOnOpenMPSingleExprWithArgClause()
14943 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNovariantsClause()
14953 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNovariantsClause()
14974 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNocontextClause()
14984 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNocontextClause()
15006 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFilterClause()
15007 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPFilterClause()
15276 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
15431 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
15519 [](OpenMPDirectiveKind K) { in ActOnOpenMPFirstprivateClause()
15732 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
15913 [](OpenMPDirectiveKind) { return true; }, in VisitDeclRefExpr() argument
16500 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
18045 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
18046 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPDeviceClause()
18207 OpenMPDirectiveKind DKind = OMPD_unknown;
18503 Sema &SemaRef, OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, in MapBaseChecker()
18518 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose) { in checkMapClauseExpressionBase()
19136 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
19683 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
19684 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumTeamsClause()
19710 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
19711 OpenMPDirectiveKind CaptureRegion = getOpenMPCaptureRegionForClause( in ActOnOpenMPThreadLimitClause()
19730 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPPriorityClause()
19750 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPGrainsizeClause()
19771 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNumTasksClause()
20666 OpenMPDirectiveKind ParentDirective = DSAStack->getParentDirective(); in ActOnOpenMPExclusiveClause()