Home
last modified time | relevance | path

Searched refs:CatchPad (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp207 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
388 Handlers.push_back(CatchPad); in calculateCXXStateNumbers()
411 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local
412 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers()
413 FuncInfo.EHPadStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers()
414 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers()
510 const auto *CatchPad = in calculateSEHStateNumbers() local
512 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers()
522 FuncInfo.EHPadStateMap[CatchPad] = TryState; in calculateSEHStateNumbers()
533 for (const User *U : CatchPad->users()) { in calculateSEHStateNumbers()
[all …]
H A DWasmEHPrepare.cpp390 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local
391 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
H A DTargetLoweringBase.cpp1849 case CatchPad: return 0; in InstructionOpcodeToISD()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4587 return I->getOpcode() == Instruction::CatchPad;
4603 void init(Value *CatchPad, BasicBlock *BB);
4612 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4614 assert(CatchPad);
4616 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore);
4619 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4621 assert(CatchPad);
4623 return new (2) CatchReturnInst(CatchPad, BB, InsertAtEnd);
4631 void setCatchPad(CatchPadInst *CatchPad) {
4632 assert(CatchPad);
[all …]
H A DInstruction.h755 case Instruction::CatchPad:
792 case Instruction::CatchPad:
H A DInstruction.def201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
H A DIRBuilder.h1253 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument
1254 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp271 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local
272 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper()
300 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper()
505 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local
506 for (User *U : CatchPad->users()) { in getUnwindDestToken()
511 CatchPad)) && in getUnwindDestToken()
577 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local
578 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
H A DLocal.cpp3072 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
3074 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks()
3097 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local
3098 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1717 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() local
1744 OperandBundleDef("funclet", CatchPad), "label"); in handleLongjmpableCallsForWasmSjLj()
1750 WasmLongjmpF, {Env, Val}, OperandBundleDef("funclet", CatchPad)); in handleLongjmpableCallsForWasmSjLj()
1755 IRB.CreateCatchRet(CatchPad, SetjmpDispatchBB); in handleLongjmpableCallsForWasmSjLj()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp620 case CatchPad: return "catchpad"; in getOpcodeName()
845 case Instruction::CatchPad: in mayReadFromMemory()
865 case Instruction::CatchPad: in mayWriteToMemory()
H A DCore.cpp3242 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument
3244 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet()
3248 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument
3250 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
3301 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument
3302 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch()
3305 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument
3306 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
H A DInstructions.cpp1051 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument
1052 Op<0>() = CatchPad; in init()
1063 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
1068 init(CatchPad, BB); in CatchReturnInst()
1071 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
1076 init(CatchPad, BB); in CatchReturnInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp540 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
629 case Instruction::CatchPad: in getModRefInfo()
H A DValueTracking.cpp6246 case Instruction::CatchPad: in isSafeToSpeculativelyExecuteWithOpcode()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3938 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3940 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
4008 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad);
4017 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp900 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
H A DLLParser.cpp7007 Value *CatchPad = nullptr; in parseCatchRet() local
7012 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet()
7020 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5354 Value *CatchPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local
5356 if (!CatchPad) in parseFunctionBody()
5362 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3075 case Instruction::CatchPad: { in writeInstruction()