Lines Matching defs:StartLoc
4767 SourceLocation StartLoc) {
4776 SemaRef.Diag(StartLoc, diag::err_omp_wrong_cancel_region)
4786 SourceLocation StartLoc) {
4813 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_order)
4834 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd)
4843 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_atomic);
4852 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_section_directive)
4874 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region)
4929 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_critical_same_name)
5057 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_device_directive)
5060 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region)
5988 SourceLocation StartLoc, SourceLocation EndLoc,
6079 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc,
6098 StartLoc, EndLoc, DirName, CancelRegion);
6103 if (checkCancelRegion(SemaRef, Kind, CancelRegion, StartLoc) ||
6105 BindKind, StartLoc)) {
6112 Diag(StartLoc, diag::warn_hip_omp_target_directives);
6275 Res = ActOnOpenMPParallelDirective(ClausesWithImplicit, AStmt, StartLoc,
6279 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc,
6284 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6287 Res = ActOnOpenMPUnrollDirective(ClausesWithImplicit, AStmt, StartLoc,
6293 Res = ActOnOpenMPReverseDirective(AStmt, StartLoc, EndLoc);
6296 Res = ActOnOpenMPInterchangeDirective(ClausesWithImplicit, AStmt, StartLoc,
6300 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc,
6304 Res = ActOnOpenMPForSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6308 Res = ActOnOpenMPSectionsDirective(ClausesWithImplicit, AStmt, StartLoc,
6314 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc);
6317 Res = ActOnOpenMPSingleDirective(ClausesWithImplicit, AStmt, StartLoc,
6323 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc);
6326 Res = ActOnOpenMPMaskedDirective(ClausesWithImplicit, AStmt, StartLoc,
6331 StartLoc, EndLoc);
6334 Res = ActOnOpenMPParallelForDirective(ClausesWithImplicit, AStmt, StartLoc,
6339 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6343 ActOnOpenMPScopeDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6347 StartLoc, EndLoc);
6351 StartLoc, EndLoc);
6355 StartLoc, EndLoc);
6359 ActOnOpenMPTaskDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6366 Res = ActOnOpenMPTaskyieldDirective(StartLoc, EndLoc);
6371 Res = ActOnOpenMPErrorDirective(ClausesWithImplicit, StartLoc, EndLoc);
6378 Res = ActOnOpenMPBarrierDirective(StartLoc, EndLoc);
6383 Res = ActOnOpenMPTaskwaitDirective(ClausesWithImplicit, StartLoc, EndLoc);
6386 Res = ActOnOpenMPTaskgroupDirective(ClausesWithImplicit, AStmt, StartLoc,
6392 Res = ActOnOpenMPFlushDirective(ClausesWithImplicit, StartLoc, EndLoc);
6397 Res = ActOnOpenMPDepobjDirective(ClausesWithImplicit, StartLoc, EndLoc);
6402 Res = ActOnOpenMPScanDirective(ClausesWithImplicit, StartLoc, EndLoc);
6405 Res = ActOnOpenMPOrderedDirective(ClausesWithImplicit, AStmt, StartLoc,
6409 Res = ActOnOpenMPAtomicDirective(ClausesWithImplicit, AStmt, StartLoc,
6414 ActOnOpenMPTeamsDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc);
6417 Res = ActOnOpenMPTargetDirective(ClausesWithImplicit, AStmt, StartLoc,
6422 StartLoc, EndLoc);
6426 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6433 Res = ActOnOpenMPCancellationPointDirective(StartLoc, EndLoc, CancelRegion);
6438 Res = ActOnOpenMPCancelDirective(ClausesWithImplicit, StartLoc, EndLoc,
6442 Res = ActOnOpenMPTargetDataDirective(ClausesWithImplicit, AStmt, StartLoc,
6446 Res = ActOnOpenMPTargetEnterDataDirective(ClausesWithImplicit, StartLoc,
6450 Res = ActOnOpenMPTargetExitDataDirective(ClausesWithImplicit, StartLoc,
6454 Res = ActOnOpenMPTaskLoopDirective(ClausesWithImplicit, AStmt, StartLoc,
6458 Res = ActOnOpenMPTaskLoopSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6463 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6467 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6471 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6475 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6479 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6483 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6487 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6491 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6494 Res = ActOnOpenMPDistributeDirective(ClausesWithImplicit, AStmt, StartLoc,
6498 Res = ActOnOpenMPTargetUpdateDirective(ClausesWithImplicit, StartLoc,
6503 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6507 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6511 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6515 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6518 Res = ActOnOpenMPTargetSimdDirective(ClausesWithImplicit, AStmt, StartLoc,
6523 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6527 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6531 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6535 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6538 Res = ActOnOpenMPTargetTeamsDirective(ClausesWithImplicit, AStmt, StartLoc,
6543 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6547 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6551 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6555 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6560 Res = ActOnOpenMPInteropDirective(ClausesWithImplicit, StartLoc, EndLoc);
6563 Res = ActOnOpenMPDispatchDirective(ClausesWithImplicit, AStmt, StartLoc,
6567 Res = ActOnOpenMPGenericLoopDirective(ClausesWithImplicit, AStmt, StartLoc,
6572 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6576 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6580 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6584 ClausesWithImplicit, AStmt, StartLoc, EndLoc, VarsWithInheritedDSA);
6765 DSAStack->addTargetDirLocation(StartLoc);
7700 Stmt *AStmt, SourceLocation StartLoc,
7708 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10354 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10380 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10386 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10408 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10415 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10438 return OMPForSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
10478 Stmt *AStmt, SourceLocation StartLoc,
10486 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10491 SourceLocation StartLoc,
10499 return OMPSectionDirective::Create(getASTContext(), StartLoc, EndLoc, AStmt,
10513 Stmt *AStmt, SourceLocation StartLoc,
10557 return OMPDispatchDirective::Create(getASTContext(), StartLoc, EndLoc,
10587 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10611 return OMPGenericLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
10616 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10641 DSAStack->setParentTeamsRegionLoc(StartLoc);
10644 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10648 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10676 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10681 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10709 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10713 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10741 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10746 SourceLocation StartLoc,
10772 return OMPSingleDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
10777 SourceLocation StartLoc,
10784 return OMPMasterDirective::Create(getASTContext(), StartLoc, EndLoc, AStmt);
10789 SourceLocation StartLoc,
10796 return OMPMaskedDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
10802 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) {
10831 Diag(StartLoc, diag::err_omp_critical_with_hint);
10836 Diag(StartLoc, diag::note_omp_critical_no_hint) << 0;
10850 auto *Dir = OMPCriticalDirective::Create(getASTContext(), DirName, StartLoc,
10858 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10879 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
10884 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10908 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
10912 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10920 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10925 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10933 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10938 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
10946 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
10975 SourceLocation StartLoc,
10989 return OMPTaskDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
10993 StmtResult SemaOpenMP::ActOnOpenMPTaskyieldDirective(SourceLocation StartLoc,
10995 return OMPTaskyieldDirective::Create(getASTContext(), StartLoc, EndLoc);
10998 StmtResult SemaOpenMP::ActOnOpenMPBarrierDirective(SourceLocation StartLoc,
11000 return OMPBarrierDirective::Create(getASTContext(), StartLoc, EndLoc);
11004 SourceLocation StartLoc,
11026 Diag(StartLoc, diag::err_diagnose_if_succeeded)
11031 return OMPErrorDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11036 SourceLocation StartLoc,
11044 Diag(StartLoc, diag::err_omp_nowait_clause_without_depend);
11048 return OMPTaskwaitDirective::Create(getASTContext(), StartLoc, EndLoc,
11054 Stmt *AStmt, SourceLocation StartLoc,
11063 return OMPTaskgroupDirective::Create(getASTContext(), StartLoc, EndLoc,
11069 SourceLocation StartLoc,
11104 return OMPFlushDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11108 SourceLocation StartLoc,
11111 Diag(StartLoc, diag::err_omp_depobj_expected);
11126 return OMPDepobjDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11130 SourceLocation StartLoc,
11143 return StmtError(Diag(StartLoc, diag::err_omp_orphaned_device_directive)
11149 Diag(StartLoc, diag::err_omp_several_directives_in_region) << "scan";
11155 DSAStack->setParentHasScanDirective(StartLoc);
11156 return OMPScanDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses);
11161 Stmt *AStmt, SourceLocation StartLoc,
11220 Diag(StartLoc, diag::err_omp_prohibited_region_simd)
11239 SourceLocation ErrLoc = TC ? TC->getBeginLoc() : StartLoc;
11256 Diag(StartLoc, diag::err_omp_several_directives_in_region) << "ordered";
11262 DSAStack->setParentHasOrderedDirective(StartLoc);
11271 return OMPOrderedDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
12332 SourceLocation StartLoc,
12336 DSAStack->addAtomicDirectiveLoc(StartLoc);
12431 Loc = StartLoc;
12903 Context, StartLoc, EndLoc, Clauses, AStmt,
12909 SourceLocation StartLoc,
12946 Diag(StartLoc, diag::err_omp_target_contains_not_only_teams);
12955 return OMPTargetDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
12960 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
12968 getASTContext(), StartLoc, EndLoc, Clauses, AStmt,
12973 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
12995 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13034 Stmt *AStmt, SourceLocation StartLoc,
13052 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13059 return OMPTargetDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13064 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13074 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13079 return OMPTargetEnterDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13084 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13094 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
13099 return OMPTargetExitDataDirective::Create(getASTContext(), StartLoc, EndLoc,
13104 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13112 Diag(StartLoc, diag::err_omp_at_least_one_motion_clause_required);
13117 Diag(StartLoc, diag::err_omp_cannot_update_with_internal_linkage);
13121 return OMPTargetUpdateDirective::Create(getASTContext(), StartLoc, EndLoc,
13127 SourceLocation StartLoc,
13134 Diag(StartLoc, diag::warn_hip_omp_target_directives);
13138 DSAStack->setParentTeamsRegionLoc(StartLoc);
13140 return OMPTeamsDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
13145 SourceLocation StartLoc, SourceLocation EndLoc,
13148 Diag(StartLoc, diag::err_omp_parent_cancel_region_nowait) << 0;
13152 Diag(StartLoc, diag::err_omp_parent_cancel_region_ordered) << 0;
13155 return OMPCancellationPointDirective::Create(getASTContext(), StartLoc,
13160 ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc,
13163 Diag(StartLoc, diag::err_omp_parent_cancel_region_nowait) << 1;
13167 Diag(StartLoc, diag::err_omp_parent_cancel_region_ordered) << 1;
13171 return OMPCancelDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
13203 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13235 return OMPTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13241 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13275 return OMPTaskLoopSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13280 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13312 return OMPMasterTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13318 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13350 return OMPMaskedTaskLoopDirective::Create(getASTContext(), StartLoc, EndLoc,
13356 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13391 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13395 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13430 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13434 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13468 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13473 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13507 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13512 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13548 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13552 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13588 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13592 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13616 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13622 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13644 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13649 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13674 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13678 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13702 return OMPDistributeSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13707 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13732 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13736 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13759 return OMPTargetSimdDirective::Create(getASTContext(), StartLoc, EndLoc,
13764 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13785 DSAStack->setParentTeamsRegionLoc(StartLoc);
13788 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13792 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13816 DSAStack->setParentTeamsRegionLoc(StartLoc);
13819 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13823 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13847 DSAStack->setParentTeamsRegionLoc(StartLoc);
13850 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13854 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13876 DSAStack->setParentTeamsRegionLoc(StartLoc);
13879 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13884 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13904 return OMPTargetTeamsDirective::Create(getASTContext(), StartLoc, EndLoc,
13909 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13931 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13935 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13957 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B,
13962 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
13988 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
13992 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14017 getASTContext(), StartLoc, EndLoc, NestedLoopCount, Clauses, AStmt, B);
14127 SourceLocation StartLoc,
14153 return OMPTileDirective::Create(Context, StartLoc, EndLoc, Clauses,
14392 return OMPTileDirective::Create(Context, StartLoc, EndLoc, Clauses, NumLoops,
14399 SourceLocation StartLoc,
14431 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14456 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14640 getASTContext(), StartLoc, {UnrollHintAttr}, InnerFor);
14672 return OMPUnrollDirective::Create(Context, StartLoc, EndLoc, Clauses, AStmt,
14678 SourceLocation StartLoc,
14699 return OMPReverseDirective::Create(Context, StartLoc, EndLoc, AStmt,
14727 SourceLocation TransformLoc = StartLoc;
14728 SourceLocation TransformLocBegin = StartLoc;
14859 return OMPReverseDirective::Create(Context, StartLoc, EndLoc, AStmt,
14865 ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
14888 return OMPInterchangeDirective::Create(Context, StartLoc, EndLoc, Clauses,
15011 return OMPInterchangeDirective::Create(Context, StartLoc, EndLoc, Clauses,
15018 SourceLocation StartLoc,
15024 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc);
15027 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc);
15030 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc);
15033 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc);
15036 Res = ActOnOpenMPAllocatorClause(Expr, StartLoc, LParenLoc, EndLoc);
15039 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc);
15042 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc, LParenLoc, Expr);
15045 Res = ActOnOpenMPNumTeamsClause(Expr, StartLoc, LParenLoc, EndLoc);
15048 Res = ActOnOpenMPThreadLimitClause(Expr, StartLoc, LParenLoc, EndLoc);
15051 Res = ActOnOpenMPPriorityClause(Expr, StartLoc, LParenLoc, EndLoc);
15054 Res = ActOnOpenMPHintClause(Expr, StartLoc, LParenLoc, EndLoc);
15057 Res = ActOnOpenMPDepobjClause(Expr, StartLoc, LParenLoc, EndLoc);
15060 Res = ActOnOpenMPDetachClause(Expr, StartLoc, LParenLoc, EndLoc);
15063 Res = ActOnOpenMPNovariantsClause(Expr, StartLoc, LParenLoc, EndLoc);
15066 Res = ActOnOpenMPNocontextClause(Expr, StartLoc, LParenLoc, EndLoc);
15069 Res = ActOnOpenMPFilterClause(Expr, StartLoc, LParenLoc, EndLoc);
15072 Res = ActOnOpenMPPartialClause(Expr, StartLoc, LParenLoc, EndLoc);
15075 Res = ActOnOpenMPMessageClause(Expr, StartLoc, LParenLoc, EndLoc);
15078 Res = ActOnOpenMPAlignClause(Expr, StartLoc, LParenLoc, EndLoc);
15081 Res = ActOnOpenMPXDynCGroupMemClause(Expr, StartLoc, LParenLoc, EndLoc);
15277 OpenMPDirectiveKind NameModifier, Expr *Condition, SourceLocation StartLoc,
15286 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
15305 OMPIfClause(NameModifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc,
15310 SourceLocation StartLoc,
15319 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
15338 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
15429 SourceLocation StartLoc,
15453 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
15506 SourceLocation StartLoc,
15516 OMPSafelenClause(Safelen.get(), StartLoc, LParenLoc, EndLoc);
15520 SourceLocation StartLoc,
15530 OMPSimdlenClause(Simdlen.get(), StartLoc, LParenLoc, EndLoc);
15590 SourceLocation StartLoc,
15608 OMPAllocatorClause(Allocator.get(), StartLoc, LParenLoc, EndLoc);
15612 SourceLocation StartLoc,
15625 OMPCollapseClause(NumForLoopsResult.get(), StartLoc, LParenLoc, EndLoc);
15628 OMPClause *SemaOpenMP::ActOnOpenMPOrderedClause(SourceLocation StartLoc,
15649 StartLoc, LParenLoc, EndLoc);
15656 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) {
15661 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15665 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15670 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15674 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15678 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15682 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15686 ArgumentLoc, StartLoc, LParenLoc, EndLoc);
15690 static_cast<OpenMPSeverityClauseKind>(Argument), ArgumentLoc, StartLoc,
15797 SourceLocation StartLoc,
15826 OMPDefaultClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15831 SourceLocation StartLoc,
15854 OMPProcBindClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15859 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) {
15869 Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15874 SourceLocation StartLoc,
15885 OMPAtClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15890 SourceLocation StartLoc,
15901 OMPSeverityClause(Kind, KindKwLoc, StartLoc, LParenLoc, EndLoc);
15905 SourceLocation StartLoc,
15915 OMPMessageClause(ME, StartLoc, LParenLoc, EndLoc);
15920 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation MLoc,
15954 Kind, KindLoc, StartLoc, LParenLoc, EndLoc, Modifier, MLoc);
15959 SourceLocation StartLoc,
15975 return OMPUpdateClause::Create(getASTContext(), StartLoc, LParenLoc,
15980 SourceLocation StartLoc,
16028 return OMPSizesClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
16032 OMPClause *SemaOpenMP::ActOnOpenMPFullClause(SourceLocation StartLoc,
16034 return OMPFullClause::Create(getASTContext(), StartLoc, EndLoc);
16038 SourceLocation StartLoc,
16051 return OMPPartialClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
16055 OMPClause *SemaOpenMP::ActOnOpenMPAlignClause(Expr *A, SourceLocation StartLoc,
16062 return OMPAlignClause::Create(getASTContext(), AlignVal.get(), StartLoc,
16068 SourceLocation StartLoc, SourceLocation LParenLoc,
16081 StartLoc, LParenLoc, ArgumentLoc[Modifier1], ArgumentLoc[Modifier2],
16087 Expr, StartLoc, LParenLoc, ArgumentLoc.back(),
16093 StartLoc, LParenLoc, ArgumentLoc.back(), DelimLoc, EndLoc);
16100 StartLoc, LParenLoc, ArgumentLoc[Modifier], ArgumentLoc[DefaultmapKind],
16107 static_cast<OpenMPOrderClauseKind>(Argument[OrderKind]), StartLoc,
16114 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16121 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16128 StartLoc, LParenLoc, ArgumentLoc.back(), EndLoc);
16236 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
16319 OMPScheduleClause(StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc, Kind,
16324 SourceLocation StartLoc,
16329 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc);
16332 Res = ActOnOpenMPNowaitClause(StartLoc, EndLoc);
16335 Res = ActOnOpenMPUntiedClause(StartLoc, EndLoc);
16338 Res = ActOnOpenMPMergeableClause(StartLoc, EndLoc);
16341 Res = ActOnOpenMPReadClause(StartLoc, EndLoc);
16344 Res = ActOnOpenMPWriteClause(StartLoc, EndLoc);
16347 Res = ActOnOpenMPUpdateClause(StartLoc, EndLoc);
16350 Res = ActOnOpenMPCaptureClause(StartLoc, EndLoc);
16353 Res = ActOnOpenMPCompareClause(StartLoc, EndLoc);
16356 Res = ActOnOpenMPFailClause(StartLoc, EndLoc);
16359 Res = ActOnOpenMPSeqCstClause(StartLoc, EndLoc);
16362 Res = ActOnOpenMPAcqRelClause(StartLoc, EndLoc);
16365 Res = ActOnOpenMPAcquireClause(StartLoc, EndLoc);
16368 Res = ActOnOpenMPReleaseClause(StartLoc, EndLoc);
16371 Res = ActOnOpenMPRelaxedClause(StartLoc, EndLoc);
16374 Res = ActOnOpenMPWeakClause(StartLoc, EndLoc);
16377 Res = ActOnOpenMPThreadsClause(StartLoc, EndLoc);
16380 Res = ActOnOpenMPSIMDClause(StartLoc, EndLoc);
16383 Res = ActOnOpenMPNogroupClause(StartLoc, EndLoc);
16386 Res = ActOnOpenMPUnifiedAddressClause(StartLoc, EndLoc);
16389 Res = ActOnOpenMPUnifiedSharedMemoryClause(StartLoc, EndLoc);
16392 Res = ActOnOpenMPReverseOffloadClause(StartLoc, EndLoc);
16395 Res = ActOnOpenMPDynamicAllocatorsClause(StartLoc, EndLoc);
16398 Res = ActOnOpenMPDestroyClause(/*InteropVar=*/nullptr, StartLoc,
16403 Res = ActOnOpenMPFullClause(StartLoc, EndLoc);
16406 Res = ActOnOpenMPPartialClause(nullptr, StartLoc, /*LParenLoc=*/{}, EndLoc);
16409 Res = ActOnOpenMPXBareClause(StartLoc, EndLoc);
16479 OMPClause *SemaOpenMP::ActOnOpenMPNowaitClause(SourceLocation StartLoc,
16482 return new (getASTContext()) OMPNowaitClause(StartLoc, EndLoc);
16485 OMPClause *SemaOpenMP::ActOnOpenMPUntiedClause(SourceLocation StartLoc,
16488 return new (getASTContext()) OMPUntiedClause(StartLoc, EndLoc);
16491 OMPClause *SemaOpenMP::ActOnOpenMPMergeableClause(SourceLocation StartLoc,
16493 return new (getASTContext()) OMPMergeableClause(StartLoc, EndLoc);
16496 OMPClause *SemaOpenMP::ActOnOpenMPReadClause(SourceLocation StartLoc,
16498 return new (getASTContext()) OMPReadClause(StartLoc, EndLoc);
16501 OMPClause *SemaOpenMP::ActOnOpenMPWriteClause(SourceLocation StartLoc,
16503 return new (getASTContext()) OMPWriteClause(StartLoc, EndLoc);
16506 OMPClause *SemaOpenMP::ActOnOpenMPUpdateClause(SourceLocation StartLoc,
16508 return OMPUpdateClause::Create(getASTContext(), StartLoc, EndLoc);
16511 OMPClause *SemaOpenMP::ActOnOpenMPCaptureClause(SourceLocation StartLoc,
16513 return new (getASTContext()) OMPCaptureClause(StartLoc, EndLoc);
16516 OMPClause *SemaOpenMP::ActOnOpenMPCompareClause(SourceLocation StartLoc,
16518 return new (getASTContext()) OMPCompareClause(StartLoc, EndLoc);
16521 OMPClause *SemaOpenMP::ActOnOpenMPFailClause(SourceLocation StartLoc,
16523 return new (getASTContext()) OMPFailClause(StartLoc, EndLoc);
16528 SourceLocation StartLoc,
16537 OMPFailClause(Parameter, KindLoc, StartLoc, LParenLoc, EndLoc);
16540 OMPClause *SemaOpenMP::ActOnOpenMPSeqCstClause(SourceLocation StartLoc,
16542 return new (getASTContext()) OMPSeqCstClause(StartLoc, EndLoc);
16545 OMPClause *SemaOpenMP::ActOnOpenMPAcqRelClause(SourceLocation StartLoc,
16547 return new (getASTContext()) OMPAcqRelClause(StartLoc, EndLoc);
16550 OMPClause *SemaOpenMP::ActOnOpenMPAcquireClause(SourceLocation StartLoc,
16552 return new (getASTContext()) OMPAcquireClause(StartLoc, EndLoc);
16555 OMPClause *SemaOpenMP::ActOnOpenMPReleaseClause(SourceLocation StartLoc,
16557 return new (getASTContext()) OMPReleaseClause(StartLoc, EndLoc);
16560 OMPClause *SemaOpenMP::ActOnOpenMPRelaxedClause(SourceLocation StartLoc,
16562 return new (getASTContext()) OMPRelaxedClause(StartLoc, EndLoc);
16565 OMPClause *SemaOpenMP::ActOnOpenMPWeakClause(SourceLocation StartLoc,
16567 return new (getASTContext()) OMPWeakClause(StartLoc, EndLoc);
16570 OMPClause *SemaOpenMP::ActOnOpenMPThreadsClause(SourceLocation StartLoc,
16572 return new (getASTContext()) OMPThreadsClause(StartLoc, EndLoc);
16575 OMPClause *SemaOpenMP::ActOnOpenMPSIMDClause(SourceLocation StartLoc,
16577 return new (getASTContext()) OMPSIMDClause(StartLoc, EndLoc);
16580 OMPClause *SemaOpenMP::ActOnOpenMPNogroupClause(SourceLocation StartLoc,
16582 return new (getASTContext()) OMPNogroupClause(StartLoc, EndLoc);
16585 OMPClause *SemaOpenMP::ActOnOpenMPUnifiedAddressClause(SourceLocation StartLoc,
16587 return new (getASTContext()) OMPUnifiedAddressClause(StartLoc, EndLoc);
16591 SemaOpenMP::ActOnOpenMPUnifiedSharedMemoryClause(SourceLocation StartLoc,
16593 return new (getASTContext()) OMPUnifiedSharedMemoryClause(StartLoc, EndLoc);
16596 OMPClause *SemaOpenMP::ActOnOpenMPReverseOffloadClause(SourceLocation StartLoc,
16598 return new (getASTContext()) OMPReverseOffloadClause(StartLoc, EndLoc);
16602 SemaOpenMP::ActOnOpenMPDynamicAllocatorsClause(SourceLocation StartLoc,
16604 return new (getASTContext()) OMPDynamicAllocatorsClause(StartLoc, EndLoc);
16609 SourceLocation StartLoc,
16616 Diag(StartLoc, diag::err_omp_no_clause_for_directive)
16678 return OMPInteropDirective::Create(getASTContext(), StartLoc, EndLoc,
16740 Expr *InteropVar, OMPInteropInfo &InteropInfo, SourceLocation StartLoc,
16761 StartLoc, LParenLoc, VarLoc, EndLoc);
16765 SourceLocation StartLoc,
16774 OMPUseClause(InteropVar, StartLoc, LParenLoc, VarLoc, EndLoc);
16778 SourceLocation StartLoc,
16784 Diag(StartLoc, diag::err_omp_expected_clause_argument)
16794 OMPDestroyClause(InteropVar, StartLoc, LParenLoc, VarLoc, EndLoc);
16798 SourceLocation StartLoc,
16807 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
16826 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
16830 SourceLocation StartLoc,
16839 ExprResult Val = SemaRef.CheckBooleanCondition(StartLoc, Condition);
16858 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
16862 SourceLocation StartLoc,
16880 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
16887 SourceLocation StartLoc = Locs.StartLoc;
16896 Res = ActOnOpenMPPrivateClause(VarList, StartLoc, LParenLoc, EndLoc);
16899 Res = ActOnOpenMPFirstprivateClause(VarList, StartLoc, LParenLoc, EndLoc);
16906 ExtraModifierLoc, ColonLoc, StartLoc, LParenLoc, EndLoc);
16909 Res = ActOnOpenMPSharedClause(VarList, StartLoc, LParenLoc, EndLoc);
16916 StartLoc, LParenLoc, ExtraModifierLoc, ColonLoc, EndLoc,
16921 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc,
16926 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc,
16933 VarList, Data.DepModOrTailExpr, StartLoc, LParenLoc,
16938 Res = ActOnOpenMPAlignedClause(VarList, Data.DepModOrTailExpr, StartLoc,
16942 Res = ActOnOpenMPCopyinClause(VarList, StartLoc, LParenLoc, EndLoc);
16945 Res = ActOnOpenMPCopyprivateClause(VarList, StartLoc, LParenLoc, EndLoc);
16948 Res = ActOnOpenMPFlushClause(VarList, StartLoc, LParenLoc, EndLoc);
16956 Data.DepModOrTailExpr, VarList, StartLoc, LParenLoc, EndLoc);
16992 Res = ActOnOpenMPAllocateClause(Data.DepModOrTailExpr, VarList, StartLoc,
16996 Res = ActOnOpenMPNontemporalClause(VarList, StartLoc, LParenLoc, EndLoc);
16999 Res = ActOnOpenMPInclusiveClause(VarList, StartLoc, LParenLoc, EndLoc);
17002 Res = ActOnOpenMPExclusiveClause(VarList, StartLoc, LParenLoc, EndLoc);
17005 Res = ActOnOpenMPAffinityClause(StartLoc, LParenLoc, ColonLoc, EndLoc,
17011 ExtraModifierLoc, ColonLoc, VarList, StartLoc, LParenLoc, EndLoc);
17099 SourceLocation StartLoc,
17105 StartLoc.isInvalid() && LParenLoc.isInvalid() && EndLoc.isInvalid();
17242 return OMPPrivateClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
17247 SourceLocation StartLoc,
17255 StartLoc.isInvalid() && LParenLoc.isInvalid() && EndLoc.isInvalid();
17531 getASTContext(), StartLoc, LParenLoc, EndLoc, Vars, PrivateCopies, Inits,
17537 SourceLocation LPKindLoc, SourceLocation ColonLoc, SourceLocation StartLoc,
17713 getASTContext(), StartLoc, LParenLoc, EndLoc, Vars, SrcExprs, DstExprs,
17720 SourceLocation StartLoc,
17768 return OMPSharedClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
18213 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
18944 SourceLocation StartLoc, SourceLocation LParenLoc,
18972 StartLoc, LParenLoc, ColonLoc, EndLoc,
18978 getASTContext(), StartLoc, LParenLoc, ModifierLoc, ColonLoc, EndLoc,
18988 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
18994 VarList, StartLoc, LParenLoc, ColonLoc,
19000 getASTContext(), StartLoc, LParenLoc, ColonLoc, EndLoc, RD.Vars,
19008 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
19014 StartLoc, LParenLoc, ColonLoc, EndLoc,
19020 getASTContext(), StartLoc, LParenLoc, ColonLoc, EndLoc, RD.Vars,
19082 ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc,
19217 return OMPLinearClause::Create(getASTContext(), StartLoc, LParenLoc, LinKind,
19328 ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc,
19398 return OMPAlignedClause::Create(getASTContext(), StartLoc, LParenLoc,
19403 SourceLocation StartLoc,
19494 return OMPCopyinClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19499 SourceLocation StartLoc,
19607 return OMPCopyprivateClause::Create(getASTContext(), StartLoc, LParenLoc,
19613 SourceLocation StartLoc,
19619 return OMPFlushClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19641 SourceLocation StartLoc,
19647 bool OMPDependTFound = findOMPDependT(SemaRef, StartLoc, DSAStack);
19666 return OMPDepobjClause::Create(getASTContext(), StartLoc, LParenLoc, EndLoc,
19802 ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc,
19876 OMPDependTFound = findOMPDependT(SemaRef, StartLoc, DSAStack,
19984 getASTContext(), StartLoc, LParenLoc, EndLoc,
19994 OpenMPDeviceClauseModifier Modifier, Expr *Device, SourceLocation StartLoc,
20026 StartLoc,
20044 OMPDeviceClause(Modifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc,
20925 MappableVarListInfo &MVLI, SourceLocation StartLoc,
20943 MapperId.setLoc(StartLoc);
21081 (SemaRef.getLangOpts().OpenMP <= 45 || StartLoc.isValid()) &&
21135 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21150 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21164 SemaRef.Diag(StartLoc,
21180 SemaRef.Diag(StartLoc, diag::err_omp_invalid_map_type_for_directive)
21272 checkMappableExpressionList(SemaRef, DSAStack, OMPC_map, MVLI, Locs.StartLoc,
21580 SourceLocation StartLoc, DeclarationName VN, AccessSpecifier AS,
21636 Diag(StartLoc, diag::err_omp_declare_mapper_redefinition)
21648 auto *DMD = OMPDeclareMapperDecl::Create(getASTContext(), DC, StartLoc, Name,
21669 Scope *S, QualType MapperType, SourceLocation StartLoc,
21672 getASTContext().getTrivialTypeSourceInfo(MapperType, StartLoc);
21674 getASTContext(), getASTContext().getTranslationUnitDecl(), StartLoc,
21675 StartLoc, VN.getAsIdentifierInfo(), MapperType, TInfo, SC_None);
21678 Expr *E = buildDeclRefExpr(SemaRef, VD, MapperType, StartLoc);
21709 SourceLocation StartLoc,
21733 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
21737 SourceLocation StartLoc,
21761 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
21765 SourceLocation StartLoc,
21781 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
21786 SourceLocation StartLoc, SourceLocation LParenLoc,
21815 StartLoc, LParenLoc, ModifierLoc, EndLoc);
21820 SourceLocation StartLoc, SourceLocation LParenLoc,
21848 StartLoc, LParenLoc, ModifierLoc, EndLoc);
21852 SourceLocation StartLoc,
21863 OMPHintClause(HintExpr.get(), StartLoc, LParenLoc, EndLoc);
21883 SourceLocation StartLoc,
21928 OMPDetachClause(Evt, StartLoc, LParenLoc, EndLoc);
21932 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
21981 OMPDistScheduleClause(StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc,
21987 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation MLoc,
22054 Diag(StartLoc, diag::err_omp_one_defaultmap_each_category);
22060 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_aggregate, StartLoc);
22061 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_scalar, StartLoc);
22062 DSAStack->setDefaultDMAAttr(M, OMPC_DEFAULTMAP_pointer, StartLoc);
22064 DSAStack->setDefaultDMAAttr(M, Kind, StartLoc);
22068 OMPDefaultmapClause(StartLoc, LParenLoc, MLoc, KindLoc, EndLoc, Kind, M);
22403 checkMappableExpressionList(SemaRef, DSAStack, OMPC_to, MVLI, Locs.StartLoc,
22440 checkMappableExpressionList(SemaRef, DSAStack, OMPC_from, MVLI, Locs.StartLoc,
22764 Expr *Allocator, ArrayRef<Expr *> VarList, SourceLocation StartLoc,
22790 SemaRef.targetDiag(StartLoc, diag::err_expected_allocator_expression);
22822 return OMPAllocateClause::Create(getASTContext(), StartLoc, LParenLoc,
22827 SourceLocation StartLoc,
22861 return OMPNontemporalClause::Create(getASTContext(), StartLoc, LParenLoc,
22867 SourceLocation StartLoc,
22874 return OMPScopeDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses,
22879 SourceLocation StartLoc,
22915 return OMPInclusiveClause::Create(getASTContext(), StartLoc, LParenLoc,
22920 SourceLocation StartLoc,
22959 return OMPExclusiveClause::Create(getASTContext(), StartLoc, LParenLoc,
22979 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc,
22984 if (!findOMPAllocatorHandleT(SemaRef, StartLoc, DSAStack))
22991 !findOMPAlloctraitT(SemaRef, StartLoc, DSAStack))
23000 SemaRef.TUScope, AllocatorName, StartLoc, Sema::LookupAnyName));
23109 return OMPUsesAllocatorsClause::Create(getASTContext(), StartLoc, LParenLoc,
23114 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc,
23148 return OMPAffinityClause::Create(getASTContext(), StartLoc, LParenLoc,
23154 SourceLocation StartLoc,
23165 return OMPBindClause::Create(getASTContext(), Kind, KindLoc, StartLoc,
23170 SourceLocation StartLoc,
23195 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc);
23200 SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc,
23225 auto *C = OMPDoacrossClause::Create(getASTContext(), StartLoc, LParenLoc,
23234 SourceLocation StartLoc,
23238 OMPXAttributeClause(Attrs, StartLoc, LParenLoc, EndLoc);
23241 OMPClause *SemaOpenMP::ActOnOpenMPXBareClause(SourceLocation StartLoc,
23243 return new (getASTContext()) OMPXBareClause(StartLoc, EndLoc);
23517 SourceLocation StartLoc;
23524 StartLoc = D.DeclIdentLoc;
23527 StartLoc = TInfo->getTypeLoc().getBeginLoc();
23537 Diag(StartLoc, diag::err_omp_iterator_not_integral_or_pointer)
23545 Diag(StartLoc, diag::err_omp_iterator_not_integral_or_pointer)
23557 VarDecl::Create(Context, SemaRef.CurContext, StartLoc, D.DeclIdentLoc,