/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 373 BasicBlock *LPad = TI->getSuccessor(1); in NormalizeLandingPads() local 375 if (LandingPads.count(LPad)) in NormalizeLandingPads() 381 for (pred_iterator PI = pred_begin(LPad), PE = pred_end(LPad); in NormalizeLandingPads() 392 if (!isa<InvokeInst>(PT) || LPad == PT->getSuccessor(0)) { in NormalizeLandingPads() 400 LandingPads.insert(LPad); in NormalizeLandingPads() 409 LPad->getName() + "_unwind_edge"); in NormalizeLandingPads() 412 LPad->getParent()->getBasicBlockList().insert(LPad, NewBB); in NormalizeLandingPads() 415 for (pred_iterator PI = pred_begin(LPad), PE = pred_end(LPad); PI != PE; ) { in NormalizeLandingPads() 417 if (isa<InvokeInst>(PT) && PT->getSuccessor(1) == LPad) in NormalizeLandingPads() 424 for (BasicBlock::iterator II = LPad->begin(); isa<PHINode>(II); ++II) { in NormalizeLandingPads() [all …]
|
D | ShadowStackGC.cpp | 152 LandingPadInst *LPad = LandingPadInst::Create(ExnTy, PersFn, 1, in Next() local 155 LPad->setCleanup(true); in Next() 156 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
|
D | SjLjEHPrepare.cpp | 167 BasicBlock *LPad = NewBBs[0]; in splitLandingPad() local 168 BasicBlock *Succ = *succ_begin(LPad); in splitLandingPad() 170 LPad->getParent(), Succ); in splitLandingPad() 171 LPad->getTerminator()->eraseFromParent(); in splitLandingPad() 172 BranchInst::Create(JumpTo, LPad); in splitLandingPad() 178 Value *Val = PN->removeIncomingValue(LPad, false); in splitLandingPad()
|
D | SplitKit.cpp | 63 const MachineBasicBlock *LPad = MBB->getLandingPadSuccessor(); in computeLastSplitPoint() local 76 if (!LPad) in computeLastSplitPoint() 92 if (LPad && LSP.second.isValid() && LIS.isLiveInToMBB(*CurLI, LPad)) in computeLastSplitPoint()
|
/external/swiftshader/third_party/LLVM/test/Transforms/SCCP/ |
D | 2003-08-26-InvokeHandling.ll | 11 to label %Ok unwind label %LPad 14 LPad: 19 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %LPad ] ; <i32> [#uses=1]
|
/external/llvm/test/Transforms/SCCP/ |
D | 2003-08-26-InvokeHandling.ll | 11 to label %Ok unwind label %LPad 14 LPad: 19 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %LPad ] ; <i32> [#uses=1]
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 547 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors() local 548 Instruction *Clone1 = LPad->clone(); in SplitLandingPadPredecessors() 553 Instruction *Clone2 = LPad->clone(); in SplitLandingPadPredecessors() 559 if (!LPad->use_empty()) { in SplitLandingPadPredecessors() 560 assert(!LPad->getType()->isTokenTy() && in SplitLandingPadPredecessors() 563 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors() 566 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors() 568 LPad->eraseFromParent(); in SplitLandingPadPredecessors() 572 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors() 573 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
|
D | SimplifyCFG.cpp | 5146 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI, in TryToMergeLandingPad() argument 5160 if (!LPad2 || !LPad2->isIdenticalTo(LPad)) in TryToMergeLandingPad() 5235 if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) { in SimplifyUncondBranch() local 5238 if (I->isTerminator() && TryToMergeLandingPad(LPad, BI, BB)) in SimplifyUncondBranch()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 581 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors() local 582 Instruction *Clone1 = LPad->clone(); in SplitLandingPadPredecessors() 587 Instruction *Clone2 = LPad->clone(); in SplitLandingPadPredecessors() 592 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors() 595 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors() 596 LPad->eraseFromParent(); in SplitLandingPadPredecessors() 600 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors() 601 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
|
/external/llvm/lib/Transforms/IPO/ |
D | LoopExtractor.cpp | 229 BasicBlock *LPad = II->getUnwindDest(); in SplitLandingPadPreds() local 235 PI = pred_begin(LPad), PE = pred_end(LPad); PI != PE; ++PI) { in SplitLandingPadPreds() 247 SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", NewBBs); in SplitLandingPadPreds()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | LoopExtractor.cpp | 222 BasicBlock *LPad = II->getUnwindDest(); in SplitLandingPadPreds() local 228 PI = pred_begin(LPad), PE = pred_end(LPad); PI != PE; ++PI) { in SplitLandingPadPreds() 240 SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", 0, NewBBs); in SplitLandingPadPreds()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | EHStreamer.cpp | 286 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable() 579 if (!S.LPad) { in emitExceptionTable() 586 S.LPad->LandingPadLabel->getName()); in emitExceptionTable() 587 Asm->EmitLabelDifference(S.LPad->LandingPadLabel, EHFuncBeginSym, 4); in emitExceptionTable()
|
D | EHStreamer.h | 68 const LandingPadInfo *LPad; // Null indicates that there is no landing pad. member
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 157 LandingPadInst *LPad = in Next() local 159 LPad->setCleanup(true); in Next() 160 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | FunctionLoweringInfo.h | 221 void CopyCatchInfo(const BasicBlock *SuccBB, const BasicBlock *LPad,
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 428 void llvm::CopyCatchInfo(const BasicBlock *SuccBB, const BasicBlock *LPad, in CopyCatchInfo() argument 440 AddCatchInfo(*EHSel, MMI, FLI.MBBMap[LPad]); in CopyCatchInfo()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 664 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition() local 665 PN = PHINode::Create(LPad->getType(), 0, "", in UnswitchNontrivialCondition()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 1119 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition() local 1120 PHINode *PN = PHINode::Create(LPad->getType(), 0, "", in UnswitchNontrivialCondition()
|