Home
last modified time | relevance | path

Searched refs:UnwindBlock (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp65 UnwindBlock = 0; in runOnFunction()
67 UnwindBlock = UnwindingBlocks.front(); in runOnFunction()
69 UnwindBlock = BasicBlock::Create(F.getContext(), "UnifiedUnwindBlock", &F); in runOnFunction()
70 new UnwindInst(F.getContext(), UnwindBlock); in runOnFunction()
76 BranchInst::Create(UnwindBlock, BB); in runOnFunction()
DLowerInvoke.cpp391 BasicBlock *UnwindBlock = Invokes[i]->getUnwindDest(); in splitLiveRangesLiveAcrossInvokes() local
392 if (UnwindBlock != BB && LiveBBs.count(UnwindBlock)) { in splitLiveRangesLiveAcrossInvokes()
537 BasicBlock *UnwindBlock = BasicBlock::Create(F.getContext(), "unwind", &F); in insertExpensiveEHSupport() local
554 BranchInst::Create(UnwindBlock, TermBlock, NotNull, UnwindHandler); in insertExpensiveEHSupport()
560 Idx[0] = GetElementPtrInst::Create(BufPtr, Idx, "JmpBuf", UnwindBlock); in insertExpensiveEHSupport()
563 "tmp", UnwindBlock); in insertExpensiveEHSupport()
565 CallInst::Create(LongJmpFn, Idx, "", UnwindBlock); in insertExpensiveEHSupport()
566 new UnreachableInst(F.getContext(), UnwindBlock); in insertExpensiveEHSupport()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DUnifyFunctionExitNodes.h26 BasicBlock *ReturnBlock, *UnwindBlock, *UnreachableBlock; member
30 ReturnBlock(0), UnwindBlock(0) { in UnifyFunctionExitNodes()
41 BasicBlock *getUnwindBlock() const { return UnwindBlock; } in getUnwindBlock()
/external/llvm/include/llvm/Transforms/Utils/
DUnifyFunctionExitNodes.h26 BasicBlock *ReturnBlock, *UnwindBlock, *UnreachableBlock; member
31 ReturnBlock(nullptr), UnwindBlock(nullptr) { in UnifyFunctionExitNodes()
42 BasicBlock *getUnwindBlock() const { return UnwindBlock; } in getUnwindBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp308 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges() local
309 if (UnwindBlock != &BB && LiveBBs.count(UnwindBlock)) { in lowerAcrossUnwindEdges()
311 << UnwindBlock->getName() << "\n"); in lowerAcrossUnwindEdges()
330 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges() local
331 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges()
335 for (BasicBlock::iterator PN = UnwindBlock->begin(); isa<PHINode>(PN); ++PN) in lowerAcrossUnwindEdges()
345 LPI->moveBefore(&UnwindBlock->front()); in lowerAcrossUnwindEdges()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp298 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges() local
299 if (UnwindBlock != &BB && LiveBBs.count(UnwindBlock)) { in lowerAcrossUnwindEdges()
301 << UnwindBlock->getName() << "\n"); in lowerAcrossUnwindEdges()
320 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges() local
321 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges()
325 for (BasicBlock::iterator PN = UnwindBlock->begin(); isa<PHINode>(PN); ++PN) in lowerAcrossUnwindEdges()
335 LPI->moveBefore(&UnwindBlock->front()); in lowerAcrossUnwindEdges()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPruneEH.cpp190 BasicBlock *UnwindBlock = II->getUnwindDest(); in SimplifyFunction() local
191 UnwindBlock->removePredecessor(II->getParent()); in SimplifyFunction()
201 if (pred_begin(UnwindBlock) == pred_end(UnwindBlock)) in SimplifyFunction()
202 DeleteBasicBlock(UnwindBlock); // Delete the new BB. in SimplifyFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DUnifyFunctionExitNodes.h28 BasicBlock *UnwindBlock = nullptr; member
44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } in getUnwindBlock()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp198 BasicBlock *UnwindBlock = II->getUnwindDest(); in SimplifyFunction() local
202 if (pred_empty(UnwindBlock)) in SimplifyFunction()
203 DeleteBasicBlock(UnwindBlock, CG); // Delete the new BB. in SimplifyFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp194 BasicBlock *UnwindBlock = II->getUnwindDest(); in SimplifyFunction() local
198 if (pred_empty(UnwindBlock)) in SimplifyFunction()
199 DeleteBasicBlock(UnwindBlock, CG); // Delete the new BB. in SimplifyFunction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSjLjEHPrepare.cpp349 BasicBlock *UnwindBlock = Invokes[i]->getUnwindDest(); in splitLiveRangesAcrossInvokes() local
350 if (UnwindBlock != BB && LiveBBs.count(UnwindBlock)) in splitLiveRangesAcrossInvokes()
894 BasicBlock *UnwindBlock = Invokes[i]->getUnwindDest(); in lowerAcrossUnwindEdges() local
895 if (UnwindBlock != BB && LiveBBs.count(UnwindBlock)) { in lowerAcrossUnwindEdges()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1392 BasicBlock *UnwindBlock = ToReplace->getUnwindDest(); in makeStatepointExplicitImpl() local
1393 assert(!isa<PHINode>(UnwindBlock->begin()) && in makeStatepointExplicitImpl()
1394 UnwindBlock->getUniquePredecessor() && in makeStatepointExplicitImpl()
1397 Builder.SetInsertPoint(&*UnwindBlock->getFirstInsertionPt()); in makeStatepointExplicitImpl()
1401 Instruction *ExceptionalToken = UnwindBlock->getLandingPadInst(); in makeStatepointExplicitImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1536 BasicBlock *UnwindBlock = ToReplace->getUnwindDest(); in makeStatepointExplicitImpl() local
1537 assert(!isa<PHINode>(UnwindBlock->begin()) && in makeStatepointExplicitImpl()
1538 UnwindBlock->getUniquePredecessor() && in makeStatepointExplicitImpl()
1541 Builder.SetInsertPoint(&*UnwindBlock->getFirstInsertionPt()); in makeStatepointExplicitImpl()
1545 Instruction *ExceptionalToken = UnwindBlock->getLandingPadInst(); in makeStatepointExplicitImpl()