reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/Stmt.cpp
  256     return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1492     llvm::Value *ThreadID = getThreadID(CGF, D.getBeginLoc());
 1493     llvm::Value *UpLoc = emitUpdateLocation(CGF, D.getBeginLoc());
 6487   getTargetEntryUniqueInfo(CGM.getContext(), D.getBeginLoc(), DeviceID, FileID,
 9296     emitOutlinedFunctionCall(CGF, D.getBeginLoc(), OutlinedFn, CapturedVars);
 9310     emitOutlinedFunctionCall(CGF, D.getBeginLoc(), OutlinedFn, CapturedVars);
 9453     getTargetEntryUniqueInfo(CGM.getContext(), E.getBeginLoc(), DeviceID,
10859       emitUpdateLocation(CGF, D.getBeginLoc()),
10860       getThreadID(CGF, D.getBeginLoc()),
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1146   WorkerFunctionState WST(CGM, D.getBeginLoc());
 2036   SourceLocation Loc = D.getBeginLoc();
 4549   ImplicitParamDecl ParallelLevelArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(),
 4552   ImplicitParamDecl WrapperArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(),
 4570                     D.getBeginLoc(), D.getBeginLoc());
 4570                     D.getBeginLoc(), D.getBeginLoc());
 4651   emitOutlinedFunctionCall(CGF, D.getBeginLoc(), OutlinedParallelFn, Args);
 4826         S.getIterationVariable()->getType(), S.getBeginLoc());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1307   CGF.CGM.getOpenMPRuntime().emitParallelCall(CGF, S.getBeginLoc(), OutlinedFn,
 1327           CGF, S.getBeginLoc(), OMPD_unknown, /*EmitChecks=*/false,
 1898         RT.emitForNext(*this, S.getBeginLoc(), IVSize, IVSigned, LoopArgs.IL,
 1932   SourceLocation Loc = S.getBeginLoc();
 2047     RT.emitForDispatchInit(*this, S.getBeginLoc(), ScheduleKind, IVSize,
 2053     RT.emitForStaticInit(*this, S.getBeginLoc(), S.getDirectiveKind(),
 2099   RT.emitDistributeStaticInit(*this, S.getBeginLoc(), ScheduleKind, StaticInit);
 2195       CGF.EmitLoadOfScalar(LB, /*Volatile=*/false, IteratorTy, S.getBeginLoc());
 2197       CGF.EmitLoadOfScalar(UB, /*Volatile=*/false, IteratorTy, S.getBeginLoc());
 2383             *this, S.getBeginLoc(), OMPD_unknown, /*EmitChecks=*/false,
 2414                                      S.getBeginLoc());
 2445         RT.emitForStaticInit(*this, S.getBeginLoc(), S.getDirectiveKind(),
 2499               CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 2510                 CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 2516             Builder.CreateIsNotNull(EmitLoadOfScalar(IL, S.getBeginLoc())));
 2520           CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 2577     CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(), OMPD_for);
 2595     CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(), OMPD_for);
 2630     OpaqueValueExpr IVRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 2632     OpaqueValueExpr UBRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 2636                         OK_Ordinary, S.getBeginLoc(), FPOptions());
 2639                       S.getBeginLoc(), true);
 2654           CGF.Builder.CreateSwitch(CGF.EmitLoadOfScalar(IV, S.getBeginLoc()),
 2682           CGF, S.getBeginLoc(), OMPD_unknown, /*EmitChecks=*/false,
 2699         CGF, S.getBeginLoc(), S.getDirectiveKind(), ScheduleKind, StaticInit);
 2701     llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, S.getBeginLoc());
 2706     CGF.EmitStoreOfScalar(CGF.EmitLoadOfScalar(LB, S.getBeginLoc()), IV);
 2720           CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 2728               CGF.EmitLoadOfScalar(IL, S.getBeginLoc())));
 2745     CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(),
 2757     CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(),
 2799     CGM.getOpenMPRuntime().emitSingleRegion(*this, CodeGen, S.getBeginLoc(),
 2807         *this, S.getBeginLoc(),
 2818   CGM.getOpenMPRuntime().emitMasterRegion(*this, CodeGen, S.getBeginLoc());
 2832                                             CodeGen, S.getBeginLoc(), Hint);
 2975       *this, S.getBeginLoc(), LHSs, RHSs, Data);
 3022           CGF, S.getBeginLoc(), {CopyFnTy, CopyFn}, CallArgs);
 3052         CGF.CGM.getOpenMPRuntime().emitTaskReductionFixups(CGF, S.getBeginLoc(),
 3055             CGF, S.getBeginLoc(), ReductionsPtr, RedCG.getSharedLValue(Cnt));
 3101         CGF.CGM.getOpenMPRuntime().emitTaskReductionFixups(CGF, S.getBeginLoc(),
 3107             CGF, S.getBeginLoc(), ReductionsPtr, RedCG.getSharedLValue(Cnt));
 3199         getContext(), Data, BaseAndPointersType, CD, S.getBeginLoc());
 3201         getContext(), Data, BaseAndPointersType, CD, S.getBeginLoc());
 3207                                             S.getBeginLoc());
 3245           CGF, S.getBeginLoc(), {CopyFnTy, CopyFn}, CallArgs);
 3275   CGM.getOpenMPRuntime().emitTaskCall(*this, S.getBeginLoc(), S, OutlinedFn,
 3302     CGF.CGM.getOpenMPRuntime().emitTaskCall(CGF, S.getBeginLoc(), S, OutlinedFn,
 3311   CGM.getOpenMPRuntime().emitTaskyieldCall(*this, S.getBeginLoc());
 3315   CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(), OMPD_barrier);
 3319   CGM.getOpenMPRuntime().emitTaskwaitCall(*this, S.getBeginLoc());
 3348           CGF.CGM.getOpenMPRuntime().emitTaskReductionInit(CGF, S.getBeginLoc(),
 3358   CGM.getOpenMPRuntime().emitTaskgroupRegion(*this, CodeGen, S.getBeginLoc());
 3370       S.getBeginLoc());
 3439             *this, S.getBeginLoc(), OMPD_unknown, /*EmitChecks=*/false,
 3462                                        S.getBeginLoc());
 3492         RT.emitDistributeStaticInit(*this, S.getBeginLoc(), ScheduleKind,
 3551         RT.emitForStaticFinish(*this, S.getBeginLoc(), S.getDirectiveKind());
 3564               CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 3575                   CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 3582             Builder.CreateIsNotNull(EmitLoadOfScalar(IL, S.getBeginLoc())));
 3629       CGM.getOpenMPRuntime().emitOutlinedFunctionCall(CGF, S.getBeginLoc(),
 3637   CGM.getOpenMPRuntime().emitOrderedRegion(*this, CodeGen, S.getBeginLoc(), !C);
 4108                       S.isXLHSInRHSPart(), S.getBeginLoc());
 4243                                                   S.getBeginLoc());
 4249   CGF.CGM.getOpenMPRuntime().emitTeamsCall(CGF, S, S.getBeginLoc(), OutlinedFn,
 4602   CGM.getOpenMPRuntime().emitCancellationPointCall(*this, S.getBeginLoc(),
 4615   CGM.getOpenMPRuntime().emitCancelCall(*this, S.getBeginLoc(), IfCond,
 5074               (*LIP)->getType(), S.getBeginLoc())));
 5083       CGF.CGM.getOpenMPRuntime().emitTaskLoopCall(CGF, S.getBeginLoc(), S,
 5101         S.getBeginLoc());
 5121   CGM.getOpenMPRuntime().emitMasterRegion(*this, CodeGen, S.getBeginLoc());
 5131   CGM.getOpenMPRuntime().emitMasterRegion(*this, CodeGen, S.getBeginLoc());
 5144                                             S.getBeginLoc());
