Home
last modified time | relevance | path

Searched refs:CapturedStmtInfo (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp51 (CGF.CapturedStmtInfo && CGF.CapturedStmtInfo->lookup(VD)) || in isCapturedVar()
69 (CGF.CapturedStmtInfo && in OMPLexicalScope()
200 CapturedStmtInfo && in GenerateOpenMPCapturedStmtFunction()
253 CapturedStmtInfo->getHelperName(), &CGM.getModule()); in GenerateOpenMPCapturedStmtFunction()
314 CapturedStmtInfo->EmitBody(*this, CD->getBody()); in GenerateOpenMPCapturedStmtFunction()
593 auto *FD = CapturedStmtInfo->lookup(OrigVD); in EmitOMPFirstprivateClause()
715 assert(CapturedStmtInfo->lookup(VD) && in EmitOMPCopyinClause()
789 /*RefersToEnclosingVariableOrCapture=*/CapturedStmtInfo->lookup( in EmitOMPLastprivateClauseInit()
1058 CapturedStmtInfo->lookup(OrigVD) != nullptr, in EmitOMPReductionClauseInit()
1101 CapturedStmtInfo->lookup(OrigVD) != nullptr, in EmitOMPReductionClauseInit()
[all …]
DCGStmt.cpp2184 delete CGF.CapturedStmtInfo; in EmitCapturedStmt()
2200 assert(CapturedStmtInfo && in GenerateCapturedStmtFunction()
2220 CapturedStmtInfo->getHelperName(), &CGM.getModule()); in GenerateCapturedStmtFunction()
2231 CapturedStmtInfo->setContextValue(Builder.CreateLoad(DeclPtr)); in GenerateCapturedStmtFunction()
2234 LValue Base = MakeNaturalAlignAddrLValue(CapturedStmtInfo->getContextValue(), in GenerateCapturedStmtFunction()
2246 if (CapturedStmtInfo->isCXXThisExprCaptured()) { in GenerateCapturedStmtFunction()
2247 FieldDecl *FD = CapturedStmtInfo->getThisFieldDecl(); in GenerateCapturedStmtFunction()
2253 CapturedStmtInfo->EmitBody(*this, CD->getBody()); in GenerateCapturedStmtFunction()
DCGOpenMPRuntime.cpp328 : CGOpenMPInlinedRegionInfo(CGF.CapturedStmtInfo, EmptyCodeGen, in CGOpenMPInnerExprInfo()
399 CGF.CapturedStmtInfo = new CGOpenMPInlinedRegionInfo( in InlinedOpenMPRegionRAII()
400 CGF.CapturedStmtInfo, CodeGen, Kind, HasCancel); in InlinedOpenMPRegionRAII()
409 cast<CGOpenMPInlinedRegionInfo>(CGF.CapturedStmtInfo)->getOldCSI(); in ~InlinedOpenMPRegionRAII()
410 delete CGF.CapturedStmtInfo; in ~InlinedOpenMPRegionRAII()
411 CGF.CapturedStmtInfo = OldCSI; in ~InlinedOpenMPRegionRAII()
998 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) { in getThreadID()
1998 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) in emitThreadIDAddress()
2129 if (auto *Region = dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) in emitTaskyieldCall()
2337 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) { in emitBarrierCall()
[all …]
DCodeGenFunction.h242 CGCapturedStmtInfo *CapturedStmtInfo; variable
252 : CGF(CGF), PrevCapturedStmtInfo(CGF.CapturedStmtInfo) { in CGCapturedStmtRAII()
253 CGF.CapturedStmtInfo = NewCapturedStmtInfo; in CGCapturedStmtRAII()
255 ~CGCapturedStmtRAII() { CGF.CapturedStmtInfo = PrevCapturedStmtInfo; } in ~CGCapturedStmtRAII()
DCGExpr.cpp2089 !(E->refersToEnclosingVariableOrCapture() && CapturedStmtInfo && in EmitDeclRefLValue()
2107 else if (CapturedStmtInfo) { in EmitDeclRefLValue()
2116 EmitCapturedFieldLValue(*this, CapturedStmtInfo->lookup(VD), in EmitDeclRefLValue()
2117 CapturedStmtInfo->getContextValue()); in EmitDeclRefLValue()
DCodeGenFunction.cpp45 CapturedStmtInfo(nullptr), in CodeGenFunction()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp2624 delete CGF.CapturedStmtInfo; in EmitCapturedStmt()
2640 assert(CapturedStmtInfo && in GenerateCapturedStmtFunction()
2659 CapturedStmtInfo->getHelperName(), &CGM.getModule()); in GenerateCapturedStmtFunction()
2669 CapturedStmtInfo->setContextValue(Builder.CreateLoad(DeclPtr)); in GenerateCapturedStmtFunction()
2672 LValue Base = MakeNaturalAlignAddrLValue(CapturedStmtInfo->getContextValue(), in GenerateCapturedStmtFunction()
2685 if (CapturedStmtInfo->isCXXThisExprCaptured()) { in GenerateCapturedStmtFunction()
2686 FieldDecl *FD = CapturedStmtInfo->getThisFieldDecl(); in GenerateCapturedStmtFunction()
2692 CapturedStmtInfo->EmitBody(*this, CD->getBody()); in GenerateCapturedStmtFunction()
DCGStmtOpenMP.cpp64 (CGF.CapturedStmtInfo && CGF.CapturedStmtInfo->lookup(VD)) || in isCapturedVar()
90 isCapturedVar(CGF, VD) || (CGF.CapturedStmtInfo && in OMPLexicalScope()
198 (CGF.CapturedStmtInfo && CGF.CapturedStmtInfo->lookup(VD)) || in isCapturedVar()
250 (CGF.CapturedStmtInfo && in OMPSimdLexicalScope()
277 (CapturedStmtInfo && CapturedStmtInfo->lookup(OrigVD)) || in EmitOMPSharedLValue()
586 CapturedStmtInfo && in GenerateOpenMPCapturedStmtFunction()
597 Out << CapturedStmtInfo->getHelperName(); in GenerateOpenMPCapturedStmtFunction()
616 CapturedStmtInfo->EmitBody(*this, CD->getBody()); in GenerateOpenMPCapturedStmtFunction()
624 CapturedStmtInfo->getHelperName(), Loc); in GenerateOpenMPCapturedStmtFunction()
626 WrapperCGF.CapturedStmtInfo = CapturedStmtInfo; in GenerateOpenMPCapturedStmtFunction()
[all …]
DCGOpenMPRuntime.cpp351 : CGOpenMPInlinedRegionInfo(CGF.CapturedStmtInfo, EmptyCodeGen, in CGOpenMPInnerExprInfo()
422 CGF.CapturedStmtInfo = new CGOpenMPInlinedRegionInfo( in InlinedOpenMPRegionRAII()
423 CGF.CapturedStmtInfo, CodeGen, Kind, HasCancel); in InlinedOpenMPRegionRAII()
434 cast<CGOpenMPInlinedRegionInfo>(CGF.CapturedStmtInfo)->getOldCSI(); in ~InlinedOpenMPRegionRAII()
435 delete CGF.CapturedStmtInfo; in ~InlinedOpenMPRegionRAII()
436 CGF.CapturedStmtInfo = OldCSI; in ~InlinedOpenMPRegionRAII()
1468 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) { in getThreadID()
2126 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) in emitThreadIDAddress()
2274 if (auto *Region = dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) in emitTaskyieldCall()
2516 dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo); in emitBarrierCall()
[all …]
DCGOpenMPRuntimeGPU.cpp243 if (auto *CSI = CGF.CapturedStmtInfo) { in markAsEscaped()
268 if ((!CGF.CapturedStmtInfo || in markAsEscaped()
269 (IsForCombinedParallelRegion && CGF.CapturedStmtInfo)) && in markAsEscaped()
4330 NeedToDelayGlobalization = CGF.CapturedStmtInfo->getKind() == CR_OpenMP; in emitFunctionProlog()
4520 if (ThisCapture && CGF.CapturedStmtInfo->isCXXThisExprCaptured()) { in adjustTargetSpecificDataForLambdas()
DCodeGenFunction.h426 CGCapturedStmtInfo *CapturedStmtInfo = nullptr;
436 : CGF(CGF), PrevCapturedStmtInfo(CGF.CapturedStmtInfo) {
437 CGF.CapturedStmtInfo = NewCapturedStmtInfo;
439 ~CGCapturedStmtRAII() { CGF.CapturedStmtInfo = PrevCapturedStmtInfo; }
DCGExpr.cpp2727 if (CapturedStmtInfo) { in EmitDeclRefLValue()
2744 EmitCapturedFieldLValue(*this, CapturedStmtInfo->lookup(VD), in EmitDeclRefLValue()
2745 CapturedStmtInfo->getContextValue()); in EmitDeclRefLValue()