Lines Matching refs:OpenMPDirectiveKind
51 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
67 OpenMPDirectiveKind DKind = OMPD_unknown;
75 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
159 OpenMPDirectiveKind Directive = OMPD_unknown;
195 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
368 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
576 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
584 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
597 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
603 OpenMPDirectiveKind, const DeclarationNameInfo &, SourceLocation)>
608 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective()
613 OpenMPDirectiveKind getDirective(unsigned Level) const { in getDirective()
618 OpenMPDirectiveKind getCaptureRegion(unsigned Level, in getCaptureRegion()
620 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCaptureRegion()
625 OpenMPDirectiveKind getParentDirective() const { in getParentDirective()
1098 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion()
1102 bool isImplicitOrExplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitOrExplicitTaskingRegion()
1710 auto &&MatchesAlways = [](OpenMPDirectiveKind) { return true; }; in getTopDSA() argument
1784 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasDSA()
1807 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasInnermostDSA()
1846 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasExplicitDirective()
1855 const llvm::function_ref<bool(OpenMPDirectiveKind, in hasDirective() argument
2150 [](OpenMPDirectiveKind K, const DeclarationNameInfo &, in isInOpenMPTargetExecutionDirective()
2206 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPCapturedDecl()
2254 [](OpenMPDirectiveKind) { return true; }, in isOpenMPCapturedDecl() argument
2293 [](OpenMPDirectiveKind K) { return isOpenMPTaskingDirective(K); }, in isOpenMPPrivateDecl()
2301 OpenMPDirectiveKind DKind = DSAStack->getDirective(Level); in isOpenMPPrivateDecl()
2302 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in isOpenMPPrivateDecl()
2358 [](OpenMPDirectiveKind K) { in isOpenMPPrivateDecl()
2413 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPTargetCapturedDecl()
2501 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind, in StartOpenMPDSABlock()
2545 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses()
2777 OpenMPDirectiveKind Kind) { in ActOnOpenMPIdExpression()
3419 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
3527 [](OpenMPDirectiveKind K) { in VisitDeclRefExpr()
3563 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
3615 [](OpenMPDirectiveKind K) { in VisitMemberExpr()
3755 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart()
4171 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) { in getOpenMPCaptureLevels()
4172 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels()
4252 OpenMPDirectiveKind DKind = OMPD_unknown;
4256 OpenMPDirectiveKind DKind) in CaptureRegionUnwinderRAII()
4354 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPRegionEnd()
4446 for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) { in ActOnOpenMPRegionEnd()
4452 OpenMPDirectiveKind CaptureRegion = C->getCaptureRegion(); in ActOnOpenMPRegionEnd()
4489 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion()
4490 OpenMPDirectiveKind CancelRegion, in checkCancelRegion()
4506 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions()
4508 OpenMPDirectiveKind CancelRegion, in checkNestingOfRegions()
4511 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions()
4512 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
4621 [CurrentName, &PreviousCriticalLoc](OpenMPDirectiveKind K, in checkNestingOfRegions()
4728 [&OffendingRegion](OpenMPDirectiveKind K, const DeclarationNameInfo &, in checkNestingOfRegions()
4755 using argument_type = OpenMPDirectiveKind;
4758 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
4760 ArrayRef<OpenMPDirectiveKind> AllowedNameModifiers) { in checkIfClauses()
4770 OpenMPDirectiveKind CurNM = IC->getNameModifier(); in checkIfClauses()
4816 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
5045 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective()
5046 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
5074 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPExecutableDirective()
5140 llvm::SmallVector<OpenMPDirectiveKind, 4> AllowedNameModifiers; in ActOnOpenMPExecutableDirective()
7757 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
7811 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in checkOpenMPIterationSpace()
8158 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in checkOpenMPLoop()
10627 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancellationPointDirective()
10643 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancelDirective()
11878 static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( in getOpenMPCaptureRegionForClause()
11879 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, in getOpenMPCaptureRegionForClause()
11880 OpenMPDirectiveKind NameModifier = OMPD_unknown) { in getOpenMPCaptureRegionForClause()
11881 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in getOpenMPCaptureRegionForClause()
12638 OMPClause *Sema::ActOnOpenMPIfClause(OpenMPDirectiveKind NameModifier, in ActOnOpenMPIfClause()
12646 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPIfClause()
12656 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
12678 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPFinalClause()
12688 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
12750 OpenMPDirectiveKind DKind = OMPD_unknown, in isNonNegativeIntegerValue()
12751 OpenMPDirectiveKind *CaptureRegion = nullptr, in isNonNegativeIntegerValue()
12802 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
12803 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumThreadsClause()
13223 Res = ActOnOpenMPIfClause(static_cast<OpenMPDirectiveKind>(Argument.back()), in ActOnOpenMPSingleExprWithArgClause()
13913 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
14068 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
14156 [](OpenMPDirectiveKind K) { in ActOnOpenMPFirstprivateClause()
14369 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
14550 [](OpenMPDirectiveKind) { return true; }, in VisitDeclRefExpr() argument
15122 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
16658 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
16659 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPDeviceClause()
16820 OpenMPDirectiveKind DKind = OMPD_unknown;
17108 Sema &SemaRef, OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, in MapBaseChecker()
17123 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose) { in checkMapClauseExpressionBase()
17740 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
18280 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
18281 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumTeamsClause()
18307 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
18308 OpenMPDirectiveKind CaptureRegion = getOpenMPCaptureRegionForClause( in ActOnOpenMPThreadLimitClause()
18327 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPPriorityClause()
18347 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPGrainsizeClause()
18368 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNumTasksClause()
19234 OpenMPDirectiveKind ParentDirective = DSAStack->getParentDirective(); in ActOnOpenMPExclusiveClause()