Lines Matching refs:OpenMPDirectiveKind
63 OpenMPDirectiveKind DKind = OMPD_unknown;
69 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
130 OpenMPDirectiveKind Directive = OMPD_unknown;
151 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
210 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
353 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
361 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
373 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
379 OpenMPDirectiveKind, const DeclarationNameInfo &, SourceLocation)>
384 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective()
388 OpenMPDirectiveKind getDirective(unsigned Level) const { in getDirective()
393 OpenMPDirectiveKind getParentDirective() const { in getParentDirective()
680 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion()
684 bool isImplicitOrExplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitOrExplicitTaskingRegion()
1219 auto &&MatchesAlways = [](OpenMPDirectiveKind) { return true; }; in getTopDSA() argument
1289 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasDSA()
1311 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasInnermostDSA()
1352 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred, in hasExplicitDirective()
1365 const llvm::function_ref<bool(OpenMPDirectiveKind, in hasDirective() argument
1561 [](OpenMPDirectiveKind K, const DeclarationNameInfo &, in isInOpenMPTargetExecutionDirective()
1651 [](OpenMPDirectiveKind) { return true; }, in isOpenMPCapturedDecl() argument
1661 SmallVector<OpenMPDirectiveKind, 4> Regions; in adjustOpenMPTargetScopeIndex()
1695 [](OpenMPDirectiveKind K) { return K == OMPD_taskgroup; }, in isOpenMPPrivateDecl()
1751 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind, in StartOpenMPDSABlock()
2245 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
2303 [](OpenMPDirectiveKind K) { in VisitDeclRefExpr()
2327 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
2372 [](OpenMPDirectiveKind K) { in VisitMemberExpr()
2481 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart()
2822 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) { in getOpenMPCaptureLevels()
2823 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getOpenMPCaptureLevels()
2902 OpenMPDirectiveKind DKind = OMPD_unknown;
2906 OpenMPDirectiveKind DKind) in CaptureRegionUnwinderRAII()
2928 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in ActOnOpenMPRegionEnd()
3007 for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) { in ActOnOpenMPRegionEnd()
3013 OpenMPDirectiveKind CaptureRegion = C->getCaptureRegion(); in ActOnOpenMPRegionEnd()
3033 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion()
3034 OpenMPDirectiveKind CancelRegion, in checkCancelRegion()
3050 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions()
3052 OpenMPDirectiveKind CancelRegion, in checkNestingOfRegions()
3055 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions()
3056 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
3150 [CurrentName, &PreviousCriticalLoc](OpenMPDirectiveKind K, in checkNestingOfRegions()
3241 [&OffendingRegion](OpenMPDirectiveKind K, const DeclarationNameInfo &, in checkNestingOfRegions()
3267 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
3269 ArrayRef<OpenMPDirectiveKind> AllowedNameModifiers) { in checkIfClauses()
3279 OpenMPDirectiveKind CurNM = IC->getNameModifier(); in checkIfClauses()
3325 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
3350 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective()
3351 OpenMPDirectiveKind CancelRegion, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPExecutableDirective()
3418 llvm::SmallVector<OpenMPDirectiveKind, 4> AllowedNameModifiers; in ActOnOpenMPExecutableDirective()
4754 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in checkOpenMPIterationSpace()
4862 [](OpenMPDirectiveKind) -> bool { return true; }, in checkOpenMPIterationSpace() argument
5110 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in checkOpenMPLoop()
7287 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancellationPointDirective()
7303 OpenMPDirectiveKind CancelRegion) { in ActOnOpenMPCancelDirective()
8307 static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( in getOpenMPCaptureRegionForClause()
8308 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in getOpenMPCaptureRegionForClause()
8309 OpenMPDirectiveKind NameModifier = OMPD_unknown) { in getOpenMPCaptureRegionForClause()
8310 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in getOpenMPCaptureRegionForClause()
8828 OMPClause *Sema::ActOnOpenMPIfClause(OpenMPDirectiveKind NameModifier, in ActOnOpenMPIfClause()
8836 OpenMPDirectiveKind CaptureRegion = OMPD_unknown; in ActOnOpenMPIfClause()
8846 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
8963 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
8964 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumThreadsClause()
9256 Res = ActOnOpenMPIfClause(static_cast<OpenMPDirectiveKind>(Argument.back()), in ActOnOpenMPSingleExprWithArgClause()
9868 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
10017 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
10102 [](OpenMPDirectiveKind K) { in ActOnOpenMPFirstprivateClause()
10285 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
10461 VD, isOpenMPPrivate, [](OpenMPDirectiveKind) { return true; }, in VisitDeclRefExpr() argument
10998 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
12263 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
12264 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPDeviceClause()
13037 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
13404 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
13405 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPNumTeamsClause()
13431 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
13432 OpenMPDirectiveKind CaptureRegion = in ActOnOpenMPThreadLimitClause()