| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 194 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 195 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 254 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 277 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 278 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 279 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 375 const auto *CatchPad = in calculateSEHStateNumbers() local 377 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() 397 for (const User *U : CatchPad->users()) { in calculateSEHStateNumbers() 956 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); in removeImplausibleInstructions() local [all …]
|
| H A D | WasmEHPrepare.cpp | 353 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 354 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
| H A D | TargetLoweringBase.cpp | 1777 case CatchPad: return 0; in InstructionOpcodeToISD()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 579 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 582 return getModRefInfo(CatchPad, Loc, AAQIP); in getModRefInfo() 585 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 703 case Instruction::CatchPad: in getModRefInfo()
|
| H A D | ValueTracking.cpp | 4660 case Instruction::CatchPad: in isSafeToSpeculativelyExecute()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 629 case Instruction::CatchPad: 666 case Instruction::CatchPad:
|
| H A D | Instructions.h | 4479 return I->getOpcode() == Instruction::CatchPad; 4495 void init(Value *CatchPad, BasicBlock *BB); 4504 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4506 assert(CatchPad); 4508 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4511 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4513 assert(CatchPad); 4515 return new (2) CatchReturnInst(CatchPad, BB, InsertAtEnd); 4523 void setCatchPad(CatchPadInst *CatchPad) { 4524 assert(CatchPad); [all …]
|
| H A D | Instruction.def | 201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
|
| H A D | IRBuilder.h | 1130 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument 1131 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 270 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 271 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 299 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 504 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local 505 for (User *U : CatchPad->users()) { in getUnwindDestToken() 510 CatchPad)) && in getUnwindDestToken() 585 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 586 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
| H A D | Local.cpp | 2360 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 2362 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks() 2385 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local 2386 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 350 case CatchPad: return "catchpad"; in getOpcodeName() 572 case Instruction::CatchPad: in mayReadFromMemory() 592 case Instruction::CatchPad: in mayWriteToMemory()
|
| H A D | Core.cpp | 3249 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument 3251 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3255 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument 3257 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet() 3309 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument 3310 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3313 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument 3314 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| H A D | Instructions.cpp | 1070 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument 1071 Op<0>() = CatchPad; in init() 1082 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument 1087 init(CatchPad, BB); in CatchReturnInst() 1090 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument 1095 init(CatchPad, BB); in CatchReturnInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 3675 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3677 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3745 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); 3754 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 918 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
|
| H A D | LLParser.cpp | 6412 Value *CatchPad = nullptr; in parseCatchRet() local 6417 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet() 6425 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4442 Value *CatchPad = in parseFunctionBody() local 4444 if (!CatchPad) in parseFunctionBody() 4450 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 2936 case Instruction::CatchPad: { in writeInstruction()
|