Lines Matching defs:StartLoc

3564                                                   SourceLocation StartLoc,
3569 return OMPAssumeDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
4749 SourceLocation StartLoc) {
4758 SemaRef.Diag(StartLoc, diag::err_omp_wrong_cancel_region)
4768 SourceLocation StartLoc) {
4795 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_order)
4816 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd)
4825 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_atomic);
4834 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_section_directive)
4856 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region)
4911 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_critical_same_name)
5039 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_device_directive)
5042 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region)
5971 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) {
6023 if (checkCancelRegion(SemaRef, Kind, CancelRegion, StartLoc) ||
6025 BindKind, StartLoc)) {
6032 Diag(StartLoc, diag::warn_hip_omp_target_directives);
6175 Res = ActOnOpenMPParallelDirective(ClausesWithImplicit, AStmt, StartLoc,
6179 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc,
6184 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6187 Res = ActOnOpenMPUnrollDirective(ClausesWithImplicit, AStmt, StartLoc,
6193 Res = ActOnOpenMPReverseDirective(AStmt, StartLoc, EndLoc);
6196 Res = ActOnOpenMPInterchangeDirective(ClausesWithImplicit, AStmt, StartLoc,
6200 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc,
6204 Res = ActOnOpenMPForSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6208 Res = ActOnOpenMPSectionsDirective(ClausesWithImplicit, AStmt, StartLoc,
6214 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc);
6217 Res = ActOnOpenMPSingleDirective(ClausesWithImplicit, AStmt, StartLoc,
6223 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc);
6226 Res = ActOnOpenMPMaskedDirective(ClausesWithImplicit, AStmt, StartLoc,
6231 StartLoc, EndLoc);
6234 Res = ActOnOpenMPParallelForDirective(ClausesWithImplicit, AStmt, StartLoc,
6239 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6243 ActOnOpenMPScopeDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6247 StartLoc, EndLoc);
6251 StartLoc, EndLoc);
6255 StartLoc, EndLoc);
6259 ActOnOpenMPTaskDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6266 Res = ActOnOpenMPTaskyieldDirective(StartLoc, EndLoc);
6271 Res = ActOnOpenMPErrorDirective(ClausesWithImplicit, StartLoc, EndLoc);
6278 Res = ActOnOpenMPBarrierDirective(StartLoc, EndLoc);
6283 Res = ActOnOpenMPTaskwaitDirective(ClausesWithImplicit, StartLoc, EndLoc);
6286 Res = ActOnOpenMPTaskgroupDirective(ClausesWithImplicit, AStmt, StartLoc,
6292 Res = ActOnOpenMPFlushDirective(ClausesWithImplicit, StartLoc, EndLoc);
6297 Res = ActOnOpenMPDepobjDirective(ClausesWithImplicit, StartLoc, EndLoc);
6302 Res = ActOnOpenMPScanDirective(ClausesWithImplicit, StartLoc, EndLoc);
6305 Res = ActOnOpenMPOrderedDirective(ClausesWithImplicit, AStmt, StartLoc,
6309 Res = ActOnOpenMPAtomicDirective(ClausesWithImplicit, AStmt, StartLoc,
6314 ActOnOpenMPTeamsDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6317 Res = ActOnOpenMPTargetDirective(ClausesWithImplicit, AStmt, StartLoc,
6322 StartLoc, EndLoc);
6326 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6333 Res = ActOnOpenMPCancellationPointDirective(StartLoc, EndLoc, CancelRegion);
6338 Res = ActOnOpenMPCancelDirective(ClausesWithImplicit, StartLoc, EndLoc,
6342 Res = ActOnOpenMPTargetDataDirective(ClausesWithImplicit, AStmt, StartLoc,
6346 Res = ActOnOpenMPTargetEnterDataDirective(ClausesWithImplicit, StartLoc,
6350 Res = ActOnOpenMPTargetExitDataDirective(ClausesWithImplicit, StartLoc,
6354 Res = ActOnOpenMPTaskLoopDirective(ClausesWithImplicit, AStmt, StartLoc,
6358 Res = ActOnOpenMPTaskLoopSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6363 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6367 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6371 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6375 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6379 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6383 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6387 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6391 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6394 Res = ActOnOpenMPDistributeDirective(ClausesWithImplicit, AStmt, StartLoc,
6398 Res = ActOnOpenMPTargetUpdateDirective(ClausesWithImplicit, StartLoc,
6403 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6407 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6411 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6415 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6418 Res = ActOnOpenMPTargetSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6423 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6427 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6431 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6435 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6438 Res = ActOnOpenMPTargetTeamsDirective(ClausesWithImplicit, AStmt, StartLoc,
6443 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6447 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6451 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6455 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6460 Res = ActOnOpenMPInteropDirective(ClausesWithImplicit, StartLoc, EndLoc);
6463 Res = ActOnOpenMPDispatchDirective(ClausesWithImplicit, AStmt, StartLoc,
6467 Res = ActOnOpenMPGenericLoopDirective(ClausesWithImplicit, AStmt, StartLoc,
6472 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6476 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6480 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6484 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6665 DSAStack->addTargetDirLocation(StartLoc);
6926 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
6935 Res = ActOnOpenMPAssumeDirective(Clauses, AStmt, StartLoc, EndLoc);
7620 Stmt *AStmt, SourceLocation StartLoc,
7628 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10380 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10404 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10409 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10428 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10434 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10458 return OMPForSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
10498 Stmt *AStmt, SourceLocation StartLoc,
10506 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10511 SourceLocation StartLoc,
10519 return OMPSectionDirective::Create(getASTContext(), StartLoc, EndLoc, AStmt,
10533 Stmt *AStmt, SourceLocation StartLoc,
10577 return OMPDispatchDirective::Create(getASTContext(), StartLoc, EndLoc,
10607 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10631 return OMPGenericLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
10636 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10661 DSAStack->setParentTeamsRegionLoc(StartLoc);
10664 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10668 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10696 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10701 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10729 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10733 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10761 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10766 SourceLocation StartLoc,
10792 return OMPSingleDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
10797 SourceLocation StartLoc,
10804 return OMPMasterDirective::Create(getASTContext(), StartLoc, EndLoc, AStmt);
10809 SourceLocation StartLoc,
10816 return OMPMaskedDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
10822 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) {
10851 Diag(StartLoc, diag::err_omp_critical_with_hint);
10856 Diag(StartLoc, diag::note_omp_critical_no_hint) << 0;
10870 auto *Dir = OMPCriticalDirective::Create(getASTContext(), DirName, StartLoc,
10878 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10899 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10904 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10929 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10933 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10941 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10946 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10954 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10959 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10967 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10996 SourceLocation StartLoc,
11010 return OMPTaskDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
11014 StmtResult SemaOpenMP::ActOnOpenMPTaskyieldDirective(SourceLocation StartLoc,
11016 return OMPTaskyieldDirective::Create(getASTContext(), StartLoc, EndLoc);
11019 StmtResult SemaOpenMP::ActOnOpenMPBarrierDirective(SourceLocation StartLoc,
11021 return OMPBarrierDirective::Create(getASTContext(), StartLoc, EndLoc);
11025 SourceLocation StartLoc,
11047 Diag(StartLoc, diag::err_diagnose_if_succeeded)
11052 return OMPErrorDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11057 SourceLocation StartLoc,
11065 Diag(StartLoc, diag::err_omp_nowait_clause_without_depend);
11069 return OMPTaskwaitDirective::Create(getASTContext(), StartLoc, EndLoc,
11075 Stmt *AStmt, SourceLocation StartLoc,
11084 return OMPTaskgroupDirective::Create(getASTContext(), StartLoc, EndLoc,
11090 SourceLocation StartLoc,
11126 return OMPFlushDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11130 SourceLocation StartLoc,
11133 Diag(StartLoc, diag::err_omp_depobj_expected);
11148 return OMPDepobjDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11152 SourceLocation StartLoc,
11165 return StmtError(Diag(StartLoc, diag::err_omp_orphaned_device_directive)
11171 Diag(StartLoc, diag::err_omp_several_directives_in_region) << "scan";
11177 DSAStack->setParentHasScanDirective(StartLoc);
11178 return OMPScanDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11183 Stmt *AStmt, SourceLocation StartLoc,
11242 Diag(StartLoc, diag::err_omp_prohibited_region_simd)
11261 SourceLocation ErrLoc = TC ? TC->getBeginLoc() : StartLoc;
11278 Diag(StartLoc, diag::err_omp_several_directives_in_region) << "ordered";
11284 DSAStack->setParentHasOrderedDirective(StartLoc);
11293 return OMPOrderedDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
12354 SourceLocation StartLoc,
12358 DSAStack->addAtomicDirectiveLoc(StartLoc);
12453 Loc = StartLoc;
12925 Context, StartLoc, EndLoc, Clauses, AStmt,
12931 SourceLocation StartLoc,
12968 Diag(StartLoc, diag::err_omp_target_contains_not_only_teams);
12977 return OMPTargetDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
12982 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
12990 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
12995 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13017 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13056 Stmt *AStmt, SourceLocation StartLoc,
13074 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13081 return OMPTargetDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13086 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13096 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13101 return OMPTargetEnterDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13106 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13116 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13121 return OMPTargetExitDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13126 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13134 Diag(StartLoc, diag::err_omp_at_least_one_motion_clause_required);
13139 Diag(StartLoc, diag::err_omp_cannot_update_with_internal_linkage);
13143 return OMPTargetUpdateDirective::Create(getASTContext(), StartLoc, EndLoc,
13168 SourceLocation StartLoc,
13181 Diag(StartLoc, diag::warn_hip_omp_target_directives);
13185 DSAStack->setParentTeamsRegionLoc(StartLoc);
13187 return OMPTeamsDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
13192 SourceLocation StartLoc, SourceLocation EndLoc,
13195 Diag(StartLoc, diag::err_omp_parent_cancel_region_nowait) << 0;
13199 Diag(StartLoc, diag::err_omp_parent_cancel_region_ordered) << 0;
13202 return OMPCancellationPointDirective::Create(getASTContext(), StartLoc,
13207 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13210 Diag(StartLoc, diag::err_omp_parent_cancel_region_nowait) << 1;
13214 Diag(StartLoc, diag::err_omp_parent_cancel_region_ordered) << 1;
13218 return OMPCancelDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
13250 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13282 return OMPTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13288 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13324 return OMPTaskLoopSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13329 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13361 return OMPMasterTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13367 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13399 return OMPMaskedTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13405 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13442 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13446 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13483 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13487 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13521 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13526 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13560 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13565 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13601 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13605 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13641 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13645 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13666 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13671 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13693 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13698 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13723 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13727 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13751 return OMPDistributeSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13756 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13781 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13785 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13808 return OMPTargetSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13813 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13834 DSAStack->setParentTeamsRegionLoc(StartLoc);
13837 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13841 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13865 DSAStack->setParentTeamsRegionLoc(StartLoc);
13868 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13872 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13896 DSAStack->setParentTeamsRegionLoc(StartLoc);
13899 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13903 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13925 DSAStack->setParentTeamsRegionLoc(StartLoc);
13928 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13933 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13963 return OMPTargetTeamsDirective::Create(getASTContext(), StartLoc, EndLoc,
13968 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13996 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
14000 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14028 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
14033 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14065 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
14069 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14100 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
14210 SourceLocation StartLoc,
14236 return OMPTileDirective::Create(Context, StartLoc, EndLoc, Clauses,
14475 return OMPTileDirective::Create(Context, StartLoc, EndLoc, Clauses, NumLoops,
14482 SourceLocation StartLoc,
14514 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14539 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14723 getASTContext(), StartLoc, {UnrollHintAttr}, InnerFor);
14755 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14761 SourceLocation StartLoc,
14782 return OMPReverseDirective::Create(Context, StartLoc, EndLoc, AStmt,
14810 SourceLocation TransformLoc = StartLoc;
14811 SourceLocation TransformLocBegin = StartLoc;
14942 return OMPReverseDirective::Create(Context, StartLoc, EndLoc, AStmt,
14948 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14973 return OMPInterchangeDirective::Create(Context, StartLoc, EndLoc, Clauses,
15026 return OMPInterchangeDirective::Create(Context, StartLoc, EndLoc, Clauses,
15139 return OMPInterchangeDirective::Create(Context, StartLoc, EndLoc, Clauses,
15146 SourceLocation StartLoc,
15152 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc);
15155 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc);
15158 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc);
15161 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc);
15164 Res = ActOnOpenMPAllocatorClause(Expr, StartLoc, LParenLoc, EndLoc);
15167 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc);
15170 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc, LParenLoc, Expr);
15173 Res = ActOnOpenMPPriorityClause(Expr, StartLoc, LParenLoc, EndLoc);
15176 Res = ActOnOpenMPHintClause(Expr, StartLoc, LParenLoc, EndLoc);
15179 Res = ActOnOpenMPDepobjClause(Expr, StartLoc, LParenLoc, EndLoc);
15182 Res = ActOnOpenMPDetachClause(Expr, StartLoc, LParenLoc, EndLoc);
15185 Res = ActOnOpenMPNovariantsClause(Expr, StartLoc, LParenLoc, EndLoc);
15188 Res = ActOnOpenMPNocontextClause(Expr, StartLoc, LParenLoc, EndLoc);
15191 Res = ActOnOpenMPFilterClause(Expr, StartLoc, LParenLoc, EndLoc);
15194 Res = ActOnOpenMPPartialClause(Expr, StartLoc, LParenLoc, EndLoc);
15197 Res = ActOnOpenMPMessageClause(Expr, StartLoc, LParenLoc, EndLoc);
15200 Res = ActOnOpenMPAlignClause(Expr, StartLoc, LParenLoc, EndLoc);
15203 Res = ActOnOpenMPXDynCGroupMemClause(Expr, StartLoc, LParenLoc, EndLoc);
15206 Res = ActOnOpenMPHoldsClause(Expr, StartLoc, LParenLoc, EndLoc);
15404 OpenMPDirectiveKind NameModifier, Expr *Condition, SourceLocation StartLoc,
15413 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
15432 OMPIfClause(NameModifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc,
15437 SourceLocation StartLoc,
15446 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
15465 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
15556 SourceLocation StartLoc,
15580 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
15635 SourceLocation StartLoc,
15645 OMPSafelenClause(Safelen.get(), StartLoc, LParenLoc, EndLoc);
15649 SourceLocation StartLoc,
15659 OMPSimdlenClause(Simdlen.get(), StartLoc, LParenLoc, EndLoc);
15719 SourceLocation StartLoc,
15737 OMPAllocatorClause(Allocator.get(), StartLoc, LParenLoc, EndLoc);
15741 SourceLocation StartLoc,
15754 OMPCollapseClause(NumForLoopsResult.get(), StartLoc, LParenLoc, EndLoc);
15757 OMPClause *SemaOpenMP::ActOnOpenMPOrderedClause(SourceLocation StartLoc,
15778 StartLoc, LParenLoc, EndLoc);
15785 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) {
15790 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15794 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15799 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15803 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15807 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15811 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15815 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15819 static_cast<OpenMPSeverityClauseKind>(Argument), ArgumentLoc, StartLoc,
15926 SourceLocation StartLoc,
15955 OMPDefaultClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15960 SourceLocation StartLoc,
15983 OMPProcBindClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15988 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) {
15998 Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
16003 SourceLocation StartLoc,
16014 OMPAtClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
16019 SourceLocation StartLoc,
16030 OMPSeverityClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
16034 SourceLocation StartLoc,
16044 OMPMessageClause(ME, StartLoc, LParenLoc, EndLoc);
16049 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation MLoc,
16083 Kind, KindLoc, StartLoc, LParenLoc, EndLoc, Modifier, MLoc);
16088 SourceLocation StartLoc,
16104 return OMPUpdateClause::Create(getASTContext(), StartLoc, LParenLoc,
16109 SourceLocation StartLoc,
16157 return OMPSizesClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
16162 SourceLocation StartLoc,
16195 return OMPPermutationClause::Create(getASTContext(), StartLoc, LParenLoc,
16199 OMPClause *SemaOpenMP::ActOnOpenMPFullClause(SourceLocation StartLoc,
16201 return OMPFullClause::Create(getASTContext(), StartLoc, EndLoc);
16205 SourceLocation StartLoc,
16218 return OMPPartialClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
16222 OMPClause *SemaOpenMP::ActOnOpenMPAlignClause(Expr *A, SourceLocation StartLoc,
16229 return OMPAlignClause::Create(getASTContext(), AlignVal.get(), StartLoc,
16235 SourceLocation StartLoc, SourceLocation LParenLoc,
16248 StartLoc, LParenLoc, ArgumentLoc[Modifier1], ArgumentLoc[Modifier2],
16254 Expr, StartLoc, LParenLoc, ArgumentLoc.back(),
16260 StartLoc, LParenLoc, ArgumentLoc.back(), DelimLoc, EndLoc);
16267 StartLoc, LParenLoc, ArgumentLoc[Modifier], ArgumentLoc[DefaultmapKind],
16274 static_cast<OpenMPOrderClauseKind>(Argument[OrderKind]), StartLoc,
16281 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16288 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16295 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16403 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
16486 OMPScheduleClause(StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc, Kind,
16491 SourceLocation StartLoc,
16496 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc);
16499 Res = ActOnOpenMPNowaitClause(StartLoc, EndLoc);
16502 Res = ActOnOpenMPUntiedClause(StartLoc, EndLoc);
16505 Res = ActOnOpenMPMergeableClause(StartLoc, EndLoc);
16508 Res = ActOnOpenMPReadClause(StartLoc, EndLoc);
16511 Res = ActOnOpenMPWriteClause(StartLoc, EndLoc);
16514 Res = ActOnOpenMPUpdateClause(StartLoc, EndLoc);
16517 Res = ActOnOpenMPCaptureClause(StartLoc, EndLoc);
16520 Res = ActOnOpenMPCompareClause(StartLoc, EndLoc);
16523 Res = ActOnOpenMPFailClause(StartLoc, EndLoc);
16526 Res = ActOnOpenMPSeqCstClause(StartLoc, EndLoc);
16529 Res = ActOnOpenMPAcqRelClause(StartLoc, EndLoc);
16532 Res = ActOnOpenMPAcquireClause(StartLoc, EndLoc);
16535 Res = ActOnOpenMPReleaseClause(StartLoc, EndLoc);
16538 Res = ActOnOpenMPRelaxedClause(StartLoc, EndLoc);
16541 Res = ActOnOpenMPWeakClause(StartLoc, EndLoc);
16544 Res = ActOnOpenMPThreadsClause(StartLoc, EndLoc);
16547 Res = ActOnOpenMPSIMDClause(StartLoc, EndLoc);
16550 Res = ActOnOpenMPNogroupClause(StartLoc, EndLoc);
16553 Res = ActOnOpenMPUnifiedAddressClause(StartLoc, EndLoc);
16556 Res = ActOnOpenMPUnifiedSharedMemoryClause(StartLoc, EndLoc);
16559 Res = ActOnOpenMPReverseOffloadClause(StartLoc, EndLoc);
16562 Res = ActOnOpenMPDynamicAllocatorsClause(StartLoc, EndLoc);
16565 Res = ActOnOpenMPDestroyClause(/*InteropVar=*/nullptr, StartLoc,
16570 Res = ActOnOpenMPFullClause(StartLoc, EndLoc);
16573 Res = ActOnOpenMPPartialClause(nullptr, StartLoc, /*LParenLoc=*/{}, EndLoc);
16576 Res = ActOnOpenMPXBareClause(StartLoc, EndLoc);
16646 OMPClause *SemaOpenMP::ActOnOpenMPNowaitClause(SourceLocation StartLoc,
16649 return new (getASTContext()) OMPNowaitClause(StartLoc, EndLoc);
16652 OMPClause *SemaOpenMP::ActOnOpenMPUntiedClause(SourceLocation StartLoc,
16655 return new (getASTContext()) OMPUntiedClause(StartLoc, EndLoc);
16658 OMPClause *SemaOpenMP::ActOnOpenMPMergeableClause(SourceLocation StartLoc,
16660 return new (getASTContext()) OMPMergeableClause(StartLoc, EndLoc);
16663 OMPClause *SemaOpenMP::ActOnOpenMPReadClause(SourceLocation StartLoc,
16665 return new (getASTContext()) OMPReadClause(StartLoc, EndLoc);
16668 OMPClause *SemaOpenMP::ActOnOpenMPWriteClause(SourceLocation StartLoc,
16670 return new (getASTContext()) OMPWriteClause(StartLoc, EndLoc);
16673 OMPClause *SemaOpenMP::ActOnOpenMPUpdateClause(SourceLocation StartLoc,
16675 return OMPUpdateClause::Create(getASTContext(), StartLoc, EndLoc);
16678 OMPClause *SemaOpenMP::ActOnOpenMPCaptureClause(SourceLocation StartLoc,
16680 return new (getASTContext()) OMPCaptureClause(StartLoc, EndLoc);
16683 OMPClause *SemaOpenMP::ActOnOpenMPCompareClause(SourceLocation StartLoc,
16685 return new (getASTContext()) OMPCompareClause(StartLoc, EndLoc);
16688 OMPClause *SemaOpenMP::ActOnOpenMPFailClause(SourceLocation StartLoc,
16690 return new (getASTContext()) OMPFailClause(StartLoc, EndLoc);
16695 SourceLocation StartLoc,
16704 OMPFailClause(Parameter, KindLoc, StartLoc, LParenLoc, EndLoc);
16707 OMPClause *SemaOpenMP::ActOnOpenMPSeqCstClause(SourceLocation StartLoc,
16709 return new (getASTContext()) OMPSeqCstClause(StartLoc, EndLoc);
16712 OMPClause *SemaOpenMP::ActOnOpenMPAcqRelClause(SourceLocation StartLoc,
16714 return new (getASTContext()) OMPAcqRelClause(StartLoc, EndLoc);
16717 OMPClause *SemaOpenMP::ActOnOpenMPAcquireClause(SourceLocation StartLoc,
16719 return new (getASTContext()) OMPAcquireClause(StartLoc, EndLoc);
16722 OMPClause *SemaOpenMP::ActOnOpenMPReleaseClause(SourceLocation StartLoc,
16724 return new (getASTContext()) OMPReleaseClause(StartLoc, EndLoc);
16727 OMPClause *SemaOpenMP::ActOnOpenMPRelaxedClause(SourceLocation StartLoc,
16729 return new (getASTContext()) OMPRelaxedClause(StartLoc, EndLoc);
16732 OMPClause *SemaOpenMP::ActOnOpenMPWeakClause(SourceLocation StartLoc,
16734 return new (getASTContext()) OMPWeakClause(StartLoc, EndLoc);
16737 OMPClause *SemaOpenMP::ActOnOpenMPThreadsClause(SourceLocation StartLoc,
16739 return new (getASTContext()) OMPThreadsClause(StartLoc, EndLoc);
16742 OMPClause *SemaOpenMP::ActOnOpenMPSIMDClause(SourceLocation StartLoc,
16744 return new (getASTContext()) OMPSIMDClause(StartLoc, EndLoc);
16747 OMPClause *SemaOpenMP::ActOnOpenMPNogroupClause(SourceLocation StartLoc,
16749 return new (getASTContext()) OMPNogroupClause(StartLoc, EndLoc);
16752 OMPClause *SemaOpenMP::ActOnOpenMPUnifiedAddressClause(SourceLocation StartLoc,
16754 return new (getASTContext()) OMPUnifiedAddressClause(StartLoc, EndLoc);
16758 SemaOpenMP::ActOnOpenMPUnifiedSharedMemoryClause(SourceLocation StartLoc,
16760 return new (getASTContext()) OMPUnifiedSharedMemoryClause(StartLoc, EndLoc);
16763 OMPClause *SemaOpenMP::ActOnOpenMPReverseOffloadClause(SourceLocation StartLoc,
16765 return new (getASTContext()) OMPReverseOffloadClause(StartLoc, EndLoc);
16769 SemaOpenMP::ActOnOpenMPDynamicAllocatorsClause(SourceLocation StartLoc,
16771 return new (getASTContext()) OMPDynamicAllocatorsClause(StartLoc, EndLoc);
16776 SourceLocation StartLoc,
16783 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
16845 return OMPInteropDirective::Create(getASTContext(), StartLoc, EndLoc,
16907 Expr *InteropVar, OMPInteropInfo &InteropInfo, SourceLocation StartLoc,
16928 StartLoc, LParenLoc, VarLoc, EndLoc);
16932 SourceLocation StartLoc,
16941 OMPUseClause(InteropVar, StartLoc, LParenLoc, VarLoc, EndLoc);
16945 SourceLocation StartLoc,
16951 Diag(StartLoc, diag::err_omp_expected_clause_argument)
16961 OMPDestroyClause(InteropVar, StartLoc, LParenLoc, VarLoc, EndLoc);
16965 SourceLocation StartLoc,
16974 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
16993 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
16997 SourceLocation StartLoc,
17006 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
17025 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
17029 SourceLocation StartLoc,
17047 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
17054 SourceLocation StartLoc = Locs.StartLoc;
17063 Res = ActOnOpenMPPrivateClause(VarList, StartLoc, LParenLoc, EndLoc);
17066 Res = ActOnOpenMPFirstprivateClause(VarList, StartLoc, LParenLoc, EndLoc);
17073 ExtraModifierLoc, ColonLoc, StartLoc, LParenLoc, EndLoc);
17076 Res = ActOnOpenMPSharedClause(VarList, StartLoc, LParenLoc, EndLoc);
17083 StartLoc, LParenLoc, ExtraModifierLoc, ColonLoc, EndLoc,
17088 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc,
17093 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc,
17100 VarList, Data.DepModOrTailExpr, StartLoc, LParenLoc,
17105 Res = ActOnOpenMPAlignedClause(VarList, Data.DepModOrTailExpr, StartLoc,
17109 Res = ActOnOpenMPCopyinClause(VarList, StartLoc, LParenLoc, EndLoc);
17112 Res = ActOnOpenMPCopyprivateClause(VarList, StartLoc, LParenLoc, EndLoc);
17115 Res = ActOnOpenMPFlushClause(VarList, StartLoc, LParenLoc, EndLoc);
17123 Data.DepModOrTailExpr, VarList, StartLoc, LParenLoc, EndLoc);
17174 Modifier2, Modifier2Loc, VarList, StartLoc, LParenLoc, ColonLoc,
17179 Res = ActOnOpenMPNontemporalClause(VarList, StartLoc, LParenLoc, EndLoc);
17182 Res = ActOnOpenMPInclusiveClause(VarList, StartLoc, LParenLoc, EndLoc);
17185 Res = ActOnOpenMPExclusiveClause(VarList, StartLoc, LParenLoc, EndLoc);
17188 Res = ActOnOpenMPAffinityClause(StartLoc, LParenLoc, ColonLoc, EndLoc,
17194 ExtraModifierLoc, ColonLoc, VarList, StartLoc, LParenLoc, EndLoc);
17197 Res = ActOnOpenMPNumTeamsClause(VarList, StartLoc, LParenLoc, EndLoc);
17200 Res = ActOnOpenMPThreadLimitClause(VarList, StartLoc, LParenLoc, EndLoc);
17286 SourceLocation StartLoc,
17292 StartLoc.isInvalid() && LParenLoc.isInvalid() && EndLoc.isInvalid();
17429 return OMPPrivateClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
17434 SourceLocation StartLoc,
17442 StartLoc.isInvalid() && LParenLoc.isInvalid() && EndLoc.isInvalid();
17718 getASTContext(), StartLoc, LParenLoc, EndLoc, Vars, PrivateCopies, Inits,
17724 SourceLocation LPKindLoc, SourceLocation ColonLoc, SourceLocation StartLoc,
17900 getASTContext(), StartLoc, LParenLoc, EndLoc, Vars, SrcExprs, DstExprs,
17907 SourceLocation StartLoc,
17955 return OMPSharedClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
18403 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
19134 SourceLocation StartLoc, SourceLocation LParenLoc,
19162 StartLoc, LParenLoc, ColonLoc, EndLoc,
19168 getASTContext(), StartLoc, LParenLoc, ModifierLoc, ColonLoc, EndLoc,
19178 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
19184 VarList, StartLoc, LParenLoc, ColonLoc,
19190 getASTContext(), StartLoc, LParenLoc, ColonLoc, EndLoc, RD.Vars,
19198 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
19204 StartLoc, LParenLoc, ColonLoc, EndLoc,
19210 getASTContext(), StartLoc, LParenLoc, ColonLoc, EndLoc, RD.Vars,
19272 ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc,
19407 return OMPLinearClause::Create(getASTContext(), StartLoc, LParenLoc, LinKind,
19518 ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc,
19588 return OMPAlignedClause::Create(getASTContext(), StartLoc, LParenLoc,
19593 SourceLocation StartLoc,
19684 return OMPCopyinClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19689 SourceLocation StartLoc,
19797 return OMPCopyprivateClause::Create(getASTContext(), StartLoc, LParenLoc,
19803 SourceLocation StartLoc,
19809 return OMPFlushClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19831 SourceLocation StartLoc,
19837 bool OMPDependTFound = findOMPDependT(SemaRef, StartLoc, DSAStack);
19856 return OMPDepobjClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19992 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
20066 OMPDependTFound = findOMPDependT(SemaRef, StartLoc, DSAStack,
20174 getASTContext(), StartLoc, LParenLoc, EndLoc,
20184 OpenMPDeviceClauseModifier Modifier, Expr *Device, SourceLocation StartLoc,
20216 StartLoc,
20234 OMPDeviceClause(Modifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc,
21313 MappableVarListInfo &MVLI, SourceLocation StartLoc,
21331 MapperId.setLoc(StartLoc);
21469 (SemaRef.getLangOpts().OpenMP <= 45 || StartLoc.isValid()) &&
21523 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21538 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21552 SemaRef.Diag(StartLoc,
21568 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21678 checkMappableExpressionList(SemaRef, DSAStack, OMPC_map, MVLI, Locs.StartLoc,
21984 SourceLocation StartLoc, DeclarationName VN, AccessSpecifier AS,
22038 Diag(StartLoc, diag::err_omp_declare_mapper_redefinition)
22049 auto *DMD = OMPDeclareMapperDecl::Create(getASTContext(), DC, StartLoc, Name,
22070 Scope *S, QualType MapperType, SourceLocation StartLoc,
22073 getASTContext().getTrivialTypeSourceInfo(MapperType, StartLoc);
22075 getASTContext(), getASTContext().getTranslationUnitDecl(), StartLoc,
22076 StartLoc, VN.getAsIdentifierInfo(), MapperType, TInfo, SC_None);
22079 Expr *E = buildDeclRefExpr(SemaRef, VD, MapperType, StartLoc);
22110 SourceLocation StartLoc,
22128 return OMPNumTeamsClause::Create(getASTContext(), CaptureRegion, StartLoc,
22141 return OMPNumTeamsClause::Create(getASTContext(), CaptureRegion, StartLoc,
22146 SourceLocation StartLoc,
22165 StartLoc, LParenLoc, EndLoc, VarList,
22177 return OMPThreadLimitClause::Create(getASTContext(), CaptureRegion, StartLoc,
22182 SourceLocation StartLoc,
22198 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
22203 SourceLocation StartLoc, SourceLocation LParenLoc,
22232 StartLoc, LParenLoc, ModifierLoc, EndLoc);
22237 SourceLocation StartLoc, SourceLocation LParenLoc,
22265 StartLoc, LParenLoc, ModifierLoc, EndLoc);
22269 SourceLocation StartLoc,
22280 OMPHintClause(HintExpr.get(), StartLoc, LParenLoc, EndLoc);
22300 SourceLocation StartLoc,
22345 OMPDetachClause(Evt, StartLoc, LParenLoc, EndLoc);
22349 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
22398 OMPDistScheduleClause(StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc,
22404 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation MLoc,
22473 Diag(StartLoc, diag::err_omp_one_defaultmap_each_category);
22479 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_aggregate, StartLoc);
22480 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_scalar, StartLoc);
22481 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_pointer, StartLoc);
22483 DSAStack->setDefaultDMAAttr(M, Kind, StartLoc);
22487 OMPDefaultmapClause(StartLoc, LParenLoc, MLoc, KindLoc, EndLoc, Kind, M);
22822 checkMappableExpressionList(SemaRef, DSAStack, OMPC_to, MVLI, Locs.StartLoc,
22859 checkMappableExpressionList(SemaRef, DSAStack, OMPC_from, MVLI, Locs.StartLoc,
23188 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc,
23222 SemaRef.targetDiag(StartLoc, diag::err_expected_allocator_expression);
23267 getASTContext(), StartLoc, LParenLoc, Allocator, Alignment, ColonLoc,
23273 SourceLocation StartLoc,
23307 return OMPNontemporalClause::Create(getASTContext(), StartLoc, LParenLoc,
23313 SourceLocation StartLoc,
23320 return OMPScopeDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
23325 SourceLocation StartLoc,
23361 return OMPInclusiveClause::Create(getASTContext(), StartLoc, LParenLoc,
23366 SourceLocation StartLoc,
23405 return OMPExclusiveClause::Create(getASTContext(), StartLoc, LParenLoc,
23425 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc,
23430 if (!findOMPAllocatorHandleT(SemaRef, StartLoc, DSAStack))
23437 !findOMPAlloctraitT(SemaRef, StartLoc, DSAStack))
23446 SemaRef.TUScope, AllocatorName, StartLoc, Sema::LookupAnyName));
23555 return OMPUsesAllocatorsClause::Create(getASTContext(), StartLoc, LParenLoc,
23560 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc,
23594 return OMPAffinityClause::Create(getASTContext(), StartLoc, LParenLoc,
23600 SourceLocation StartLoc,
23611 return OMPBindClause::Create(getASTContext(), Kind, KindLoc, StartLoc,
23616 SourceLocation StartLoc,
23641 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
23646 SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc,
23670 auto *C = OMPDoacrossClause::Create(getASTContext(), StartLoc, LParenLoc,
23679 SourceLocation StartLoc,
23683 OMPXAttributeClause(Attrs, StartLoc, LParenLoc, EndLoc);
23686 OMPClause *SemaOpenMP::ActOnOpenMPXBareClause(SourceLocation StartLoc,
23688 return new (getASTContext()) OMPXBareClause(StartLoc, EndLoc);
23691 OMPClause *SemaOpenMP::ActOnOpenMPHoldsClause(Expr *E, SourceLocation StartLoc,
23694 return new (getASTContext()) OMPHoldsClause(E, StartLoc, LParenLoc, EndLoc);
23996 SourceLocation StartLoc;
24003 StartLoc = D.DeclIdentLoc;
24006 StartLoc = TInfo->getTypeLoc().getBeginLoc();
24016 Diag(StartLoc, diag::err_omp_iterator_not_integral_or_pointer)
24024 Diag(StartLoc, diag::err_omp_iterator_not_integral_or_pointer)
24036 VarDecl::Create(Context, SemaRef.CurContext, StartLoc, D.DeclIdentLoc,