/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLateEHPrepare.cpp | 65 MachineBasicBlock *EHPad = nullptr; in getMatchingEHPad() local 72 if (EHPad && EHPad != MBB) in getMatchingEHPad() 74 EHPad = MBB; in getMatchingEHPad() 81 return EHPad; in getMatchingEHPad() 167 auto *EHPad = getMatchingEHPad(TI); in replaceFuncletReturns() local 168 auto CatchPos = EHPad->begin(); in replaceFuncletReturns() 271 MachineBasicBlock *EHPad = getMatchingEHPad(Extract); in addExceptionExtraction() local 272 assert(EHPad && "No matching EH pad for extract_exception"); in addExceptionExtraction() 273 auto CatchPos = EHPad->begin(); in addExceptionExtraction() 279 EHPad->insert(Catch->getNextNode(), Extract->removeFromParent()); in addExceptionExtraction() [all …]
|
D | WebAssemblyExceptionInfo.cpp | 51 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() local 52 if (!EHPad->isEHPad()) in recalculate() 54 auto *WE = new WebAssemblyException(EHPad); in recalculate() 103 MachineBasicBlock *EHPad = WE->getEHPad(); in discoverAndMapException() local 105 WL.push_back(EHPad); in discoverAndMapException() 122 if (MDT.dominates(EHPad, Frontier)) in discoverAndMapException() 134 if (MDT.dominates(EHPad, Succ)) in discoverAndMapException()
|
D | WebAssemblyExceptionInfo.h | 43 MachineBasicBlock *EHPad = nullptr; variable 51 WebAssemblyException(MachineBasicBlock *EHPad) : EHPad(EHPad) {} in WebAssemblyException() argument 56 MachineBasicBlock *getEHPad() const { return EHPad; } in getEHPad() 57 MachineBasicBlock *getHeader() const { return EHPad; } in getHeader()
|
D | WebAssemblyCFGStackify.cpp | 96 MachineBasicBlock *EHPad); 186 MachineBasicBlock *EHPad) { in registerTryScope() argument 188 TryToEHPad[Begin] = EHPad; in registerTryScope() 189 EHPadToTry[EHPad] = Begin; in registerTryScope() 198 MachineBasicBlock *EHPad = TryToEHPad.lookup(Begin); in unregisterScope() local 199 if (EHPad) { in unregisterScope() 200 assert(EHPadToTry.count(EHPad)); in unregisterScope() 202 EHPadToTry.erase(EHPad); in unregisterScope() 1006 MachineBasicBlock *EHPad = P.first; in fixUnwindMismatches() local 1015 for (auto &MI : *EHPad) { in fixUnwindMismatches() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 218 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 219 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 221 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 228 static Value *getUnwindDestTokenHelper(Instruction *EHPad, in getUnwindDestTokenHelper() argument 230 SmallVector<Instruction *, 8> Worklist(1, EHPad); in getUnwindDestTokenHelper() 349 ExitedOriginalPad |= (ExitedPad == EHPad); in getUnwindDestTokenHelper() 379 static Value *getUnwindDestToken(Instruction *EHPad, in getUnwindDestToken() argument 384 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 385 EHPad = CPI->getCatchSwitch(); in getUnwindDestToken() 388 auto Memo = MemoMap.find(EHPad); in getUnwindDestToken() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 417 static bool isTopLevelPadForMSVC(const Instruction *EHPad) { in isTopLevelPadForMSVC() argument 418 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 421 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 424 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 1076 Instruction *EHPad = PHIBlock->getFirstNonPHI(); in insertPHILoads() local 1078 if (!EHPad->isTerminator()) { in insertPHILoads()
|
D | SplitKit.cpp | 116 if (none_of(EHPadSuccessors, [&](const MachineBasicBlock *EHPad) { in computeLastInsertPoint() argument 117 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 329 Instruction *EHPad = CV.front()->getFirstNonPHI(); in createCallInst() local 330 if (EHPad->isEHPad()) in createCallInst() 331 OpBundles.emplace_back("funclet", EHPad); in createCallInst()
|
D | ObjCARCOpts.cpp | 772 Instruction *EHPad = CV.front()->getFirstNonPHI(); in CloneCallInstForBB() local 773 if (EHPad->isEHPad()) in CloneCallInstForBB() 774 OpBundles.emplace_back("funclet", EHPad); in CloneCallInstForBB()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 1389 Instruction *EHPad = BBColor->getFirstNonPHI(); in CloneInstructionInExitBlock() local 1390 if (EHPad->isEHPad()) in CloneInstructionInExitBlock() 1391 OpBundles.emplace_back("funclet", EHPad); in CloneInstructionInExitBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Verifier.cpp | 3609 static Value *getParentPad(Value *EHPad) { in getParentPad() argument 3610 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() 3613 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
|