Lines Matching refs:CurContext

1398   DeclContext *DC = SemaRef.CurContext;  in buildVarDecl()
2729 if (!CurContext->isDependentContext()) in EndOpenMPDSABlock()
2921 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
3202 if (!CurContext->isFileContext()) { in ActOnOpenMPRequiresDirective()
3207 CurContext->addDecl(D); in ActOnOpenMPRequiresDirective()
3242 auto *Ctx = CurContext; in ActOnOpenMPAssumesDirective()
4281 DSAStack->setContext(CurContext); in ActOnOpenMPRegionStart()
4314 auto *CED = OMPCapturedExprDecl::Create(C, S.CurContext, Id, Ty, in buildCaptureDecl()
4318 S.CurContext->addHiddenDecl(CED); in buildCaptureDecl()
4388 if (!CurContext->isDependentContext() && in tryCaptureOpenMPLambdas()
4408 if (!VDC->Encloses(CurContext)) in tryCaptureOpenMPLambdas()
5061 assert(!S.CurContext->isDependentContext() && in checkAllocateClauses()
5236 CapturedDecl *CS = cast<CapturedDecl>(Actions.CurContext); in buildDistanceFunc()
5381 auto *CS = cast<CapturedDecl>(Actions.CurContext); in buildLoopVarFunc()
5721 if (AStmt && !CurContext->isDependentContext() && Kind != OMPD_atomic && in ActOnOpenMPExecutableDirective()
6310 if (!CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective()
7613 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit()
7707 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond()
7738 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetIncRHS()
7816 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInc()
7826 if (SemaRef.CurContext->isDependentContext() || Capture->containsErrors()) in tryBuildCapture()
8636 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors) in checkOpenMPIterationSpace()
8972 if (SemaRef.CurContext->isDependentContext()) in checkOpenMPLoop()
9643 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPSimdDirective()
9646 if (!CurContext->isDependentContext()) { in ActOnOpenMPSimdDirective()
9682 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForDirective()
9685 if (!CurContext->isDependentContext()) { in ActOnOpenMPForDirective()
9719 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForSimdDirective()
9722 if (!CurContext->isDependentContext()) { in ActOnOpenMPForSimdDirective()
9817 if (!CurContext->isDependentContext()) { in ActOnOpenMPDispatchDirective()
9986 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelForDirective()
9989 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForDirective()
10030 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForSimdDirective()
10522 if (SemaRef.CurContext->isDependentContext()) in checkBinaryOperation()
10595 if (SemaRef.CurContext->isDependentContext()) in checkStatement()
10784 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10846 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10864 if (!CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
10919 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10955 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
10985 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
11081 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
11224 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForDirective()
11227 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForDirective()
11514 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopDirective()
11551 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopSimdDirective()
11554 if (!CurContext->isDependentContext()) { in ActOnOpenMPTaskLoopSimdDirective()
11600 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPMasterTaskLoopDirective()
11637 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPMasterTaskLoopSimdDirective()
11640 if (!CurContext->isDependentContext()) { in ActOnOpenMPMasterTaskLoopSimdDirective()
11705 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelMasterTaskLoopDirective()
11761 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
11764 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
11810 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeDirective()
11853 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForDirective()
11897 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForSimdDirective()
11900 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeParallelForSimdDirective()
11953 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeSimdDirective()
11956 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeSimdDirective()
12009 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForSimdDirective()
12012 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForSimdDirective()
12064 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetSimdDirective()
12067 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetSimdDirective()
12120 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeDirective()
12167 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeSimdDirective()
12170 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeSimdDirective()
12229 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
12232 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
12291 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForDirective()
12369 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeDirective()
12412 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
12415 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
12468 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
12472 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
12526 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeSimdDirective()
12529 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeSimdDirective()
12595 if (CurContext->isDependentContext()) in ActOnOpenMPTileDirective()
13720 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPIfClause()
13752 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPFinalClause()
13840 !SemaRef.CurContext->isDependentContext()) { in isNonNegativeIntegerValue()
13866 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumThreadsClause()
14512 !CurContext->isDependentContext()) { in ActOnOpenMPScheduleClause()
14956 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNovariantsClause()
14987 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNocontextClause()
15009 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPFilterClause()
15340 if (!VD && !CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
15343 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
15630 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
15635 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPFirstprivateClause()
15646 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPFirstprivateClause()
15803 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLastprivateClause()
15827 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLastprivateClause()
15882 if (!VD && isOpenMPCapturedDecl(D) && !CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
15885 Vars.push_back((VD || !Ref || CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
16074 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() || in buildDeclareReductionRef()
16457 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
16582 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
16987 if (!VD && !S.CurContext->isDependentContext()) { in actOnOMPReductionKindClause()
17239 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLinearClause()
17266 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLinearClause()
17837 if (CurContext->isDependentContext()) { in ActOnOpenMPDependClause()
17887 if (!CurContext->isDependentContext() && in ActOnOpenMPDependClause()
17997 if (!CurContext->isDependentContext() && DepKind == OMPC_DEPEND_sink && in ActOnOpenMPDependClause()
18048 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPDeviceClause()
18068 if (FullCheck && !SemaRef.CurContext->isDependentContext() && in checkTypeMappable()
18833 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() || in buildUserDefinedMapperRef()
19391 CurContext = DRD; in ActOnOpenMPDeclareReductionCombinerStart()
19451 CurContext = DRD; in ActOnOpenMPDeclareReductionInitializerStart()
19686 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumTeamsClause()
19713 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPThreadLimitClause()
19902 !CurContext->isDependentContext()) { in ActOnOpenMPDistScheduleClause()
20326 CurContext->addDecl(VDPrivate); in ActOnOpenMPUseDevicePtrClause()
20551 if (!VD && !CurContext->isDependentContext()) in ActOnOpenMPAllocateClause()
20553 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPAllocateClause()