| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyExceptionInfo.cpp | 84 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 85 if (!EHPad->isEHPad()) in recalculate() 87 auto WE = std::make_unique<WebAssemblyException>(EHPad); in recalculate() 128 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 129 if (!EHPad->isEHPad()) in recalculate() 131 if (!EHInfo->hasUnwindDest(EHPad)) in recalculate() 133 auto *UnwindDest = EHInfo->getUnwindDest(EHPad); in recalculate() 134 auto *SrcWE = getExceptionFor(EHPad); in recalculate() 167 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 168 if (!EHPad->isEHPad()) in recalculate() [all …]
|
| H A D | WebAssemblyLateEHPrepare.cpp | 74 MachineBasicBlock *EHPad = nullptr; in getMatchingEHPad() local 80 if (EHPad && EHPad != MBB) in getMatchingEHPad() 82 EHPad = MBB; in getMatchingEHPad() 91 return EHPad; in getMatchingEHPad() 187 MachineBasicBlock *EHPad = getMatchingEHPad(Catch); in hoistCatches() local 188 assert(EHPad && "No matching EH pad for catch"); in hoistCatches() 189 auto InsertPos = EHPad->begin(); in hoistCatches() 193 while (InsertPos != EHPad->end() && InsertPos->isEHLabel()) in hoistCatches() 198 EHPad->insert(InsertPos, Catch->removeFromParent()); in hoistCatches() 313 for (auto &[EHPad, Rethrows] : EHPadToRethrows) { in addCatchRefsAndThrowRefs() [all …]
|
| H A D | WebAssemblyExceptionInfo.h | 43 MachineBasicBlock *EHPad = nullptr; variable 51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} in WebAssemblyException() argument 55 MachineBasicBlock *getEHPad() const { return EHPad; } in getEHPad() 56 MachineBasicBlock *getHeader() const { return EHPad; } in getHeader()
|
| H A D | WebAssemblyUtilities.cpp | 150 MachineInstr *WebAssembly::findCatch(MachineBasicBlock *EHPad) { in findCatch() argument 151 assert(EHPad->isEHPad()); in findCatch() 152 auto Pos = EHPad->begin(); in findCatch() 155 while (Pos != EHPad->end() && in findCatch() 158 if (Pos != EHPad->end() && WebAssembly::isCatch(Pos->getOpcode())) in findCatch()
|
| H A D | WebAssemblyCFGStackify.cpp | 168 MachineBasicBlock *EHPad); 260 MachineBasicBlock *EHPad) { in registerTryScope() argument 262 TryToEHPad[Begin] = EHPad; in registerTryScope() 263 EHPadToTry[EHPad] = Begin; in registerTryScope() 272 MachineBasicBlock *EHPad = TryToEHPad.lookup(Begin); in unregisterScope() local 273 if (EHPad) { in unregisterScope() 274 assert(EHPadToTry.count(EHPad)); in unregisterScope() 276 EHPadToTry.erase(EHPad); in unregisterScope() 1989 MachineBasicBlock *EHPad = nullptr; in fixCallUnwindMismatches() local 1992 EHPad = Succ; in fixCallUnwindMismatches() [all …]
|
| H A D | WebAssemblyUtilities.h | 61 MachineInstr *findCatch(MachineBasicBlock *EHPad);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | FixupStatepointCallerSaved.cpp | 238 void reset(const MachineBasicBlock *EHPad) { in reset() argument 243 if (EHPad) in reset() 244 if (auto It = GlobalIndices.find(EHPad); It != GlobalIndices.end()) in reset() 249 int getFrameIndex(Register Reg, MachineBasicBlock *EHPad) { in getFrameIndex() argument 251 auto It = GlobalIndices.find(EHPad); in getFrameIndex() 260 << printMBBReference(*EHPad) << "\n"); in getFrameIndex() 287 if (EHPad) { in getFrameIndex() 288 GlobalIndices[EHPad].push_back(std::make_pair(Reg, FI)); in getFrameIndex() 291 << printMBBReference(*EHPad) << "\n"); in getFrameIndex() 316 MachineBasicBlock *EHPad; member in __anon2f435cf10211::StatepointState [all …]
|
| H A D | WinEHPrepare.cpp | 580 static bool isTopLevelPadForMSVC(const Instruction *EHPad) { in isTopLevelPadForMSVC() argument 581 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 584 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 587 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 1275 Instruction *EHPad = &*PHIBlock->getFirstNonPHIIt(); in insertPHILoads() local 1277 if (!EHPad->isTerminator()) { in insertPHILoads()
|
| H A D | SplitKit.cpp | 113 if (none_of(ExceptionalSuccessors, [&](const MachineBasicBlock *EHPad) { in computeLastInsertPoint() argument 114 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyUtilities.cpp | |
| H A D | WebAssemblyUtilities.h | |
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 35 BasicBlock::iterator EHPad = CV.front()->getFirstNonPHIIt(); in createCallInstWithColors() local 36 if (EHPad->isEHPad()) in createCallInstWithColors() 37 OpBundles.emplace_back("funclet", &*EHPad); in createCallInstWithColors()
|
| H A D | ObjCARCOpts.cpp | 586 if (auto *EHPad = in addOpBundleForFunclet() local 588 OpBundles.emplace_back("funclet", EHPad); in addOpBundleForFunclet()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 256 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 257 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 259 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 266 static Value *getUnwindDestTokenHelper(Instruction *EHPad, in getUnwindDestTokenHelper() argument 268 SmallVector<Instruction *, 8> Worklist(1, EHPad); in getUnwindDestTokenHelper() 388 ExitedOriginalPad |= (ExitedPad == EHPad); in getUnwindDestTokenHelper() 418 static Value *getUnwindDestToken(Instruction *EHPad, in getUnwindDestToken() argument 423 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 424 EHPad = CPI->getCatchSwitch(); in getUnwindDestToken() 427 auto Memo = MemoMap.find(EHPad); in getUnwindDestToken() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 561 if (llvm::Instruction *EHPad = CGF.CurrentFuncletPad) in getBundlesForCoroEnd() local 562 BundleList.emplace_back("funclet", EHPad); in getBundlesForCoroEnd()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LICM.cpp | 1382 BasicBlock::iterator EHPad = BBColor->getFirstNonPHIIt(); in cloneInstructionInExitBlock() local 1383 if (EHPad->isEHPad()) in cloneInstructionInExitBlock() 1384 OpBundles.emplace_back("funclet", &*EHPad); in cloneInstructionInExitBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 4536 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 4537 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 4540 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
|