Home
last modified time | relevance | path

Searched refs:ReturnBlock (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp159 BasicBlock *ReturnBlock = nullptr; member
175 BasicBlock *ReturnBlock) in OutlineRegionInfo()
177 ExitBlock(ExitBlock), ReturnBlock(ReturnBlock) {} in OutlineRegionInfo()
181 BasicBlock *ReturnBlock; member
499 BasicBlock *ReturnBlock = ExitBlock->getSingleSuccessor(); in computeOutliningColdRegionsInfo() local
501 DominateVector, DominateVector.front(), ExitBlock, ReturnBlock); in computeOutliningColdRegionsInfo()
570 BasicBlock *ReturnBlock, *NonReturnBlock; in computeOutliningInfo() local
571 std::tie(ReturnBlock, NonReturnBlock) = GetReturnBlock(Succ1, Succ2); in computeOutliningInfo()
573 if (ReturnBlock) { in computeOutliningInfo()
575 OutliningInfo->ReturnBlock = ReturnBlock; in computeOutliningInfo()
[all …]
H A DIROutliner.cpp2172 BasicBlock *ReturnBlock = RetBlockPair.second; in createSwitchStatement() local
2177 Term->moveBefore(*ReturnBlock, ReturnBlock->end()); in createSwitchStatement()
2184 ReturnBlock, OutputStoreBBs.size(), EndBB); in createSwitchStatement()
2198 Term->setSuccessor(0, ReturnBlock); in createSwitchStatement()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp320 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) { in EmitReturnBlock()
321 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB); in EmitReturnBlock()
322 delete ReturnBlock.getBlock(); in EmitReturnBlock()
323 ReturnBlock = JumpDest(); in EmitReturnBlock()
325 EmitBlock(ReturnBlock.getBlock()); in EmitReturnBlock()
332 if (ReturnBlock.getBlock()->hasOneUse()) { in EmitReturnBlock()
334 dyn_cast<llvm::BranchInst>(*ReturnBlock.getBlock()->user_begin()); in EmitReturnBlock()
336 BI->getSuccessor(0) == ReturnBlock.getBlock()) { in EmitReturnBlock()
342 delete ReturnBlock.getBlock(); in EmitReturnBlock()
343 ReturnBlock = JumpDest(); in EmitReturnBlock()
[all …]
H A DCGClass.cpp1610 CGF.EmitBranchThroughCleanup(CGF.ReturnBlock); in EmitConditionalDtorDeleteCall()
1870 EmitBranchThroughCleanup(ReturnBlock); in EnterDtorCleanups()
3000 EmitBranchThroughCleanup(ReturnBlock); in EmitForwardingCallToLambda()
H A DCodeGenFunction.h406 JumpDest ReturnBlock;
2005 OldReturnBlock = CGF.ReturnBlock;
2006 CGF.ReturnBlock = CGF.getJumpDestInCurrentScope(&RetBB);
2011 CGF.ReturnBlock = OldReturnBlock;
H A DCGStmt.cpp1424 EmitBranchThroughCleanup(ReturnBlock); in EmitReturnOfRValue()
1575 EmitBranchThroughCleanup(ReturnBlock); in EmitReturnStmt()
H A DCGCall.cpp3979 if (ReturnBlock.isValid() && ReturnBlock.getBlock()->use_empty()) in EmitReturnValueCheck()
H A DCGObjCGNU.cpp2082 CGF.EmitBranchThroughCleanup(CGF.ReturnBlock); in GenerateDirectMethodPrologue()
H A DCGOpenMPRuntime.cpp174 CGF.EmitBranchThroughCleanup(CGF.ReturnBlock); in Enter()
191 CGF.EmitBranch(CGF.ReturnBlock.getBlock()); in emitUntiedSwitch()
H A DCGObjCMac.cpp4085 CGF.EmitBranchThroughCleanup(CGF.ReturnBlock); in GenerateDirectMethodPrologue()
H A DCGStmtOpenMP.cpp7266 return ReturnBlock; in getOMPCancelDestination()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h131 BasicBlock *ReturnBlock; member
H A DCoroutines.cpp344 this->RetconLowering.ReturnBlock = nullptr; in buildFrom()
H A DCoroSplit.cpp1844 Shape.RetconLowering.ReturnBlock = ReturnBB; in splitRetconCoroutine()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp331 Version(Version), EntryBlock(P, 0), ReturnBlock(P, 1) { in GCOVFunction()
338 ReturnBlock.Number = i; in GCOVFunction()
353 return ReturnBlock; in getReturnBlock()
440 GCOVBlock ReturnBlock; member in __anon09913f2a0311::GCOVFunction