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()
4287 DSAStack->setContext(CurContext); in ActOnOpenMPRegionStart()
4320 auto *CED = OMPCapturedExprDecl::Create(C, S.CurContext, Id, Ty, in buildCaptureDecl()
4324 S.CurContext->addHiddenDecl(CED); in buildCaptureDecl()
4394 if (!CurContext->isDependentContext() && in tryCaptureOpenMPLambdas()
4414 if (!VDC->Encloses(CurContext)) in tryCaptureOpenMPLambdas()
5072 assert(!S.CurContext->isDependentContext() && in checkAllocateClauses()
5247 CapturedDecl *CS = cast<CapturedDecl>(Actions.CurContext); in buildDistanceFunc()
5392 auto *CS = cast<CapturedDecl>(Actions.CurContext); in buildLoopVarFunc()
5732 if (AStmt && !CurContext->isDependentContext() && Kind != OMPD_atomic && in ActOnOpenMPExecutableDirective()
6325 if (!CurContext->isDependentContext() && in ActOnOpenMPExecutableDirective()
7629 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit()
7713 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond()
7744 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetIncRHS()
7822 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInc()
7832 if (SemaRef.CurContext->isDependentContext() || Capture->containsErrors()) in tryBuildCapture()
8642 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors) in checkOpenMPIterationSpace()
8996 if (SemaRef.CurContext->isDependentContext()) in checkOpenMPLoop()
9677 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPSimdDirective()
9680 if (!CurContext->isDependentContext()) { in ActOnOpenMPSimdDirective()
9716 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForDirective()
9719 if (!CurContext->isDependentContext()) { in ActOnOpenMPForDirective()
9753 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForSimdDirective()
9756 if (!CurContext->isDependentContext()) { in ActOnOpenMPForSimdDirective()
9851 if (!CurContext->isDependentContext()) { in ActOnOpenMPDispatchDirective()
10020 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelForDirective()
10023 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForDirective()
10064 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForSimdDirective()
10557 if (SemaRef.CurContext->isDependentContext()) in checkBinaryOperation()
10630 if (SemaRef.CurContext->isDependentContext()) in checkStatement()
10819 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10881 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10899 if (!CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
10954 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
10990 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
11020 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
11116 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
11259 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForDirective()
11262 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForDirective()
11527 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopDirective()
11565 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopSimdDirective()
11568 if (!CurContext->isDependentContext()) { in ActOnOpenMPTaskLoopSimdDirective()
11615 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPMasterTaskLoopDirective()
11653 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPMasterTaskLoopSimdDirective()
11656 if (!CurContext->isDependentContext()) { in ActOnOpenMPMasterTaskLoopSimdDirective()
11722 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelMasterTaskLoopDirective()
11779 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
11782 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
11829 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeDirective()
11872 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForDirective()
11916 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForSimdDirective()
11919 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeParallelForSimdDirective()
11972 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeSimdDirective()
11975 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeSimdDirective()
12028 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForSimdDirective()
12031 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForSimdDirective()
12083 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetSimdDirective()
12086 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetSimdDirective()
12139 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeDirective()
12186 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeSimdDirective()
12189 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeSimdDirective()
12248 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
12251 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
12310 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForDirective()
12388 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeDirective()
12431 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
12434 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
12487 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
12491 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
12545 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeSimdDirective()
12548 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeSimdDirective()
12642 if (CurContext->isDependentContext()) in ActOnOpenMPTileDirective()
12856 if (CurContext->isDependentContext()) in ActOnOpenMPUnrollDirective()
14058 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPIfClause()
14090 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPFinalClause()
14178 !SemaRef.CurContext->isDependentContext()) { in isNonNegativeIntegerValue()
14204 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumThreadsClause()
14889 !CurContext->isDependentContext()) { in ActOnOpenMPScheduleClause()
15339 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNovariantsClause()
15370 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNocontextClause()
15392 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPFilterClause()
15723 if (!VD && !CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
15726 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
16013 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
16018 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPFirstprivateClause()
16029 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPFirstprivateClause()
16186 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLastprivateClause()
16210 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLastprivateClause()
16265 if (!VD && isOpenMPCapturedDecl(D) && !CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
16268 Vars.push_back((VD || !Ref || CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
16457 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() || in buildDeclareReductionRef()
16840 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
16965 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
17370 if (!VD && !S.CurContext->isDependentContext()) { in actOnOMPReductionKindClause()
17622 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLinearClause()
17649 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLinearClause()
18220 if (CurContext->isDependentContext()) { in ActOnOpenMPDependClause()
18270 if (!CurContext->isDependentContext() && in ActOnOpenMPDependClause()
18380 if (!CurContext->isDependentContext() && DepKind == OMPC_DEPEND_sink && in ActOnOpenMPDependClause()
18431 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPDeviceClause()
18451 if (FullCheck && !SemaRef.CurContext->isDependentContext() && in checkTypeMappable()
19216 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() || in buildUserDefinedMapperRef()
19774 CurContext = DRD; in ActOnOpenMPDeclareReductionCombinerStart()
19834 CurContext = DRD; in ActOnOpenMPDeclareReductionInitializerStart()
20074 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumTeamsClause()
20101 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPThreadLimitClause()
20290 !CurContext->isDependentContext()) { in ActOnOpenMPDistScheduleClause()
20714 CurContext->addDecl(VDPrivate); in ActOnOpenMPUseDevicePtrClause()
20939 if (!VD && !CurContext->isDependentContext()) in ActOnOpenMPAllocateClause()
20941 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPAllocateClause()