Searched refs:EHPad (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLateEHPrepare.cpp65 MachineBasicBlock *EHPad = nullptr; local
72 if (EHPad && EHPad != MBB)
74 EHPad = MBB;
81 return EHPad;
167 auto *EHPad = getMatchingEHPad(TI); local
168 auto CatchPos = EHPad->begin();
271 MachineBasicBlock *EHPad = getMatchingEHPad(Extract); local
272 assert(EHPad && "No matching EH pad for extract_exception");
273 auto CatchPos = EHPad
[all...]
H A DWebAssemblyExceptionInfo.cpp51 MachineBasicBlock *EHPad = DomNode->getBlock(); local
52 if (!EHPad->isEHPad())
54 auto *WE = new WebAssemblyException(EHPad);
103 MachineBasicBlock *EHPad = WE->getEHPad(); local
105 WL.push_back(EHPad);
122 if (MDT.dominates(EHPad, Frontier))
134 if (MDT.dominates(EHPad, Succ))
H A DWebAssemblyExceptionInfo.h43 MachineBasicBlock *EHPad = nullptr; member in class:llvm::WebAssemblyException
51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} argument
56 MachineBasicBlock *getEHPad() const { return EHPad; }
57 MachineBasicBlock *getHeader() const { return EHPad; }
H A DWebAssemblyCFGStackify.cpp96 MachineBasicBlock *EHPad);
186 MachineBasicBlock *EHPad) {
188 TryToEHPad[Begin] = EHPad;
189 EHPadToTry[EHPad] = Begin;
198 MachineBasicBlock *EHPad = TryToEHPad.lookup(Begin); local
199 if (EHPad) {
200 assert(EHPadToTry.count(EHPad));
202 EHPadToTry.erase(EHPad);
1006 MachineBasicBlock *EHPad = P.first; local
1015 for (auto &MI : *EHPad) {
184 registerTryScope(MachineInstr *Begin, MachineInstr *End, MachineBasicBlock *EHPad) argument
1121 MachineBasicBlock *EHPad = nullptr; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp218 static Value *getParentPad(Value *EHPad) { argument
219 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad))
221 return cast<CatchSwitchInst>(EHPad)->getParentPad();
228 static Value *getUnwindDestTokenHelper(Instruction *EHPad, argument
230 SmallVector<Instruction *, 8> Worklist(1, EHPad);
335 // original EHPad being queried is one of the ones exited.
349 ExitedOriginalPad |= (ExitedPad == EHPad);
379 static Value *getUnwindDestToken(Instruction *EHPad, argument
384 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad))
385 EHPad
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp329 Instruction *EHPad = CV.front()->getFirstNonPHI(); local
330 if (EHPad->isEHPad())
331 OpBundles.emplace_back("funclet", EHPad);
H A DObjCARCOpts.cpp772 Instruction *EHPad = CV.front()->getFirstNonPHI(); local
773 if (EHPad->isEHPad())
774 OpBundles.emplace_back("funclet", EHPad);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp218 // Given BB which ends in an unwind edge, return the EHPad that this BB belongs
230 assert(!TI->isEHPad() && "unexpected EHPad!");
417 static bool isTopLevelPadForMSVC(const Instruction *EHPad) { argument
418 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad))
421 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad))
424 if (isa<CatchPadInst>(EHPad))
426 llvm_unreachable("unexpected EHPad!");
1076 Instruction *EHPad = PHIBlock->getFirstNonPHI(); local
1078 if (!EHPad->isTerminator()) {
1079 // If the EHPad is
[all...]
H A DSplitKit.cpp116 if (none_of(EHPadSuccessors, [&](const MachineBasicBlock *EHPad) {
117 return LIS.isLiveInToMBB(CurLI, EHPad);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp386 if (llvm::Instruction *EHPad = CGF.CurrentFuncletPad)
387 BundleList.emplace_back("funclet", EHPad);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1389 Instruction *EHPad = BBColor->getFirstNonPHI(); local
1390 if (EHPad->isEHPad())
1391 OpBundles.emplace_back("funclet", EHPad);
1487 // It's not impossible to split EHPad blocks, but if BlockColors already exist
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3609 static Value *getParentPad(Value *EHPad) { argument
3610 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad))
3613 return cast<CatchSwitchInst>(EHPad)->getParentPad();

Completed in 138 milliseconds