Lines Matching refs:CodeGenFunction

32 class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo {
62 virtual void EmitBody(CodeGenFunction &CGF, const Stmt *S) override;
66 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
127 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
148 CGOpenMPInlinedRegionInfo(CodeGenFunction::CGCapturedStmtInfo *OldCSI, in CGOpenMPInlinedRegionInfo()
194 CodeGenFunction::CGCapturedStmtInfo *getOldCSI() const { return OldCSI; } in getOldCSI()
203 CodeGenFunction::CGCapturedStmtInfo *OldCSI;
209 CodeGenFunction &CGF;
216 InlinedOpenMPRegionRAII(CodeGenFunction &CGF, const RegionCodeGenTy &CodeGen, in InlinedOpenMPRegionRAII()
234 LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) { in getThreadIDVariableLValue()
245 void CGOpenMPRegionInfo::EmitBody(CodeGenFunction &CGF, const Stmt * /*S*/) { in EmitBody()
253 CodeGenFunction::RunCleanupsScope Scope(CGF); in EmitBody()
260 CodeGenFunction &CGF) { in getThreadIDVariableLValue()
289 CodeGenFunction CGF(CGM, true); in emitParallelOutlinedFunction()
291 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo); in emitParallelOutlinedFunction()
301 CodeGenFunction CGF(CGM, true); in emitTaskOutlinedFunction()
304 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CGInfo); in emitTaskOutlinedFunction()
339 llvm::Value *CGOpenMPRuntime::emitUpdateLocation(CodeGenFunction &CGF, in emitUpdateLocation()
395 llvm::Value *CGOpenMPRuntime::getThreadID(CodeGenFunction &CGF, in getThreadID()
438 void CGOpenMPRuntime::functionFinished(CodeGenFunction &CGF) { in functionFinished()
942 llvm::Value *CGOpenMPRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF, in getAddrOfThreadPrivate()
960 CodeGenFunction &CGF, llvm::Value *VDAddr, llvm::Value *Ctor, in emitThreadPrivateVarInit()
978 bool PerformInit, CodeGenFunction *CGF) { in emitThreadPrivateVarDefinition()
993 CodeGenFunction CtorCGF(CGM); in emitThreadPrivateVarDefinition()
1027 CodeGenFunction DtorCGF(CGM); in emitThreadPrivateVarDefinition()
1078 CodeGenFunction InitCGF(CGM); in emitThreadPrivateVarDefinition()
1099 static void emitOMPIfClause(CodeGenFunction &CGF, const Expr *Cond, in emitOMPIfClause()
1102 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitOMPIfClause()
1108 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitOMPIfClause()
1127 CodeGenFunction::RunCleanupsScope ThenScope(CGF); in emitOMPIfClause()
1138 CodeGenFunction::RunCleanupsScope ThenScope(CGF); in emitOMPIfClause()
1150 void CGOpenMPRuntime::emitParallelCall(CodeGenFunction &CGF, SourceLocation Loc, in emitParallelCall()
1156 [this, OutlinedFn, CapturedStruct, RTLoc](CodeGenFunction &CGF) { in emitParallelCall()
1170 CodeGenFunction &CGF) { in emitParallelCall()
1195 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitParallelCall()
1206 llvm::Value *CGOpenMPRuntime::emitThreadIDAddress(CodeGenFunction &CGF, in emitThreadIDAddress()
1259 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override { in Emit()
1265 void CGOpenMPRuntime::emitCriticalRegion(CodeGenFunction &CGF, in emitCriticalRegion()
1274 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitCriticalRegion()
1286 static void emitIfStmt(CodeGenFunction &CGF, llvm::Value *IfCond, in emitIfStmt()
1305 void CGOpenMPRuntime::emitMasterRegion(CodeGenFunction &CGF, in emitMasterRegion()
1318 emitIfStmt(CGF, IsMaster, OMPD_master, [&](CodeGenFunction &CGF) -> void { in emitMasterRegion()
1319 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitMasterRegion()
1327 void CGOpenMPRuntime::emitTaskyieldCall(CodeGenFunction &CGF, in emitTaskyieldCall()
1336 void CGOpenMPRuntime::emitTaskgroupRegion(CodeGenFunction &CGF, in emitTaskgroupRegion()
1344 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitTaskgroupRegion()
1375 CodeGenFunction CGF(CGM); in emitCopyprivateCopyFunction()
1413 void CGOpenMPRuntime::emitSingleRegion(CodeGenFunction &CGF, in emitSingleRegion()
1447 emitIfStmt(CGF, IsSingle, OMPD_single, [&](CodeGenFunction &CGF) -> void { in emitSingleRegion()
1448 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitSingleRegion()
1500 void CGOpenMPRuntime::emitOrderedRegion(CodeGenFunction &CGF, in emitOrderedRegion()
1508 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitOrderedRegion()
1519 void CGOpenMPRuntime::emitBarrierCall(CodeGenFunction &CGF, SourceLocation Loc, in emitBarrierCall()
1626 void CGOpenMPRuntime::emitForInit(CodeGenFunction &CGF, SourceLocation Loc, in emitForInit()
1683 void CGOpenMPRuntime::emitForStaticFinish(CodeGenFunction &CGF, in emitForStaticFinish()
1692 void CGOpenMPRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF, in emitForOrderedIterationEnd()
1702 llvm::Value *CGOpenMPRuntime::emitForNext(CodeGenFunction &CGF, in emitForNext()
1725 void CGOpenMPRuntime::emitNumThreadsClause(CodeGenFunction &CGF, in emitNumThreadsClause()
1736 void CGOpenMPRuntime::emitProcBindClause(CodeGenFunction &CGF, in emitProcBindClause()
1769 void CGOpenMPRuntime::emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *>, in emitFlush()
1915 CodeGenFunction CGF(CGM); in emitProxyTaskFunction()
1984 CodeGenFunction CGF(CGM); in emitDestructorsFunction()
2064 CodeGenFunction CGF(CGM); in emitTaskPrivateMappingFunction()
2098 CodeGenFunction &CGF, SourceLocation Loc, const OMPExecutableDirective &D, in emitTaskCall()
2228 CodeGenFunction::CGCapturedStmtInfo CapturesInfo( in emitTaskCall()
2256 CodeGenFunction::OMPPrivateScope InitScope(CGF); in emitTaskCall()
2262 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII( in emitTaskCall()
2270 CodeGenFunction::OMPPrivateScope InitScope(CGF); in emitTaskCall()
2275 CodeGenFunction::CGCapturedStmtRAII CapInfoRAII(CGF, &CapturesInfo); in emitTaskCall()
2391 &DepTaskArgs](CodeGenFunction &CGF) { in emitTaskCall()
2408 DependInfo, &DepWaitTaskArgs](CodeGenFunction &CGF) { in emitTaskCall()
2409 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall()
2435 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitTaskCall()
2462 CodeGenFunction CGF(CGM); in emitReductionFunction()
2479 CodeGenFunction::OMPPrivateScope Scope(CGF); in emitReductionFunction()
2509 void CGOpenMPRuntime::emitReduction(CodeGenFunction &CGF, SourceLocation Loc, in emitReduction()
2552 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitReduction()
2622 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitReduction()
2652 CodeGenFunction::RunCleanupsScope Scope(CGF); in emitReduction()
2703 CodeGenFunction::OMPPrivateScope PrivateScope(CGF); in emitReduction()
2717 emitCriticalRegion(CGF, ".atomic_reduction", [E](CodeGenFunction &CGF) { in emitReduction()
2729 void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF, in emitTaskwaitCall()
2738 void CGOpenMPRuntime::emitInlinedDirective(CodeGenFunction &CGF, in emitInlinedDirective()
2771 CodeGenFunction &CGF, SourceLocation Loc, in emitCancellationPointCall()
2804 void CGOpenMPRuntime::emitCancelCall(CodeGenFunction &CGF, SourceLocation Loc, in emitCancelCall()