Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp208 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
209 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes()
388 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local
389 Handlers.push_back(CatchPad); in calculateCXXStateNumbers()
412 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local
413 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers()
414 FuncInfo.EHPadStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers()
415 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers()
511 const auto *CatchPad = in calculateSEHStateNumbers() local
513 const BasicBlock *CatchPadBB = CatchPad->getParent(); 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.cpp1770 case CatchPad: return 0; in InstructionOpcodeToISD()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp274 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local
275 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper()
303 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper()
508 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local
509 for (User *U : CatchPad->users()) { in getUnwindDestToken()
514 CatchPad)) && in getUnwindDestToken()
580 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local
581 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
H A DLocal.cpp3118 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
3120 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks()
3143 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local
3144 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h790 case Instruction::CatchPad:
827 case Instruction::CatchPad:
H A DInstructions.h4150 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values,
4173 return I->getOpcode() == Instruction::CatchPad;
4186 CatchReturnInst(Value *CatchPad, BasicBlock *BB, InsertPosition InsertBefore);
4188 void init(Value *CatchPad, BasicBlock *BB);
4197 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4199 assert(CatchPad);
4201 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore);
4209 void setCatchPad(CatchPadInst *CatchPad) {
4210 assert(CatchPad);
4211 Op<0>() = CatchPad;
H A DInstruction.def201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
H A DIRBuilder.h1264 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument
1265 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1604 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() local
1629 OperandBundleDef("funclet", CatchPad), "label"); in handleLongjmpableCallsForWasmSjLj()
1635 WasmLongjmpF, {Env, Val}, OperandBundleDef("funclet", CatchPad)); in handleLongjmpableCallsForWasmSjLj()
1640 IRB.CreateCatchRet(CatchPad, SetjmpDispatchBB); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp712 case CatchPad: return "catchpad"; in getOpcodeName()
937 case Instruction::CatchPad: in mayReadFromMemory()
957 case Instruction::CatchPad: in mayWriteToMemory()
H A DCore.cpp3455 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument
3457 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet()
3461 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument
3463 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
3514 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument
3515 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch()
3518 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument
3519 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
H A DInstructions.cpp993 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument
994 Op<0>() = CatchPad; in init()
1005 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
1010 init(CatchPad, BB); in CatchReturnInst()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp542 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
631 case Instruction::CatchPad: in getModRefInfo()
H A DValueTracking.cpp6917 case Instruction::CatchPad: in isSafeToSpeculativelyExecuteWithOpcode()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4201 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
4203 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
4271 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad);
4280 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp911 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
H A DLLParser.cpp7442 Value *CatchPad = nullptr; in parseCatchRet() local
7447 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet()
7455 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5531 Value *CatchPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local
5533 if (!CatchPad) in parseFunctionBody()
5539 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3164 case Instruction::CatchPad: { in writeInstruction()