/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyExceptionInfo.cpp | 85 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 86 if (!EHPad->isEHPad()) in recalculate() 88 auto WE = std::make_unique<WebAssemblyException>(EHPad); in recalculate() 129 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 130 if (!EHPad->isEHPad()) in recalculate() 132 if (!EHInfo->hasUnwindDest(EHPad)) in recalculate() 134 auto *UnwindDest = EHInfo->getUnwindDest(EHPad); in recalculate() 135 auto *SrcWE = getExceptionFor(EHPad); in recalculate() 168 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 169 if (!EHPad->isEHPad()) in recalculate() [all …]
|
H A D | WebAssemblyLateEHPrepare.cpp | 73 MachineBasicBlock *EHPad = nullptr; in getMatchingEHPad() local 79 if (EHPad && EHPad != MBB) in getMatchingEHPad() 81 EHPad = MBB; in getMatchingEHPad() 90 return EHPad; in getMatchingEHPad() 184 MachineBasicBlock *EHPad = getMatchingEHPad(Catch); in hoistCatches() local 185 assert(EHPad && "No matching EH pad for catch"); in hoistCatches() 186 auto InsertPos = EHPad->begin(); in hoistCatches() 190 while (InsertPos != EHPad->end() && InsertPos->isEHLabel()) in hoistCatches() 195 EHPad->insert(InsertPos, Catch->removeFromParent()); in hoistCatches()
|
H A D | WebAssemblyCFGStackify.cpp | 137 MachineBasicBlock *EHPad); 228 MachineBasicBlock *EHPad) { in registerTryScope() argument 230 TryToEHPad[Begin] = EHPad; in registerTryScope() 231 EHPadToTry[EHPad] = Begin; in registerTryScope() 240 MachineBasicBlock *EHPad = TryToEHPad.lookup(Begin); in unregisterScope() local 241 if (EHPad) { in unregisterScope() 242 assert(EHPadToTry.count(EHPad)); in unregisterScope() 244 EHPadToTry.erase(EHPad); in unregisterScope() 1237 MachineBasicBlock *EHPad = nullptr; in fixCallUnwindMismatches() local 1240 EHPad = Succ; in fixCallUnwindMismatches() [all …]
|
H A D | WebAssemblyExceptionInfo.h | 43 MachineBasicBlock *EHPad = nullptr; 51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} 55 MachineBasicBlock *getEHPad() const { return EHPad; } in getHeader() 56 MachineBasicBlock *getHeader() const { return EHPad; } in getParentException() 42 MachineBasicBlock *EHPad = nullptr; global() variable 50 WebAssemblyException(MachineBasicBlock * EHPad) WebAssemblyException() argument
|
H A D | WebAssemblyUtilities.cpp | 149 MachineInstr *WebAssembly::findCatch(MachineBasicBlock *EHPad) { in findCatch() argument 150 assert(EHPad->isEHPad()); in findCatch() 151 auto Pos = EHPad->begin(); in findCatch() 154 while (Pos != EHPad->end() && in findCatch() 157 if (Pos != EHPad->end() && WebAssembly::isCatch(Pos->getOpcode())) in findCatch()
|
H A D | WebAssemblyUtilities.h | 61 MachineInstr *findCatch(MachineBasicBlock *EHPad);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | FixupStatepointCallerSaved.cpp | 240 void reset(const MachineBasicBlock *EHPad) { in reset() argument 245 if (EHPad && GlobalIndices.count(EHPad)) in reset() 246 for (auto &RSP : GlobalIndices[EHPad]) in reset() 251 int getFrameIndex(Register Reg, MachineBasicBlock *EHPad) { in getFrameIndex() argument 253 auto It = GlobalIndices.find(EHPad); in getFrameIndex() 262 << printMBBReference(*EHPad) << "\n"); in getFrameIndex() 289 if (EHPad) { in getFrameIndex() 290 GlobalIndices[EHPad].push_back(std::make_pair(Reg, FI)); in getFrameIndex() 293 << printMBBReference(*EHPad) << "\n"); in getFrameIndex() 318 MachineBasicBlock *EHPad; member in __anon2f435cf10211::StatepointState [all …]
|
H A D | WinEHPrepare.cpp | 576 static bool isTopLevelPadForMSVC(const Instruction *EHPad) { in isTopLevelPadForMSVC() argument 577 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 580 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 583 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 1231 Instruction *EHPad = PHIBlock->getFirstNonPHI(); in insertPHILoads() local 1233 if (!EHPad->isTerminator()) { in insertPHILoads()
|
H A D | SplitKit.cpp | 114 if (none_of(ExceptionalSuccessors, [&](const MachineBasicBlock *EHPad) { in computeLastInsertPoint() argument 115 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 Instruction *EHPad = CV.front()->getFirstNonPHI(); in createCallInstWithColors() local 36 if (EHPad->isEHPad()) in createCallInstWithColors() 37 OpBundles.emplace_back("funclet", EHPad); in createCallInstWithColors()
|
H A D | ObjCARCOpts.cpp | 587 if (auto *EHPad = dyn_cast<FuncletPadInst>(EHPadBB->getFirstNonPHI())) { in addOpBundleForFunclet() local 588 OpBundles.emplace_back("funclet", EHPad); in addOpBundleForFunclet()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 238 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 239 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 241 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 248 static Value *getUnwindDestTokenHelper(Instruction *EHPad, in getUnwindDestTokenHelper() argument 250 SmallVector<Instruction *, 8> Worklist(1, EHPad); in getUnwindDestTokenHelper() 369 ExitedOriginalPad |= (ExitedPad == EHPad); in getUnwindDestTokenHelper() 399 static Value *getUnwindDestToken(Instruction *EHPad, in getUnwindDestToken() argument 404 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 405 EHPad = CPI->getCatchSwitch(); in getUnwindDestToken() 408 auto Memo = MemoMap.find(EHPad); in getUnwindDestToken() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCoroutine.cpp | 560 if (llvm::Instruction *EHPad = CGF.CurrentFuncletPad) in getBundlesForCoroEnd() local 561 BundleList.emplace_back("funclet", EHPad); in getBundlesForCoroEnd()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 862 Instruction *EHPad = CV.front()->getFirstNonPHI(); in populateEHOperandBundle() local 863 if (EHPad->isEHPad()) in populateEHOperandBundle() 864 OpBundles.emplace_back("funclet", EHPad); in populateEHOperandBundle()
|
H A D | AddressSanitizer.cpp | 688 Instruction *EHPad = Color->getFirstNonPHI(); in ~RuntimeCallInserter() local 690 if (EHPad && EHPad->isEHPad()) { in ~RuntimeCallInserter() 692 OperandBundleDef OB("funclet", EHPad); in ~RuntimeCallInserter()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 1450 Instruction *EHPad = BBColor->getFirstNonPHI(); in cloneInstructionInExitBlock() local 1451 if (EHPad->isEHPad()) in cloneInstructionInExitBlock() 1452 OpBundles.emplace_back("funclet", EHPad); in cloneInstructionInExitBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 4368 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 4369 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 4372 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
|