Lines Matching defs:CodeGenFunction

18 #include "CodeGenFunction.h"
56 class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo {
90 void EmitBody(CodeGenFunction &CGF, const Stmt *S) override;
94 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
96 virtual void emitUntiedSwitch(CodeGenFunction & /*CGF*/) {}
163 void Enter(CodeGenFunction &CGF) override {
181 void emitUntiedSwitch(CodeGenFunction &CGF) const {
189 CodeGenFunction::JumpDest CurPoint =
216 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
221 void emitUntiedSwitch(CodeGenFunction &CGF) override {
243 CGOpenMPInlinedRegionInfo(CodeGenFunction::CGCapturedStmtInfo *OldCSI,
289 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override {
302 void emitUntiedSwitch(CodeGenFunction &CGF) override {
307 CodeGenFunction::CGCapturedStmtInfo *getOldCSI() const { return OldCSI; }
318 CodeGenFunction::CGCapturedStmtInfo *OldCSI;
351 static void EmptyCodeGen(CodeGenFunction &, PrePostActionTy &) {
358 CGOpenMPInnerExprInfo(CodeGenFunction &CGF, const CapturedStmt &CS)
391 void EmitBody(CodeGenFunction &CGF, const Stmt *S) override {
410 CodeGenFunction::OMPPrivateScope PrivScope;
415 CodeGenFunction &CGF;
426 InlinedOpenMPRegionRAII(CodeGenFunction &CGF, const RegionCodeGenTy &CodeGen,
565 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
574 void RegionCodeGenTy::operator()(CodeGenFunction &CGF) const {
575 CodeGenFunction::RunCleanupsScope Scope(CGF);
598 static void emitInitWithReductionInitializer(CodeGenFunction &CGF,
614 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
619 CodeGenFunction::OpaqueValueMapping Map(CGF, OVE, Func);
639 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, &OVE, LV);
646 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, &OVE, InitRVal);
657 static void EmitOMPAggregateInit(CodeGenFunction &CGF, Address DestAddr,
710 CodeGenFunction::RunCleanupsScope InitScope(CGF);
741 LValue ReductionCodeGen::emitSharedLValue(CodeGenFunction &CGF, const Expr *E) {
745 LValue ReductionCodeGen::emitSharedLValueUB(CodeGenFunction &CGF,
753 CodeGenFunction &CGF, unsigned N, Address PrivateAddr, Address SharedAddr,
788 void ReductionCodeGen::emitSharedOrigLValue(CodeGenFunction &CGF, unsigned N) {
803 void ReductionCodeGen::emitAggregateType(CodeGenFunction &CGF, unsigned N) {
829 CodeGenFunction::OpaqueValueMapping OpaqueMap(
837 void ReductionCodeGen::emitAggregateType(CodeGenFunction &CGF, unsigned N,
846 CodeGenFunction::OpaqueValueMapping OpaqueMap(
855 CodeGenFunction &CGF, unsigned N, Address PrivateAddr, Address SharedAddr,
856 llvm::function_ref<bool(CodeGenFunction &)> DefaultInit) {
885 void ReductionCodeGen::emitCleanups(CodeGenFunction &CGF, unsigned N,
896 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy,
915 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy,
964 Address ReductionCodeGen::adjustPrivateAddress(CodeGenFunction &CGF, unsigned N,
997 LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) {
1003 void CGOpenMPRegionInfo::EmitBody(CodeGenFunction &CGF, const Stmt *S) {
1019 CodeGenFunction &CGF) {
1104 CodeGenFunction CGF(CGM);
1109 CodeGenFunction::OMPPrivateScope Scope(CGF);
1133 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) {
1171 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF,
1194 CodeGenFunction::JumpDest Dest =
1218 CodeGenFunction CGF(CGM, true);
1245 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
1254 std::string CGOpenMPRuntime::getOutlinedHelperName(CodeGenFunction &CGF) const {
1264 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1274 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1288 auto &&UntiedCodeGen = [this, &D, TaskTVar](CodeGenFunction &CGF,
1320 CodeGenFunction CGF(CGM, true);
1323 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
1330 void CGOpenMPRuntime::setLocThreadIdInsertPt(CodeGenFunction &CGF,
1346 void CGOpenMPRuntime::clearLocThreadIdInsertPt(CodeGenFunction &CGF) {
1355 static StringRef getIdentStringFromSourceLocation(CodeGenFunction &CGF,
1368 llvm::Value *CGOpenMPRuntime::emitUpdateLocation(CodeGenFunction &CGF,
1393 llvm::Value *CGOpenMPRuntime::getThreadID(CodeGenFunction &CGF,
1395 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1463 void CGOpenMPRuntime::functionFinished(CodeGenFunction &CGF) {
1464 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1598 Address CGOpenMPRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF,
1621 CodeGenFunction &CGF, Address VDAddr, llvm::Value *Ctor,
1643 bool PerformInit, CodeGenFunction *CGF) {
1657 CodeGenFunction CtorCGF(CGM);
1689 CodeGenFunction DtorCGF(CGM);
1747 CodeGenFunction InitCGF(CGM);
1796 Address CGOpenMPRuntime::getAddrOfArtificialThreadPrivate(CodeGenFunction &CGF,
1829 void CGOpenMPRuntime::emitIfClause(CodeGenFunction &CGF, const Expr *Cond,
1832 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange());
1868 void CGOpenMPRuntime::emitParallelCall(CodeGenFunction &CGF, SourceLocation Loc,
1878 this](CodeGenFunction &CGF, PrePostActionTy &) {
1894 this](CodeGenFunction &CGF, PrePostActionTy &) {
1946 Address CGOpenMPRuntime::emitThreadIDAddress(CodeGenFunction &CGF,
1986 void Enter(CodeGenFunction &CGF) override {
1997 void Done(CodeGenFunction &CGF) {
2002 void Exit(CodeGenFunction &CGF) override {
2008 void CGOpenMPRuntime::emitCriticalRegion(CodeGenFunction &CGF,
2038 void CGOpenMPRuntime::emitMasterRegion(CodeGenFunction &CGF,
2061 void CGOpenMPRuntime::emitMaskedRegion(CodeGenFunction &CGF,
2090 void CGOpenMPRuntime::emitTaskyieldCall(CodeGenFunction &CGF,
2110 void CGOpenMPRuntime::emitTaskgroupRegion(CodeGenFunction &CGF,
2132 static Address emitAddrOfVarFromArray(CodeGenFunction &CGF, Address Array,
2168 CodeGenFunction CGF(CGM);
2201 void CGOpenMPRuntime::emitSingleRegion(CodeGenFunction &CGF,
2288 void CGOpenMPRuntime::emitOrderedRegion(CodeGenFunction &CGF,
2328 CodeGenFunction &CGF, const OMPLoopDirective &S,
2345 void CGOpenMPRuntime::emitBarrierCall(CodeGenFunction &CGF, SourceLocation Loc,
2382 CodeGenFunction::JumpDest CancelDestination =
2395 void CGOpenMPRuntime::emitErrorCall(CodeGenFunction &CGF, SourceLocation Loc,
2525 CodeGenFunction &CGF, SourceLocation Loc,
2558 void CGOpenMPRuntime::emitForDispatchDeinit(CodeGenFunction &CGF,
2568 CodeGenFunction &CGF, llvm::Value *UpdateLocation, llvm::Value *ThreadId,
2616 void CGOpenMPRuntime::emitForStaticInit(CodeGenFunction &CGF,
2639 CodeGenFunction &CGF, SourceLocation Loc,
2659 void CGOpenMPRuntime::emitForStaticFinish(CodeGenFunction &CGF,
2691 void CGOpenMPRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF,
2703 llvm::Value *CGOpenMPRuntime::emitForNext(CodeGenFunction &CGF,
2726 void CGOpenMPRuntime::emitNumThreadsClause(CodeGenFunction &CGF,
2740 void CGOpenMPRuntime::emitProcBindClause(CodeGenFunction &CGF,
2755 void CGOpenMPRuntime::emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *>,
3018 CodeGenFunction CGF(CGM);
3123 CodeGenFunction CGF(CGM);
3231 CodeGenFunction CGF(CGM);
3256 static void emitPrivatesInit(CodeGenFunction &CGF,
3270 CodeGenFunction::CGCapturedStmtInfo CapturesInfo(CS);
3330 CGF, [](CodeGenFunction &, PrePostActionTy &) {}, OMPD_unknown,
3347 CodeGenFunction::OMPPrivateScope InitScope(CGF);
3351 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(
3359 CodeGenFunction::OMPPrivateScope InitScope(CGF);
3362 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CapturesInfo);
3375 static bool checkInitIsRequired(CodeGenFunction &CGF,
3431 CodeGenFunction CGF(CGM);
3489 : public CodeGenFunction::OMPPrivateScope {
3490 CodeGenFunction &CGF;
3492 SmallVector<CodeGenFunction::JumpDest, 4> ContDests;
3493 SmallVector<CodeGenFunction::JumpDest, 4> ExitDests;
3498 OMPIteratorGeneratorScope(CodeGenFunction &CGF, const OMPIteratorExpr *E)
3499 : CodeGenFunction::OMPPrivateScope(CGF), CGF(CGF), E(E) {
3523 CodeGenFunction::JumpDest &ContDest =
3525 CodeGenFunction::JumpDest &ExitDest =
3563 getPointerAndSize(CodeGenFunction &CGF, const Expr *E) {
3614 CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
3831 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, OVE,
4049 CGOpenMPRuntime::getDepobjElements(CodeGenFunction &CGF, LValue DepobjLVal,
4075 static void emitDependData(CodeGenFunction &CGF, QualType &KmpDependInfoTy,
4147 CodeGenFunction &CGF, QualType &KmpDependInfoTy,
4184 void CGOpenMPRuntime::emitDepobjElements(CodeGenFunction &CGF,
4222 CodeGenFunction &CGF, ArrayRef<OMPTaskDataTy::DependData> Dependencies,
4294 CodeGenFunction::OpaqueValueMapping OpaqueMap(CGF, OVE,
4351 CodeGenFunction &CGF, const OMPTaskDataTy::DependData &Dependencies,
4437 void CGOpenMPRuntime::emitDestroyClause(CodeGenFunction &CGF, LValue DepobjLVal,
4464 void CGOpenMPRuntime::emitUpdateClause(CodeGenFunction &CGF, LValue DepobjLVal,
4513 void CGOpenMPRuntime::emitTaskCall(CodeGenFunction &CGF, SourceLocation Loc,
4555 &DepTaskArgs](CodeGenFunction &CGF, PrePostActionTy &) {
4591 Loc](CodeGenFunction &CGF, PrePostActionTy &) {
4592 CodeGenFunction::RunCleanupsScope LocalScope(CGF);
4603 Loc](CodeGenFunction &CGF, PrePostActionTy &Action) {
4633 void CGOpenMPRuntime::emitTaskLoopCall(CodeGenFunction &CGF, SourceLocation Loc,
4726 CodeGenFunction &CGF, QualType Type, const VarDecl *LHSVar,
4728 const llvm::function_ref<void(CodeGenFunction &CGF, const Expr *,
4774 CodeGenFunction::OMPPrivateScope Scope(CGF);
4802 static void emitReductionCombiner(CodeGenFunction &CGF,
4813 CodeGenFunction::OpaqueValueMapping Map(CGF, OVE, Func);
4842 CodeGenFunction CGF(CGM);
4859 CodeGenFunction::OMPPrivateScope Scope(CGF);
4878 CodeGenFunction::OpaqueValueMapping OpaqueMap(
4894 [=](CodeGenFunction &CGF, const Expr *, const Expr *, const Expr *) {
4910 void CGOpenMPRuntime::emitSingleReductionCombiner(CodeGenFunction &CGF,
4921 [=](CodeGenFunction &CGF, const Expr *, const Expr *, const Expr *) {
4930 void CGOpenMPRuntime::emitReduction(CodeGenFunction &CGF, SourceLocation Loc,
4980 CodeGenFunction::RunCleanupsScope Scope(CGF);
5083 CodeGenFunction &CGF, PrePostActionTy &Action) {
5118 CodeGenFunction &CGF, PrePostActionTy &Action) {
5152 Loc](CodeGenFunction &CGF, const Expr *XExpr,
5162 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
5184 auto &&CritRedGen = [E, Loc](CodeGenFunction &CGF, const Expr *,
5190 [=](CodeGenFunction &CGF, PrePostActionTy &Action) {
5281 CodeGenFunction CGF(CGM);
5313 [](CodeGenFunction &) { return false; });
5352 CodeGenFunction CGF(CGM);
5368 CodeGenFunction::OMPPrivateScope PrivateScope(CGF);
5421 CodeGenFunction CGF(CGM);
5444 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> LHSExprs,
5568 void CGOpenMPRuntime::emitTaskReductionFini(CodeGenFunction &CGF,
5586 void CGOpenMPRuntime::emitTaskReductionFixups(CodeGenFunction &CGF,
5603 Address CGOpenMPRuntime::getTaskReductionItem(CodeGenFunction &CGF,
5623 void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF, SourceLocation Loc,
5650 CodeGenFunction::RunCleanupsScope LocalScope(CGF);
5676 void CGOpenMPRuntime::emitInlinedDirective(CodeGenFunction &CGF,
5715 CodeGenFunction &CGF, SourceLocation Loc,
5746 CodeGenFunction::JumpDest CancelDest =
5754 void CGOpenMPRuntime::emitCancelCall(CodeGenFunction &CGF, SourceLocation Loc,
5765 OMPRegionInfo](CodeGenFunction &CGF, PrePostActionTy &) {
5785 CodeGenFunction::JumpDest CancelDest =
5792 [](CodeGenFunction &, PrePostActionTy &) {});
5809 void Enter(CodeGenFunction &CGF) override {
5817 void Exit(CodeGenFunction &CGF) override {
5849 void CGOpenMPRuntime::emitUsesAllocatorsInit(CodeGenFunction &CGF,
5883 void CGOpenMPRuntime::emitUsesAllocatorsFini(CodeGenFunction &CGF,
5900 const OMPExecutableDirective &D, CodeGenFunction &CGF,
5943 CodeGenFunction CGF(CGM, true);
5949 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6022 CodeGenFunction &CGF, const OMPExecutableDirective &D, int32_t &MinTeamsVal,
6154 CodeGenFunction &CGF, const OMPExecutableDirective &D) {
6169 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6180 CodeGenFunction::RunCleanupsScope NumTeamsScope(CGF);
6199 static void getNumThreads(CodeGenFunction &CGF, const CapturedStmt *CS,
6213 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6231 CodeGenFunction::LexicalScope Scope(CGF, CondExpr->getSourceRange());
6238 CodeGenFunction::AutoVarEmission Emission =
6252 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6269 CodeGenFunction::LexicalScope Scope(CGF, NTExpr->getSourceRange());
6276 CodeGenFunction::AutoVarEmission Emission =
6291 CodeGenFunction &CGF, const OMPExecutableDirective &D, int32_t &UpperBound,
6337 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo);
6338 CodeGenFunction::LexicalScope Scope(
6346 CodeGenFunction::AutoVarEmission Emission =
6375 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6393 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6423 CodeGenFunction::RunCleanupsScope Scope(CGF);
6429 CodeGenFunction::RunCleanupsScope ThreadLimitScope(CGF);
6434 CodeGenFunction::RunCleanupsScope NumThreadsScope(CGF);
6451 CodeGenFunction &CGF, const OMPExecutableDirective &D) {
6491 CodeGenFunction::RunCleanupsScope Scope(CGF);
6636 CodeGenFunction &CGF;
7235 auto &&EmitMemberExprBase = [](CodeGenFunction &CGF,
7896 CodeGenFunction &CGF, bool IsDevAddr) {
7912 &InfoGen](CodeGenFunction &CGF, const Expr *IE, const ValueDecl *VD,
7945 auto &&IsMapInfoExist = [&Info](CodeGenFunction &CGF, const ValueDecl *VD,
8191 MappableExprsHandler(const OMPExecutableDirective &Dir, CodeGenFunction &CGF)
8237 MappableExprsHandler(const OMPDeclareMapperDecl &Dir, CodeGenFunction &CGF)
8843 emitMappingInformation(CodeGenFunction &CGF, llvm::OpenMPIRBuilder &OMPBuilder,
8880 CodeGenFunction &CGF, MappableExprsHandler::MapCombinedInfoTy &CombinedInfo,
9070 CodeGenFunction *CGF) {
9115 CodeGenFunction MapperCGF(CGM);
9173 CodeGenFunction::OMPPrivateScope Scope(MapperCGF);
9339 CodeGenFunction &MapperCGF, llvm::Value *Handle, llvm::Value *Base,
9418 CodeGenFunction &CGF, const OMPExecutableDirective &D,
9419 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9443 bool OffloadingMandatory, CodeGenFunction &CGF) {
9458 CodeGenFunction &CGF) {
9475 CodeGenFunction &CGF) {
9479 CodeGenFunction::RunCleanupsScope DynCGroupMemScope(CGF);
9494 llvm::Value *OutlinedFnID, CodeGenFunction::OMPTargetDataInfo &InputInfo,
9496 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9499 CodeGenFunction &CGF, CodeGenModule &CGM) {
9604 SizeEmitter](CodeGenFunction &CGF, PrePostActionTy &) {
9671 bool OffloadingMandatory, CodeGenFunction &CGF) {
9676 OffloadingMandatory](CodeGenFunction &CGF, PrePostActionTy &) {
9682 CodeGenFunction::OMPTargetDataInfo InputInfo;
9690 CodeGenFunction &CGF, const OMPExecutableDirective &D,
9693 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9713 auto &&ArgsCodegen = [&CS, &CapturedVars](CodeGenFunction &CGF,
9719 CodeGenFunction::OMPTargetDataInfo InputInfo;
9726 &MapNamesArray, SizeEmitter](CodeGenFunction &CGF,
9736 OffloadingMandatory](CodeGenFunction &CGF, PrePostActionTy &) {
9782 CodeGenFunction::EmitOMPTargetDeviceFunction(CGM, ParentName,
9786 CodeGenFunction::EmitOMPTargetParallelDeviceFunction(
9790 CodeGenFunction::EmitOMPTargetTeamsDeviceFunction(
9794 CodeGenFunction::EmitOMPTargetTeamsDistributeDeviceFunction(
9798 CodeGenFunction::EmitOMPTargetTeamsDistributeSimdDeviceFunction(
9802 CodeGenFunction::EmitOMPTargetParallelForDeviceFunction(
9806 CodeGenFunction::EmitOMPTargetParallelForSimdDeviceFunction(
9810 CodeGenFunction::EmitOMPTargetSimdDeviceFunction(
9814 CodeGenFunction::EmitOMPTargetTeamsDistributeParallelForDeviceFunction(
9819 CodeGenFunction::
9825 CodeGenFunction::EmitOMPTargetTeamsGenericLoopDeviceFunction(
9829 CodeGenFunction::EmitOMPTargetParallelGenericLoopDeviceFunction(
10070 CodeGenFunction &CGF, const OMPExecutableDirective &D) const {
10166 void CGOpenMPRuntime::emitTeamsCall(CodeGenFunction &CGF,
10175 CodeGenFunction::RunCleanupsScope Scope(CGF);
10191 void CGOpenMPRuntime::emitNumTeamsClause(CodeGenFunction &CGF,
10220 void CGOpenMPRuntime::emitThreadLimitClause(CodeGenFunction &CGF,
10239 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
10340 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
10350 CodeGenFunction::OMPTargetDataInfo InputInfo;
10355 &MapNamesArray](CodeGenFunction &CGF, PrePostActionTy &) {
10478 &MapNamesArray](CodeGenFunction &CGF,
10517 [](CodeGenFunction &CGF, PrePostActionTy &) {});
11129 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
11137 void CGOpenMPRuntime::emitDoacrossInit(CodeGenFunction &CGF,
11209 static void EmitDoacrossOrdered(CodeGenFunction &CGF, CodeGenModule &CGM,
11244 void CGOpenMPRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
11251 void CGOpenMPRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
11258 void CGOpenMPRuntime::emitCall(CodeGenFunction &CGF, SourceLocation Loc,
11274 CodeGenFunction &CGF, SourceLocation Loc, llvm::FunctionCallee OutlinedFn,
11279 void CGOpenMPRuntime::emitFunctionProlog(CodeGenFunction &CGF, const Decl *D) {
11285 Address CGOpenMPRuntime::getParameterAddress(CodeGenFunction &CGF,
11293 static llvm::Value *getAllocatorVal(CodeGenFunction &CGF,
11321 Address CGOpenMPRuntime::getAddressOfLocalVariable(CodeGenFunction &CGF,
11392 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
11421 bool CGOpenMPRuntime::isLocalVarInUntiedTask(CodeGenFunction &CGF,
11462 CodeGenFunction &CGF,
11567 CodeGenFunction &CGF, const OMPExecutableDirective &S, LValue IVLVal)
11599 CodeGenFunction &CGF, const OMPExecutableDirective &S)
11619 CodeGenFunction &CGF, const OMPExecutableDirective &S) {
11639 Address CGOpenMPRuntime::emitLastprivateConditionalInit(CodeGenFunction &CGF,
11705 if (!CodeGenFunction::IsWrappedCXXThis(E->getBase()))
11745 void CGOpenMPRuntime::emitLastprivateConditionalUpdate(CodeGenFunction &CGF,
11779 Loc](CodeGenFunction &CGF, PrePostActionTy &Action) {
11809 CodeGenFunction::ComplexPairTy PrivVal = CGF.EmitLoadOfComplex(LVal, Loc);
11833 void CGOpenMPRuntime::checkAndEmitLastprivateConditional(CodeGenFunction &CGF,
11878 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11928 CodeGenFunction &CGF, LValue PrivLVal, const VarDecl *VD,
11947 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11954 CodeGenFunction &CGF, const OMPExecutableDirective &D,
11968 void CGOpenMPSIMDRuntime::emitParallelCall(CodeGenFunction &CGF,
11978 CodeGenFunction &CGF, StringRef CriticalName,
11984 void CGOpenMPSIMDRuntime::emitMasterRegion(CodeGenFunction &CGF,
11990 void CGOpenMPSIMDRuntime::emitMaskedRegion(CodeGenFunction &CGF,
11997 void CGOpenMPSIMDRuntime::emitTaskyieldCall(CodeGenFunction &CGF,
12003 CodeGenFunction &CGF, const RegionCodeGenTy &TaskgroupOpGen,
12009 CodeGenFunction &CGF, const RegionCodeGenTy &SingleOpGen,
12016 void CGOpenMPSIMDRuntime::emitOrderedRegion(CodeGenFunction &CGF,
12023 void CGOpenMPSIMDRuntime::emitBarrierCall(CodeGenFunction &CGF,
12032 CodeGenFunction &CGF, SourceLocation Loc,
12038 void CGOpenMPSIMDRuntime::emitForDispatchDeinit(CodeGenFunction &CGF,
12044 CodeGenFunction &CGF, SourceLocation Loc, OpenMPDirectiveKind DKind,
12050 CodeGenFunction &CGF, SourceLocation Loc,
12055 void CGOpenMPSIMDRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF,
12062 void CGOpenMPSIMDRuntime::emitForStaticFinish(CodeGenFunction &CGF,
12068 llvm::Value *CGOpenMPSIMDRuntime::emitForNext(CodeGenFunction &CGF,
12076 void CGOpenMPSIMDRuntime::emitNumThreadsClause(CodeGenFunction &CGF,
12082 void CGOpenMPSIMDRuntime::emitProcBindClause(CodeGenFunction &CGF,
12088 Address CGOpenMPSIMDRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF,
12097 CodeGenFunction *CGF) {
12102 CodeGenFunction &CGF, QualType VarType, StringRef Name) {
12106 void CGOpenMPSIMDRuntime::emitFlush(CodeGenFunction &CGF,
12113 void CGOpenMPSIMDRuntime::emitTaskCall(CodeGenFunction &CGF, SourceLocation Loc,
12123 CodeGenFunction &CGF, SourceLocation Loc, const OMPLoopDirective &D,
12130 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> Privates,
12139 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> LHSExprs,
12144 void CGOpenMPSIMDRuntime::emitTaskReductionFini(CodeGenFunction &CGF,
12150 void CGOpenMPSIMDRuntime::emitTaskReductionFixups(CodeGenFunction &CGF,
12157 Address CGOpenMPSIMDRuntime::getTaskReductionItem(CodeGenFunction &CGF,
12164 void CGOpenMPSIMDRuntime::emitTaskwaitCall(CodeGenFunction &CGF,
12171 CodeGenFunction &CGF, SourceLocation Loc,
12176 void CGOpenMPSIMDRuntime::emitCancelCall(CodeGenFunction &CGF,
12190 CodeGenFunction &CGF, const OMPExecutableDirective &D,
12193 llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
12211 void CGOpenMPSIMDRuntime::emitTeamsCall(CodeGenFunction &CGF,
12219 void CGOpenMPSIMDRuntime::emitNumTeamsClause(CodeGenFunction &CGF,
12227 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
12234 CodeGenFunction &CGF, const OMPExecutableDirective &D, const Expr *IfCond,
12239 void CGOpenMPSIMDRuntime::emitDoacrossInit(CodeGenFunction &CGF,
12245 void CGOpenMPSIMDRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
12250 void CGOpenMPSIMDRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
12262 CGOpenMPSIMDRuntime::getParameterAddress(CodeGenFunction &CGF,