Home
last modified time | relevance | path

Searched refs:getParentPad (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp227 if (CatchSwitch->getParentPad() != ParentPad) in getEHPadFromPredecessor()
233 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
260 CatchSwitch->getParentPad()))) in calculateCXXStateNumbers()
322 CleanupPad->getParentPad()))) { in calculateCXXStateNumbers()
391 CatchSwitch->getParentPad()))) in calculateSEHStateNumbers()
441 return isa<ConstantTokenNone>(CatchSwitch->getParentPad()) && in isTopLevelPadForMSVC()
444 return isa<ConstantTokenNone>(CleanupPad->getParentPad()) && in isTopLevelPadForMSVC()
535 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
537 ParentPad = CSI->getParentPad(); in calculateClrEHStateNumbers()
657 UserUnwindParent = CSI->getParentPad(); in calculateClrEHStateNumbers()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp234 static Value *getParentPad(Value *EHPad) { in getParentPad() function
236 return FPI->getParentPad(); in getParentPad()
237 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
354 UnwindParent = getParentPad(UnwindPad); in getUnwindDestTokenHelper()
426 for (AncestorToken = getParentPad(EHPad); in getUnwindDestToken()
428 AncestorToken = getParentPad(AncestorToken)) { in getUnwindDestToken()
480 assert(getParentPad(Memo->second) == getParentPad(UselessPad)); in getUnwindDestToken()
508 (getParentPad( in getUnwindDestToken()
521 (getParentPad( in getUnwindDestToken()
744 CatchSwitch->getParentPad(), UnwindDest, in HandleInlinedEHPad()
[all …]
H A DBasicBlockUtils.cpp649 ParentPad = FuncletPad->getParentPad(); in ehAwareSplitEdge()
651 ParentPad = CatchSwitch->getParentPad(); in ehAwareSplitEdge()
653 ParentPad = CleanupPad->getParentPad(); in ehAwareSplitEdge()
H A DLocal.cpp2463 CatchSwitch->getParentPad(), nullptr, CatchSwitch->getNumHandlers(), in removeUnwindEdge()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp3999 static Value *getParentPad(Value *EHPad) { in getParentPad() function
4001 return FPI->getParentPad(); in getParentPad()
4042 Value *ToPadParent = getParentPad(ToPad); in visitEHPadPredecessors()
4064 for (;; FromPad = getParentPad(FromPad)) { in visitEHPadPredecessors()
4146 Check(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
4148 CPI.getParentPad()); in visitCatchPadInst()
4179 auto *ParentPad = CPI.getParentPad(); in visitCleanupPadInst()
4284 getParentPad(UnwindPad) == getParentPad(&FPI)) in visitFuncletPadInst()
4309 Value *AncestorPad = getParentPad(UnclePad); in visitFuncletPadInst()
4361 auto *ParentPad = CatchSwitch.getParentPad(); in visitCatchSwitchInst()
[all …]
H A DAsmWriter.cpp4067 writeOperand(CatchSwitch->getParentPad(), /*PrintType=*/false); in printInstruction()
4083 writeOperand(FPI->getParentPad(), /*PrintType=*/false); in printInstruction()
H A DInstructions.cpp1155 init(CSI.getParentPad(), CSI.getUnwindDest(), CSI.getNumOperands()); in CatchSwitchInst()
1225 setParentPad(FPI.getParentPad()); in FuncletPadInst()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1841 Value *ParentPad = CPI->getParentPad(); in handleLongjmpableCallsForWasmSjLj()
1859 auto *NewCSI = IRB.CreateCatchSwitch(CSI->getParentPad(), in handleLongjmpableCallsForWasmSjLj()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h2404 Value *getParentPad() const { return Op<-1>(); }
H A DInstructions.h4341 Value *getParentPad() const { return getOperand(0); }
4597 return getCatchPad()->getCatchSwitch()->getParentPad();
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1514 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2982 pushValue(FuncletPad.getParentPad(), InstID, Vals); in writeInstruction()
2994 pushValue(CatchSwitch.getParentPad(), InstID, Vals); in writeInstruction()