Lines Matching defs:CodeGenFunction

18 #include "CodeGenFunction.h"
51 class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo {
85 void EmitBody(CodeGenFunction &CGF, const Stmt *S) override;
89 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
91 virtual void emitUntiedSwitch(CodeGenFunction & /*CGF*/) {}
158 void Enter(CodeGenFunction &CGF) override {
176 void emitUntiedSwitch(CodeGenFunction &CGF) const {
184 CodeGenFunction::JumpDest CurPoint =
211 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
216 void emitUntiedSwitch(CodeGenFunction &CGF) override {
238 CGOpenMPInlinedRegionInfo(CodeGenFunction::CGCapturedStmtInfo *OldCSI,
284 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override {
297 void emitUntiedSwitch(CodeGenFunction &CGF) override {
302 CodeGenFunction::CGCapturedStmtInfo *getOldCSI() const { return OldCSI; }
313 CodeGenFunction::CGCapturedStmtInfo *OldCSI;
346 static void EmptyCodeGen(CodeGenFunction &, PrePostActionTy &) {
353 CGOpenMPInnerExprInfo(CodeGenFunction &CGF, const CapturedStmt &CS)
386 void EmitBody(CodeGenFunction &CGF, const Stmt *S) override {
405 CodeGenFunction::OMPPrivateScope PrivScope;
410 CodeGenFunction &CGF;
421 InlinedOpenMPRegionRAII(CodeGenFunction &CGF, const RegionCodeGenTy &CodeGen,
560 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
569 void RegionCodeGenTy::operator()(CodeGenFunction &CGF) const {
570 CodeGenFunction::RunCleanupsScope Scope(CGF);
593 static void emitInitWithReductionInitializer(CodeGenFunction &CGF,
609 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
614 CodeGenFunction::OpaqueValueMapping Map(CGF, OVE, Func);
634 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, &OVE, LV);
641 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, &OVE, InitRVal);
652 static void EmitOMPAggregateInit(CodeGenFunction &CGF, Address DestAddr,
705 CodeGenFunction::RunCleanupsScope InitScope(CGF);
736 LValue ReductionCodeGen::emitSharedLValue(CodeGenFunction &CGF, const Expr *E) {
740 LValue ReductionCodeGen::emitSharedLValueUB(CodeGenFunction &CGF,
748 CodeGenFunction &CGF, unsigned N, Address PrivateAddr, Address SharedAddr,
783 void ReductionCodeGen::emitSharedOrigLValue(CodeGenFunction &CGF, unsigned N) {
798 void ReductionCodeGen::emitAggregateType(CodeGenFunction &CGF, unsigned N) {
824 CodeGenFunction::OpaqueValueMapping OpaqueMap(
832 void ReductionCodeGen::emitAggregateType(CodeGenFunction &CGF, unsigned N,
841 CodeGenFunction::OpaqueValueMapping OpaqueMap(
850 CodeGenFunction &CGF, unsigned N, Address PrivateAddr, Address SharedAddr,
851 llvm::function_ref<bool(CodeGenFunction &)> DefaultInit) {
880 void ReductionCodeGen::emitCleanups(CodeGenFunction &CGF, unsigned N,
891 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy,
910 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy,
959 Address ReductionCodeGen::adjustPrivateAddress(CodeGenFunction &CGF, unsigned N,
992 LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) {
998 void CGOpenMPRegionInfo::EmitBody(CodeGenFunction &CGF, const Stmt *S) {
1014 CodeGenFunction &CGF) {
1099 CodeGenFunction CGF(CGM);
1104 CodeGenFunction::OMPPrivateScope Scope(CGF);
1128 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) {
1164 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF,
1187 CodeGenFunction::JumpDest Dest =
1212 CodeGenFunction CGF(CGM, true);
1239 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
1248 std::string CGOpenMPRuntime::getOutlinedHelperName(CodeGenFunction &CGF) const {
1258 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1268 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1282 auto &&UntiedCodeGen = [this, &D, TaskTVar](CodeGenFunction &CGF,
1314 CodeGenFunction CGF(CGM, true);
1317 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
1324 void CGOpenMPRuntime::setLocThreadIdInsertPt(CodeGenFunction &CGF,
1339 void CGOpenMPRuntime::clearLocThreadIdInsertPt(CodeGenFunction &CGF) {
1348 static StringRef getIdentStringFromSourceLocation(CodeGenFunction &CGF,
1361 llvm::Value *CGOpenMPRuntime::emitUpdateLocation(CodeGenFunction &CGF,
1386 llvm::Value *CGOpenMPRuntime::getThreadID(CodeGenFunction &CGF,
1388 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1454 void CGOpenMPRuntime::functionFinished(CodeGenFunction &CGF) {
1455 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1589 Address CGOpenMPRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF,
1612 CodeGenFunction &CGF, Address VDAddr, llvm::Value *Ctor,
1634 bool PerformInit, CodeGenFunction *CGF) {
1648 CodeGenFunction CtorCGF(CGM);
1680 CodeGenFunction DtorCGF(CGM);
1728 CodeGenFunction InitCGF(CGM);
1777 Address CGOpenMPRuntime::getAddrOfArtificialThreadPrivate(CodeGenFunction &CGF,
1810 void CGOpenMPRuntime::emitIfClause(CodeGenFunction &CGF, const Expr *Cond,
1813 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange());
1849 void CGOpenMPRuntime::emitParallelCall(CodeGenFunction &CGF, SourceLocation Loc,
1859 this](CodeGenFunction &CGF, PrePostActionTy &) {
1875 this](CodeGenFunction &CGF, PrePostActionTy &) {
1927 Address CGOpenMPRuntime::emitThreadIDAddress(CodeGenFunction &CGF,
1967 void Enter(CodeGenFunction &CGF) override {
1978 void Done(CodeGenFunction &CGF) {
1983 void Exit(CodeGenFunction &CGF) override {
1989 void CGOpenMPRuntime::emitCriticalRegion(CodeGenFunction &CGF,
2019 void CGOpenMPRuntime::emitMasterRegion(CodeGenFunction &CGF,
2042 void CGOpenMPRuntime::emitMaskedRegion(CodeGenFunction &CGF,
2071 void CGOpenMPRuntime::emitTaskyieldCall(CodeGenFunction &CGF,
2091 void CGOpenMPRuntime::emitTaskgroupRegion(CodeGenFunction &CGF,
2113 static Address emitAddrOfVarFromArray(CodeGenFunction &CGF, Address Array,
2146 CodeGenFunction CGF(CGM);
2179 void CGOpenMPRuntime::emitSingleRegion(CodeGenFunction &CGF,
2266 void CGOpenMPRuntime::emitOrderedRegion(CodeGenFunction &CGF,
2306 CodeGenFunction &CGF, const OMPLoopDirective &S,
2323 void CGOpenMPRuntime::emitBarrierCall(CodeGenFunction &CGF, SourceLocation Loc,
2362 CodeGenFunction::JumpDest CancelDestination =
2375 void CGOpenMPRuntime::emitErrorCall(CodeGenFunction &CGF, SourceLocation Loc,
2505 CodeGenFunction &CGF, SourceLocation Loc,
2538 void CGOpenMPRuntime::emitForDispatchDeinit(CodeGenFunction &CGF,
2548 CodeGenFunction &CGF, llvm::Value *UpdateLocation, llvm::Value *ThreadId,
2596 void CGOpenMPRuntime::emitForStaticInit(CodeGenFunction &CGF,
2619 CodeGenFunction &CGF, SourceLocation Loc,
2639 void CGOpenMPRuntime::emitForStaticFinish(CodeGenFunction &CGF,
2671 void CGOpenMPRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF,
2683 llvm::Value *CGOpenMPRuntime::emitForNext(CodeGenFunction &CGF,
2706 void CGOpenMPRuntime::emitNumThreadsClause(CodeGenFunction &CGF,
2720 void CGOpenMPRuntime::emitProcBindClause(CodeGenFunction &CGF,
2735 void CGOpenMPRuntime::emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *>,
2998 CodeGenFunction CGF(CGM);
3103 CodeGenFunction CGF(CGM);
3211 CodeGenFunction CGF(CGM);
3236 static void emitPrivatesInit(CodeGenFunction &CGF,
3250 CodeGenFunction::CGCapturedStmtInfo CapturesInfo(CS);
3310 CGF, [](CodeGenFunction &, PrePostActionTy &) {}, OMPD_unknown,
3327 CodeGenFunction::OMPPrivateScope InitScope(CGF);
3331 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(
3339 CodeGenFunction::OMPPrivateScope InitScope(CGF);
3342 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CapturesInfo);
3355 static bool checkInitIsRequired(CodeGenFunction &CGF,
3411 CodeGenFunction CGF(CGM);
3469 : public CodeGenFunction::OMPPrivateScope {
3470 CodeGenFunction &CGF;
3472 SmallVector<CodeGenFunction::JumpDest, 4> ContDests;
3473 SmallVector<CodeGenFunction::JumpDest, 4> ExitDests;
3478 OMPIteratorGeneratorScope(CodeGenFunction &CGF, const OMPIteratorExpr *E)
3479 : CodeGenFunction::OMPPrivateScope(CGF), CGF(CGF), E(E) {
3503 CodeGenFunction::JumpDest &ContDest =
3505 CodeGenFunction::JumpDest &ExitDest =
3543 getPointerAndSize(CodeGenFunction &CGF, const Expr *E) {
3594 CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
3809 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, OVE,
4027 CGOpenMPRuntime::getDepobjElements(CodeGenFunction &CGF, LValue DepobjLVal,
4053 static void emitDependData(CodeGenFunction &CGF, QualType &KmpDependInfoTy,
4125 CodeGenFunction &CGF, QualType &KmpDependInfoTy,
4162 void CGOpenMPRuntime::emitDepobjElements(CodeGenFunction &CGF,
4200 CodeGenFunction &CGF, ArrayRef<OMPTaskDataTy::DependData> Dependencies,
4272 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, OVE,
4329 CodeGenFunction &CGF, const OMPTaskDataTy::DependData &Dependencies,
4415 void CGOpenMPRuntime::emitDestroyClause(CodeGenFunction &CGF, LValue DepobjLVal,
4442 void CGOpenMPRuntime::emitUpdateClause(CodeGenFunction &CGF, LValue DepobjLVal,
4491 void CGOpenMPRuntime::emitTaskCall(CodeGenFunction &CGF, SourceLocation Loc,
4533 &DepTaskArgs](CodeGenFunction &CGF, PrePostActionTy &) {
4569 Loc](CodeGenFunction &CGF, PrePostActionTy &) {
4570 CodeGenFunction::RunCleanupsScope LocalScope(CGF);
4581 Loc](CodeGenFunction &CGF, PrePostActionTy &Action) {
4611 void CGOpenMPRuntime::emitTaskLoopCall(CodeGenFunction &CGF, SourceLocation Loc,
4710 CodeGenFunction &CGF, QualType Type, const VarDecl *LHSVar,
4712 const llvm::function_ref<void(CodeGenFunction &CGF, const Expr *,
4758 CodeGenFunction::OMPPrivateScope Scope(CGF);
4786 static void emitReductionCombiner(CodeGenFunction &CGF,
4797 CodeGenFunction::OpaqueValueMapping Map(CGF, OVE, Func);
4826 CodeGenFunction CGF(CGM);
4843 CodeGenFunction::OMPPrivateScope Scope(CGF);
4862 CodeGenFunction::OpaqueValueMapping OpaqueMap(
4878 [=](CodeGenFunction &CGF, const Expr *, const Expr *, const Expr *) {
4894 void CGOpenMPRuntime::emitSingleReductionCombiner(CodeGenFunction &CGF,
4905 [=](CodeGenFunction &CGF, const Expr *, const Expr *, const Expr *) {
4914 void CGOpenMPRuntime::emitReduction(CodeGenFunction &CGF, SourceLocation Loc,
4964 CodeGenFunction::RunCleanupsScope Scope(CGF);
5067 CodeGenFunction &CGF, PrePostActionTy &Action) {
5102 CodeGenFunction &CGF, PrePostActionTy &Action) {
5136 Loc](CodeGenFunction &CGF, const Expr *XExpr,
5146 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
5168 auto &&CritRedGen = [E, Loc](CodeGenFunction &CGF, const Expr *,
5174 [=](CodeGenFunction &CGF, PrePostActionTy &Action) {
5265 CodeGenFunction CGF(CGM);
5296 [](CodeGenFunction &) { return false; });
5335 CodeGenFunction CGF(CGM);
5351 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
5403 CodeGenFunction CGF(CGM);
5426 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> LHSExprs,
5550 void CGOpenMPRuntime::emitTaskReductionFini(CodeGenFunction &CGF,
5568 void CGOpenMPRuntime::emitTaskReductionFixups(CodeGenFunction &CGF,
5585 Address CGOpenMPRuntime::getTaskReductionItem(CodeGenFunction &CGF,
5605 void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF, SourceLocation Loc,
5632 CodeGenFunction::RunCleanupsScope LocalScope(CGF);
5658 void CGOpenMPRuntime::emitInlinedDirective(CodeGenFunction &CGF,
5697 CodeGenFunction &CGF, SourceLocation Loc,
5728 CodeGenFunction::JumpDest CancelDest =
5736 void CGOpenMPRuntime::emitCancelCall(CodeGenFunction &CGF, SourceLocation Loc,
5747 OMPRegionInfo](CodeGenFunction &CGF, PrePostActionTy &) {
5767 CodeGenFunction::JumpDest CancelDest =
5774 [](CodeGenFunction &, PrePostActionTy &) {});
5791 void Enter(CodeGenFunction &CGF) override {
5799 void Exit(CodeGenFunction &CGF) override {
5831 void CGOpenMPRuntime::emitUsesAllocatorsInit(CodeGenFunction &CGF,
5865 void CGOpenMPRuntime::emitUsesAllocatorsFini(CodeGenFunction &CGF,
5882 const OMPExecutableDirective &D, CodeGenFunction &CGF,
5928 CodeGenFunction CGF(CGM, true);
5934 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6008 CodeGenFunction &CGF, const OMPExecutableDirective &D, int32_t &MinTeamsVal,
6136 CodeGenFunction &CGF, const OMPExecutableDirective &D) {
6151 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6162 CodeGenFunction::RunCleanupsScope NumTeamsScope(CGF);
6181 static void getNumThreads(CodeGenFunction &CGF, const CapturedStmt *CS,
6195 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6213 CodeGenFunction::LexicalScope Scope(CGF, CondExpr->getSourceRange());
6220 CodeGenFunction::AutoVarEmission Emission =
6234 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6251 CodeGenFunction::LexicalScope Scope(CGF, NTExpr->getSourceRange());
6258 CodeGenFunction::AutoVarEmission Emission =
6273 CodeGenFunction &CGF, const OMPExecutableDirective &D, int32_t &UpperBound,
6319 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6320 CodeGenFunction::LexicalScope Scope(
6329 CodeGenFunction::AutoVarEmission Emission =
6359 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6378 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6409 CodeGenFunction::RunCleanupsScope Scope(CGF);
6415 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6421 CodeGenFunction::RunCleanupsScope NumThreadsScope(CGF);
6438 CodeGenFunction &CGF, const OMPExecutableDirective &D) {
6478 CodeGenFunction::RunCleanupsScope Scope(CGF);
6623 CodeGenFunction &CGF;
7225 auto &&EmitMemberExprBase = [](CodeGenFunction &CGF,
7883 CodeGenFunction &CGF, bool IsDevAddr) {
7899 &InfoGen](CodeGenFunction &CGF, const Expr *IE, const ValueDecl *VD,
7932 auto &&IsMapInfoExist = [&Info](CodeGenFunction &CGF, const ValueDecl *VD,
8178 MappableExprsHandler(const OMPExecutableDirective &Dir, CodeGenFunction &CGF)
8224 MappableExprsHandler(const OMPDeclareMapperDecl &Dir, CodeGenFunction &CGF)
8830 emitMappingInformation(CodeGenFunction &CGF, llvm::OpenMPIRBuilder &OMPBuilder,
8865 CodeGenFunction &CGF, MappableExprsHandler::MapCombinedInfoTy &CombinedInfo,
9041 CodeGenFunction *CGF) {
9051 CodeGenFunction MapperCGF(CGM);
9065 CodeGenFunction::OMPPrivateScope Scope(MapperCGF);
9119 CodeGenFunction &CGF, const OMPExecutableDirective &D,
9120 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9144 bool OffloadingMandatory, CodeGenFunction &CGF) {
9159 CodeGenFunction &CGF) {
9176 CodeGenFunction &CGF) {
9180 CodeGenFunction::RunCleanupsScope DynCGroupMemScope(CGF);
9189 MappableExprsHandler &MEHandler, CodeGenFunction &CGF,
9263 genMapInfo(MappableExprsHandler &MEHandler, CodeGenFunction &CGF,
9285 static void genMapInfo(const OMPExecutableDirective &D, CodeGenFunction &CGF,
9301 emitClauseForBareTargetDirective(CodeGenFunction &CGF,
9307 CodeGenFunction::RunCleanupsScope Scope(CGF);
9321 llvm::Value *OutlinedFnID, CodeGenFunction::OMPTargetDataInfo &InputInfo,
9323 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9326 CodeGenFunction &CGF, CodeGenModule &CGM) {
9352 SizeEmitter](CodeGenFunction &CGF, PrePostActionTy &) {
9431 bool OffloadingMandatory, CodeGenFunction &CGF) {
9436 OffloadingMandatory](CodeGenFunction &CGF, PrePostActionTy &) {
9442 CodeGenFunction::OMPTargetDataInfo InputInfo;
9450 CodeGenFunction &CGF, const OMPExecutableDirective &D,
9453 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9473 auto &&ArgsCodegen = [&CS, &CapturedVars](CodeGenFunction &CGF,
9479 CodeGenFunction::OMPTargetDataInfo InputInfo;
9486 &MapNamesArray, SizeEmitter](CodeGenFunction &CGF,
9496 OffloadingMandatory](CodeGenFunction &CGF, PrePostActionTy &) {
9542 CodeGenFunction::EmitOMPTargetDeviceFunction(CGM, ParentName,
9546 CodeGenFunction::EmitOMPTargetParallelDeviceFunction(
9550 CodeGenFunction::EmitOMPTargetTeamsDeviceFunction(
9554 CodeGenFunction::EmitOMPTargetTeamsDistributeDeviceFunction(
9558 CodeGenFunction::EmitOMPTargetTeamsDistributeSimdDeviceFunction(
9562 CodeGenFunction::EmitOMPTargetParallelForDeviceFunction(
9566 CodeGenFunction::EmitOMPTargetParallelForSimdDeviceFunction(
9570 CodeGenFunction::EmitOMPTargetSimdDeviceFunction(
9574 CodeGenFunction::EmitOMPTargetTeamsDistributeParallelForDeviceFunction(
9579 CodeGenFunction::
9585 CodeGenFunction::EmitOMPTargetTeamsGenericLoopDeviceFunction(
9589 CodeGenFunction::EmitOMPTargetParallelGenericLoopDeviceFunction(
9830 CodeGenFunction &CGF, const OMPExecutableDirective &D) const {
9926 void CGOpenMPRuntime::emitTeamsCall(CodeGenFunction &CGF,
9935 CodeGenFunction::RunCleanupsScope Scope(CGF);
9951 void CGOpenMPRuntime::emitNumTeamsClause(CodeGenFunction &CGF,
9980 void CGOpenMPRuntime::emitThreadLimitClause(CodeGenFunction &CGF,
9999 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
10102 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
10112 CodeGenFunction::OMPTargetDataInfo InputInfo;
10117 &MapNamesArray](CodeGenFunction &CGF, PrePostActionTy &) {
10240 &MapNamesArray](CodeGenFunction &CGF,
10272 [](CodeGenFunction &CGF, PrePostActionTy &) {});
10884 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
10892 void CGOpenMPRuntime::emitDoacrossInit(CodeGenFunction &CGF,
10964 static void EmitDoacrossOrdered(CodeGenFunction &CGF, CodeGenModule &CGM,
10999 void CGOpenMPRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
11006 void CGOpenMPRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
11013 void CGOpenMPRuntime::emitCall(CodeGenFunction &CGF, SourceLocation Loc,
11029 CodeGenFunction &CGF, SourceLocation Loc, llvm::FunctionCallee OutlinedFn,
11034 void CGOpenMPRuntime::emitFunctionProlog(CodeGenFunction &CGF, const Decl *D) {
11040 Address CGOpenMPRuntime::getParameterAddress(CodeGenFunction &CGF,
11048 static llvm::Value *getAllocatorVal(CodeGenFunction &CGF,
11076 Address CGOpenMPRuntime::getAddressOfLocalVariable(CodeGenFunction &CGF,
11147 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
11176 bool CGOpenMPRuntime::isLocalVarInUntiedTask(CodeGenFunction &CGF,
11217 CodeGenFunction &CGF,
11322 CodeGenFunction &CGF, const OMPExecutableDirective &S, LValue IVLVal)
11354 CodeGenFunction &CGF, const OMPExecutableDirective &S)
11374 CodeGenFunction &CGF, const OMPExecutableDirective &S) {
11394 Address CGOpenMPRuntime::emitLastprivateConditionalInit(CodeGenFunction &CGF,
11458 if (!CodeGenFunction::IsWrappedCXXThis(E->getBase()))
11498 void CGOpenMPRuntime::emitLastprivateConditionalUpdate(CodeGenFunction &CGF,
11532 Loc](CodeGenFunction &CGF, PrePostActionTy &Action) {
11562 CodeGenFunction::ComplexPairTy PrivVal = CGF.EmitLoadOfComplex(LVal, Loc);
11586 void CGOpenMPRuntime::checkAndEmitLastprivateConditional(CodeGenFunction &CGF,
11631 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11681 CodeGenFunction &CGF, LValue PrivLVal, const VarDecl *VD,
11700 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11707 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11721 void CGOpenMPSIMDRuntime::emitParallelCall(CodeGenFunction &CGF,
11731 CodeGenFunction &CGF, StringRef CriticalName,
11737 void CGOpenMPSIMDRuntime::emitMasterRegion(CodeGenFunction &CGF,
11743 void CGOpenMPSIMDRuntime::emitMaskedRegion(CodeGenFunction &CGF,
11750 void CGOpenMPSIMDRuntime::emitTaskyieldCall(CodeGenFunction &CGF,
11756 CodeGenFunction &CGF, const RegionCodeGenTy &TaskgroupOpGen,
11762 CodeGenFunction &CGF, const RegionCodeGenTy &SingleOpGen,
11769 void CGOpenMPSIMDRuntime::emitOrderedRegion(CodeGenFunction &CGF,
11776 void CGOpenMPSIMDRuntime::emitBarrierCall(CodeGenFunction &CGF,
11785 CodeGenFunction &CGF, SourceLocation Loc,
11791 void CGOpenMPSIMDRuntime::emitForDispatchDeinit(CodeGenFunction &CGF,
11797 CodeGenFunction &CGF, SourceLocation Loc, OpenMPDirectiveKind DKind,
11803 CodeGenFunction &CGF, SourceLocation Loc,
11808 void CGOpenMPSIMDRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF,
11815 void CGOpenMPSIMDRuntime::emitForStaticFinish(CodeGenFunction &CGF,
11821 llvm::Value *CGOpenMPSIMDRuntime::emitForNext(CodeGenFunction &CGF,
11829 void CGOpenMPSIMDRuntime::emitNumThreadsClause(CodeGenFunction &CGF,
11835 void CGOpenMPSIMDRuntime::emitProcBindClause(CodeGenFunction &CGF,
11841 Address CGOpenMPSIMDRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF,
11850 CodeGenFunction *CGF) {
11855 CodeGenFunction &CGF, QualType VarType, StringRef Name) {
11859 void CGOpenMPSIMDRuntime::emitFlush(CodeGenFunction &CGF,
11866 void CGOpenMPSIMDRuntime::emitTaskCall(CodeGenFunction &CGF, SourceLocation Loc,
11876 CodeGenFunction &CGF, SourceLocation Loc, const OMPLoopDirective &D,
11883 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> Privates,
11892 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> LHSExprs,
11897 void CGOpenMPSIMDRuntime::emitTaskReductionFini(CodeGenFunction &CGF,
11903 void CGOpenMPSIMDRuntime::emitTaskReductionFixups(CodeGenFunction &CGF,
11910 Address CGOpenMPSIMDRuntime::getTaskReductionItem(CodeGenFunction &CGF,
11917 void CGOpenMPSIMDRuntime::emitTaskwaitCall(CodeGenFunction &CGF,
11924 CodeGenFunction &CGF, SourceLocation Loc,
11929 void CGOpenMPSIMDRuntime::emitCancelCall(CodeGenFunction &CGF,
11943 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11946 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
11964 void CGOpenMPSIMDRuntime::emitTeamsCall(CodeGenFunction &CGF,
11972 void CGOpenMPSIMDRuntime::emitNumTeamsClause(CodeGenFunction &CGF,
11980 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
11987 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
11992 void CGOpenMPSIMDRuntime::emitDoacrossInit(CodeGenFunction &CGF,
11998 void CGOpenMPSIMDRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
12003 void CGOpenMPSIMDRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
12015 CGOpenMPSIMDRuntime::getParameterAddress(CodeGenFunction &CGF,