tools/clang/lib/Sema/SemaOpenMP.cpp
 7900         Diag(Pair.first->getBeginLoc(), diag::note_omp_critical_no_hint) << 1;
tools/clang/lib/Sema/TreeTransform.h
 7925       AssociatedStmt.get(), D->getBeginLoc(), D->getEndLoc());
 7933                                              D->getBeginLoc());
 7944                                              D->getBeginLoc());
 7955                                              D->getBeginLoc());
 7966                                              D->getBeginLoc());
 7977                                              D->getBeginLoc());
 7988                                              D->getBeginLoc());
 7999                                              D->getBeginLoc());
 8010                                              D->getBeginLoc());
 8020       OMPD_critical, D->getDirectiveName(), nullptr, D->getBeginLoc());
 8031                                              nullptr, D->getBeginLoc());
 8042                                              nullptr, D->getBeginLoc());
 8053                                              nullptr, D->getBeginLoc());
 8064                                              D->getBeginLoc());
 8075                                              D->getBeginLoc());
 8086                                              D->getBeginLoc());
 8097                                              D->getBeginLoc());
 8108                                              D->getBeginLoc());
 8119                                              D->getBeginLoc());
 8130                                              D->getBeginLoc());
 8141                                              D->getBeginLoc());
 8152                                              D->getBeginLoc());
 8163                                              D->getBeginLoc());
 8174                                              nullptr, D->getBeginLoc());
 8185                                              nullptr, D->getBeginLoc());
 8196                                              nullptr, D->getBeginLoc());
 8207                                              nullptr, D->getBeginLoc());
 8218                                              nullptr, D->getBeginLoc());
 8229                                              D->getBeginLoc());
 8240                                              nullptr, D->getBeginLoc());
 8251                                              D->getBeginLoc());
 8262                                              D->getBeginLoc());
 8273                                              nullptr, D->getBeginLoc());
 8284                                              nullptr, D->getBeginLoc());
 8295                                              nullptr, D->getBeginLoc());
 8306       OMPD_parallel_master_taskloop, DirName, nullptr, D->getBeginLoc());
 8317                                              D->getBeginLoc());
 8328       OMPD_distribute_parallel_for, DirName, nullptr, D->getBeginLoc());
 8340       OMPD_distribute_parallel_for_simd, DirName, nullptr, D->getBeginLoc());
 8351                                              nullptr, D->getBeginLoc());
 8362       OMPD_target_parallel_for_simd, DirName, nullptr, D->getBeginLoc());
 8373                                              D->getBeginLoc());
 8384                                              nullptr, D->getBeginLoc());
 8395       OMPD_teams_distribute_simd, DirName, nullptr, D->getBeginLoc());
 8407       D->getBeginLoc());
 8418       OMPD_teams_distribute_parallel_for, DirName, nullptr, D->getBeginLoc());
 8429                                              nullptr, D->getBeginLoc());
 8440       OMPD_target_teams_distribute, DirName, nullptr, D->getBeginLoc());
 8453       D->getBeginLoc());
 8466       D->getBeginLoc());
 8478       OMPD_target_teams_distribute_simd, DirName, nullptr, D->getBeginLoc());
tools/clang/lib/Serialization/ASTWriterStmt.cpp
 1959   Record.AddSourceLocation(E->getBeginLoc());
tools/clang/tools/extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp
   46     diag(Directive->getBeginLoc(),
   57   diag(Directive->getBeginLoc(),