Lines Matching refs:OpenMPDirectiveKind
57 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
74 OpenMPDirectiveKind DKind = OMPD_unknown;
82 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
165 OpenMPDirectiveKind Directive = OMPD_unknown;
169 OpenMPDirectiveKind MappedDirective = OMPD_unknown;
224 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
397 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
607 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
615 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
628 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
634 OpenMPDirectiveKind, const DeclarationNameInfo &, SourceLocation)>
639 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective()
643 OpenMPDirectiveKind getMappedDirective() const { in getMappedDirective()
647 void setCurrentDirective(OpenMPDirectiveKind NewDK) { in setCurrentDirective()
654 void setMappedDirective(OpenMPDirectiveKind NewDK) { in setMappedDirective()
662 OpenMPDirectiveKind getDirective(unsigned Level) const { in getDirective()
667 OpenMPDirectiveKind getCaptureRegion(unsigned Level, in getCaptureRegion()
669 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCaptureRegion()
674 OpenMPDirectiveKind getParentDirective() const { in getParentDirective()
1240 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion()
1244 bool isImplicitOrExplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitOrExplicitTaskingRegion()
1860 auto &&MatchesAlways = [](OpenMPDirectiveKind) { return true; }; in getTopDSA() argument
1936 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasDSA()
1959 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasInnermostDSA()
1998 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasExplicitDirective()
2007 const llvm::function_ref<bool(OpenMPDirectiveKind, in hasDirective() argument
2320 [](OpenMPDirectiveKind K, const DeclarationNameInfo &, in isInOpenMPTargetExecutionDirective()
2338 [](OpenMPDirectiveKind) { return true; }, in isOpenMPRebuildMemberExpr() argument
2395 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPCapturedDecl()
2451 [](OpenMPDirectiveKind) { return true; }, in isOpenMPCapturedDecl() argument
2471 [](OpenMPDirectiveKind) { return true; }, in isOpenMPCapturedDecl() argument
2540 [](OpenMPDirectiveKind) { return true; }, in isOpenMPPrivateDecl() argument
2554 OpenMPDirectiveKind DKind = DSAStack->getDirective(Level); in isOpenMPPrivateDecl()
2555 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in isOpenMPPrivateDecl()
2611 [](OpenMPDirectiveKind K) { in isOpenMPPrivateDecl()
2666 SmallVector<OpenMPDirectiveKind, 4> Regions; in isOpenMPTargetCapturedDecl()
2776 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind, in StartOpenMPDSABlock()
2822 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses()
3053 OpenMPDirectiveKind Kind) { in ActOnOpenMPIdExpression()
3491 OpenMPDirectiveKind DKind, in ActOnOpenMPAssumesDirective()
3788 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
3911 [](OpenMPDirectiveKind K) { in VisitDeclRefExpr()
3953 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
4007 [](OpenMPDirectiveKind K) { in VisitMemberExpr()
4180 OpenMPDirectiveKind DKind, in handleDeclareVariantConstructTrait()
4196 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart()
4635 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) { in getOpenMPCaptureLevels()
4636 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels()
4719 OpenMPDirectiveKind DKind = OMPD_unknown;
4723 OpenMPDirectiveKind DKind) in CaptureRegionUnwinderRAII()
4824 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPRegionEnd()
4921 for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) { in ActOnOpenMPRegionEnd()
4927 OpenMPDirectiveKind CaptureRegion = C->getCaptureRegion(); in ActOnOpenMPRegionEnd()
4980 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion()
4981 OpenMPDirectiveKind CancelRegion, in checkCancelRegion()
4997 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions()
4999 OpenMPDirectiveKind CancelRegion, in checkNestingOfRegions()
5003 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions()
5004 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
5136 [CurrentName, &PreviousCriticalLoc](OpenMPDirectiveKind K, in checkNestingOfRegions()
5269 [&OffendingRegion](OpenMPDirectiveKind K, const DeclarationNameInfo &, in checkNestingOfRegions()
5296 using argument_type = OpenMPDirectiveKind;
5299 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
5301 ArrayRef<OpenMPDirectiveKind> AllowedNameModifiers) { in checkIfClauses()
5311 OpenMPDirectiveKind CurNM = IC->getNameModifier(); in checkIfClauses()
5350 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
6140 OpenMPDirectiveKind &Kind, in mapLoopConstruct()
6141 OpenMPDirectiveKind &PrevMappedDirective, in mapLoopConstruct()
6144 OpenMPDirectiveKind CancelRegion) { in mapLoopConstruct()
6151 const OpenMPDirectiveKind ParentDirective = DSAStack->getParentDirective(); in mapLoopConstruct()
6227 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective()
6228 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
6230 OpenMPDirectiveKind PrevMappedDirective) { in ActOnOpenMPExecutableDirective()
6242 OpenMPDirectiveKind DK = Kind; in ActOnOpenMPExecutableDirective()
6287 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPExecutableDirective()
6422 llvm::SmallVector<OpenMPDirectiveKind, 4> AllowedNameModifiers; in ActOnOpenMPExecutableDirective()
9280 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
9351 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in checkOpenMPIterationSpace()
9368 OpenMPDirectiveKind DK = (SemaRef.getLangOpts().OpenMP < 50 || in checkOpenMPIterationSpace()
9741 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in checkOpenMPLoop()
10490 OpenMPDirectiveKind K,
10742 OpenMPDirectiveKind K, in checkGenericLoopLastprivate()
13572 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancellationPointDirective()
13588 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancelDirective()
14919 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest()
15601 static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( in getOpenMPCaptureRegionForClause()
15602 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, in getOpenMPCaptureRegionForClause()
15603 OpenMPDirectiveKind NameModifier = OMPD_unknown) { in getOpenMPCaptureRegionForClause()
15604 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in getOpenMPCaptureRegionForClause()
16544 OMPClause *Sema::ActOnOpenMPIfClause(OpenMPDirectiveKind NameModifier, in ActOnOpenMPIfClause()
16552 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPIfClause()
16562 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
16584 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPFinalClause()
16594 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
16656 OpenMPDirectiveKind DKind = OMPD_unknown, in isNonNegativeIntegerValue()
16657 OpenMPDirectiveKind *CaptureRegion = nullptr, in isNonNegativeIntegerValue()
16708 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
16709 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumThreadsClause()
17309 Res = ActOnOpenMPIfClause(static_cast<OpenMPDirectiveKind>(Argument.back()), in ActOnOpenMPSingleExprWithArgClause()
18013 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNovariantsClause()
18023 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNovariantsClause()
18044 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNocontextClause()
18054 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNocontextClause()
18076 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFilterClause()
18077 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPFilterClause()
18363 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
18502 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
18590 [](OpenMPDirectiveKind K) { in ActOnOpenMPFirstprivateClause()
18808 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
18989 [](OpenMPDirectiveKind) { return true; }, in VisitDeclRefExpr() argument
19590 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
21212 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
21213 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPDeviceClause()
21371 OpenMPDirectiveKind DKind = OMPD_unknown;
21669 Sema &SemaRef, OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, in MapBaseChecker()
21684 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose) { in checkMapClauseExpressionBase()
22309 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
22893 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
22894 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumTeamsClause()
22920 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
22921 OpenMPDirectiveKind CaptureRegion = getOpenMPCaptureRegionForClause( in ActOnOpenMPThreadLimitClause()
22940 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPPriorityClause()
22971 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPGrainsizeClause()
23005 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPNumTasksClause()
24086 OpenMPDirectiveKind ParentDirective = DSAStack->getParentDirective(); in ActOnOpenMPExclusiveClause()
24329 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPXDynCGroupMemClause()
24330 OpenMPDirectiveKind CaptureRegion = getOpenMPCaptureRegionForClause( in ActOnOpenMPXDynCGroupMemClause()