Home
last modified time | relevance | path

Searched refs:LPad (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/test/Transforms/SCCP/
D2003-08-26-InvokeHandling.ll11 to label %Ok unwind label %LPad
14 LPad:
19 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %LPad ] ; <i32> [#uses=1]
/external/llvm-project/llvm/test/Transforms/SCCP/
D2003-08-26-InvokeHandling.ll11 to label %Ok unwind label %LPad
14 LPad:
19 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %LPad ] ; <i32> [#uses=1]
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DWasmException.cpp85 MachineBasicBlock *LPad = Info->LandingPadBlock; in computeCallSiteTable() local
87 if (!MF.hasWasmLandingPadIndex(LPad)) in computeCallSiteTable()
91 unsigned LPadIndex = MF.getWasmLandingPadIndex(LPad); in computeCallSiteTable()
DEHStreamer.cpp320 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
729 if (!S.LPad) { in emitExceptionTable()
736 S.LPad->LandingPadLabel->getName()); in emitExceptionTable()
737 Asm->emitCallSiteOffset(S.LPad->LandingPadLabel, in emitExceptionTable()
DEHStreamer.h67 const LandingPadInfo *LPad; // Null indicates that there is no landing pad. member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DWasmException.cpp84 MachineBasicBlock *LPad = Info->LandingPadBlock; in computeCallSiteTable() local
86 if (!MF.hasWasmLandingPadIndex(LPad)) in computeCallSiteTable()
90 unsigned LPadIndex = MF.getWasmLandingPadIndex(LPad); in computeCallSiteTable()
DEHStreamer.cpp295 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
535 if (!S.LPad) { in emitExceptionTable()
542 S.LPad->LandingPadLabel->getName()); in emitExceptionTable()
543 Asm->EmitCallSiteOffset(S.LPad->LandingPadLabel, EHFuncBeginSym, in emitExceptionTable()
DEHStreamer.h67 const LandingPadInfo *LPad; // Null indicates that there is no landing pad. member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEscapeEnumerator.cpp79 LandingPadInst *LPad = in Next() local
81 LPad->setCleanup(true); in Next()
82 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
DBasicBlockUtils.cpp852 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors() local
853 Instruction *Clone1 = LPad->clone(); in SplitLandingPadPredecessors()
858 Instruction *Clone2 = LPad->clone(); in SplitLandingPadPredecessors()
864 if (!LPad->use_empty()) { in SplitLandingPadPredecessors()
865 assert(!LPad->getType()->isTokenTy() && in SplitLandingPadPredecessors()
868 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors()
871 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors()
873 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
877 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors()
878 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
DSimplifyCFG.cpp5802 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI, in TryToMergeLandingPad() argument
5816 if (!LPad2 || !LPad2->isIdenticalTo(LPad)) in TryToMergeLandingPad()
5892 if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) { in SimplifyUncondBranch() local
5895 if (I->isTerminator() && TryToMergeLandingPad(LPad, BI, BB)) in SimplifyUncondBranch()
/external/llvm-project/llvm/lib/Transforms/Utils/
DEscapeEnumerator.cpp83 LandingPadInst *LPad = in Next() local
85 LPad->setCleanup(true); in Next()
86 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
DBasicBlockUtils.cpp892 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors() local
893 Instruction *Clone1 = LPad->clone(); in SplitLandingPadPredecessors()
898 Instruction *Clone2 = LPad->clone(); in SplitLandingPadPredecessors()
904 if (!LPad->use_empty()) { in SplitLandingPadPredecessors()
905 assert(!LPad->getType()->isTokenTy() && in SplitLandingPadPredecessors()
908 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors()
911 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors()
913 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
917 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors()
918 LPad->eraseFromParent(); in SplitLandingPadPredecessors()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp547 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()
/external/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp229 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-10.0/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp143 BasicBlock *LPad = II->getUnwindDest(); in splitLandingPadPreds() local
148 for (auto PredBB : predecessors(LPad)) { in splitLandingPadPreds()
160 SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", NewBBs); in splitLandingPadPreds()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineFunction.h909 void setWasmLandingPadIndex(const MachineBasicBlock *LPad, unsigned Index) {
910 WasmLPadToIndexMap[LPad] = Index;
914 bool hasWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
915 return WasmLPadToIndexMap.count(LPad);
919 unsigned getWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
920 assert(hasWasmLandingPadIndex(LPad));
921 return WasmLPadToIndexMap.lookup(LPad);
/external/llvm-project/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp157 BasicBlock *LPad = II->getUnwindDest(); in splitLandingPadPreds() local
162 for (auto PredBB : predecessors(LPad)) { in splitLandingPadPreds()
174 SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", NewBBs); in splitLandingPadPreds()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineFunction.h997 void setWasmLandingPadIndex(const MachineBasicBlock *LPad, unsigned Index) {
998 WasmLPadToIndexMap[LPad] = Index;
1002 bool hasWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
1003 return WasmLPadToIndexMap.count(LPad);
1007 unsigned getWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
1008 assert(hasWasmLandingPadIndex(LPad));
1009 return WasmLPadToIndexMap.lookup(LPad);
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp286 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()
DEHStreamer.h68 const LandingPadInfo *LPad; // Null indicates that there is no landing pad. member
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp157 LandingPadInst *LPad = in Next() local
159 LPad->setCleanup(true); in Next()
160 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1119 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition() local
1120 PHINode *PN = PHINode::Create(LPad->getType(), 0, "", in UnswitchNontrivialCondition()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1308 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in unswitchNontrivialCondition() local
1309 PHINode *PN = PHINode::Create(LPad->getType(), 0, "", in unswitchNontrivialCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1328 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition() local
1329 PHINode *PN = PHINode::Create(LPad->getType(), 0, "", in UnswitchNontrivialCondition()

12