Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DWasmException.cpp86 MachineBasicBlock *LPad = Info->LandingPadBlock; in computeCallSiteTable() local
88 if (!MF.hasWasmLandingPadIndex(LPad)) in computeCallSiteTable()
92 unsigned LPadIndex = MF.getWasmLandingPadIndex(LPad); in computeCallSiteTable()
H A DEHStreamer.cpp320 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
736 if (!S.LPad) { in emitExceptionTable()
743 S.LPad->LandingPadLabel->getName()); in emitExceptionTable()
744 Asm->emitCallSiteOffset(S.LPad->LandingPadLabel, in emitExceptionTable()
H A DEHStreamer.h67 const LandingPadInfo *LPad; // Null indicates that there is no landing pad. member
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp83 LandingPadInst *LPad = in Next() local
85 LPad->setCleanup(true); in Next()
86 ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB); in Next()
H A DBasicBlockUtils.cpp1362 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessorsImpl() local
1363 Instruction *Clone1 = LPad->clone(); in SplitLandingPadPredecessorsImpl()
1368 Instruction *Clone2 = LPad->clone(); in SplitLandingPadPredecessorsImpl()
1374 if (!LPad->use_empty()) { in SplitLandingPadPredecessorsImpl()
1375 assert(!LPad->getType()->isTokenTy() && in SplitLandingPadPredecessorsImpl()
1378 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessorsImpl()
1381 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessorsImpl()
1383 LPad->eraseFromParent(); in SplitLandingPadPredecessorsImpl()
1387 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessorsImpl()
1388 LPad->eraseFromParent(); in SplitLandingPadPredecessorsImpl()
H A DSimplifyCFG.cpp6862 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI, in TryToMergeLandingPad() argument
6876 if (!LPad2 || !LPad2->isIdenticalTo(LPad)) in TryToMergeLandingPad()
6962 if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) { in simplifyUncondBranch() local
6965 if (I->isTerminator() && TryToMergeLandingPad(LPad, BI, BB, DTU)) in simplifyUncondBranch()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp106 BasicBlock *LPad = II->getUnwindDest(); in splitLandingPadPreds() local
111 for (auto *PredBB : predecessors(LPad)) { in splitLandingPadPreds()
123 SplitLandingPadPredecessors(LPad, Parent, ".1", ".2", NewBBs); in splitLandingPadPreds()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineFunction.h1152 void setWasmLandingPadIndex(const MachineBasicBlock *LPad, unsigned Index) {
1153 WasmLPadToIndexMap[LPad] = Index;
1157 bool hasWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
1158 return WasmLPadToIndexMap.count(LPad);
1162 unsigned getWasmLandingPadIndex(const MachineBasicBlock *LPad) const {
1163 assert(hasWasmLandingPadIndex(LPad));
1164 return WasmLPadToIndexMap.lookup(LPad);