| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 208 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 209 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 390 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHIIt()); in calculateCXXStateNumbers() local 391 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 414 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 415 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 416 FuncInfo.EHPadStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 417 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 514 const auto *CatchPad = in calculateSEHStateNumbers() local 516 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 390 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 391 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
| H A D | TargetLoweringBase.cpp | 1857 case CatchPad: return 0; in InstructionOpcodeToISD()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Values.def | 81 DEF_INSTR(CatchPad, OP(CatchPad), CatchPadInst)
|
| H A D | Instruction.h | 1585 return From->getSubclassID() == ClassID::CatchPad || in classof() 1592 : FuncletPadInst(ClassID::CatchPad, Opcode::CatchPad, CPI, Ctx) {} in CatchPadInst() 1604 return From->getSubclassID() == ClassID::CatchPad; in classof() 1631 LLVM_ABI static CatchReturnInst *create(CatchPadInst *CatchPad, 1635 LLVM_ABI void setCatchPad(CatchPadInst *CatchPad);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 844 case Instruction::CatchPad: 881 case Instruction::CatchPad:
|
| H A D | Instructions.h | 4301 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, AllocInfo, 4324 return I->getOpcode() == Instruction::CatchPad; 4339 LLVM_ABI CatchReturnInst(Value *CatchPad, BasicBlock *BB, 4342 void init(Value *CatchPad, BasicBlock *BB); 4351 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4353 assert(CatchPad); 4355 return new (AllocMarker) CatchReturnInst(CatchPad, BB, InsertBefore); 4363 void setCatchPad(CatchPadInst *CatchPad) { 4364 assert(CatchPad); 4365 Op<0>() = CatchPad;
|
| H A D | Instruction.def | 201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
|
| H A D | IRBuilder.h | 1340 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument 1341 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 292 auto *CatchPad = in getUnwindDestTokenHelper() local 294 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 322 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 527 auto *CatchPad = &*HandlerBlock->getFirstNonPHIIt(); in getUnwindDestToken() local 528 for (User *U : CatchPad->users()) { in getUnwindDestToken() 532 ->getFirstNonPHIIt()) == CatchPad)) && in getUnwindDestToken() 599 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 600 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
| H A D | Local.cpp | 3159 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 3161 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks() 3184 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHIIt()); in markAliveBlocks() local 3185 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1609 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() local 1634 OperandBundleDef("funclet", CatchPad), "label"); in handleLongjmpableCallsForWasmSjLj() 1640 WasmLongjmpF, {Env, Val}, OperandBundleDef("funclet", CatchPad)); in handleLongjmpableCallsForWasmSjLj() 1645 IRB.CreateCatchRet(CatchPad, SetjmpDispatchBB); in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 494 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 583 case Instruction::CatchPad: in getModRefInfo()
|
| H A D | ValueTracking.cpp | 7032 case Instruction::CatchPad: in isSafeToSpeculativelyExecuteWithOpcode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | Legality.cpp | 176 case Instruction::Opcode::CatchPad: in notVectorizableBasedOnOpcodesAndTypes()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 774 case CatchPad: return "catchpad"; in getOpcodeName() 1012 case Instruction::CatchPad: in mayReadFromMemory() 1032 case Instruction::CatchPad: in mayWriteToMemory()
|
| H A D | Core.cpp | 3510 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument 3512 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3516 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument 3518 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet() 3569 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument 3570 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3573 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument 3574 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| H A D | Instructions.cpp | 1060 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument 1061 Op<0>() = CatchPad; in init() 1072 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument 1076 init(CatchPad, BB); in CatchReturnInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 709 CatchReturnInst *CatchReturnInst::create(CatchPadInst *CatchPad, BasicBlock *BB, in create() argument 713 cast<llvm::CatchPadInst>(CatchPad->Val), cast<llvm::BasicBlock>(BB->Val)); in create() 722 void CatchReturnInst::setCatchPad(CatchPadInst *CatchPad) { in setCatchPad() argument 727 cast<llvm::CatchPadInst>(CatchPad->Val)); in setCatchPad()
|
| H A D | Context.cpp | 159 case llvm::Instruction::CatchPad: { in getOrCreateValueInternal()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 4436 LLVMValueRef CatchPad, 4439 LLVMValueRef CatchPad, 4515 LLVM_C_ABI LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); 4524 LLVM_C_ABI void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad,
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 961 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
|
| H A D | LLParser.cpp | 7756 Value *CatchPad = nullptr; in parseCatchRet() local 7761 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet() 7769 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5623 Value *CatchPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local 5625 if (!CatchPad) in parseFunctionBody() 5631 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3327 case Instruction::CatchPad: { in writeInstruction()
|