/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 65 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()
|
D | LowerInvoke.cpp | 391 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/ |
D | UnifyFunctionExitNodes.h | 26 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/ |
D | UnifyFunctionExitNodes.h | 26 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/ |
D | SjLjEHPrepare.cpp | 308 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/ |
D | SjLjEHPrepare.cpp | 298 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/ |
D | PruneEH.cpp | 190 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/ |
D | UnifyFunctionExitNodes.h | 28 BasicBlock *UnwindBlock = nullptr; member 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } in getUnwindBlock()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 198 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/ |
D | PruneEH.cpp | 194 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/ |
D | SjLjEHPrepare.cpp | 349 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/ |
D | RewriteStatepointsForGC.cpp | 1392 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/ |
D | RewriteStatepointsForGC.cpp | 1536 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()
|