| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | WinEHPrepare.cpp | 194 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 195 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 253 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local 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() 379 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() [all …]
|
| D | WasmEHPrepare.cpp | 358 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 359 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
| D | TargetLoweringBase.cpp | 1804 case CatchPad: return 0; in InstructionOpcodeToISD()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | Instruction.h | 651 case Instruction::CatchPad: 688 case Instruction::CatchPad:
|
| D | Instructions.h | 4538 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4543 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4573 return I->getOpcode() == Instruction::CatchPad; 4586 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore); 4587 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd); 4589 void init(Value *CatchPad, BasicBlock *BB); 4598 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4600 assert(CatchPad); 4602 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4605 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, [all …]
|
| D | Instruction.def | 201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
|
| D | IRBuilder.h | 1174 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument 1175 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | InlineFunction.cpp | 273 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 274 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 302 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 507 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local 508 for (User *U : CatchPad->users()) { in getUnwindDestToken() 513 CatchPad)) && in getUnwindDestToken() 579 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 580 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
| D | Local.cpp | 2503 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 2505 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks() 2528 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local 2529 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | Instruction.cpp | 409 case CatchPad: return "catchpad"; in getOpcodeName() 634 case Instruction::CatchPad: in mayReadFromMemory() 654 case Instruction::CatchPad: in mayWriteToMemory()
|
| D | Core.cpp | 3198 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument 3200 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3204 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument 3206 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet() 3257 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument 3258 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3261 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument 3262 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| D | Instructions.cpp | 1200 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument 1201 Op<0>() = CatchPad; in init() 1212 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument 1217 init(CatchPad, BB); in CatchReturnInst() 1220 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument 1225 init(CatchPad, BB); in CatchReturnInst()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1723 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() local 1752 OperandBundleDef("funclet", CatchPad), "label"); in handleLongjmpableCallsForWasmSjLj() 1758 WasmLongjmpF, {Env, Val}, OperandBundleDef("funclet", CatchPad)); in handleLongjmpableCallsForWasmSjLj() 1763 IRB.CreateCatchRet(CatchPad, SetjmpDispatchBB); in handleLongjmpableCallsForWasmSjLj()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-c-test/ |
| D | echo.cpp | 735 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 739 Dst = LLVMBuildCleanupRet(Builder, CatchPad, Unwind); in CloneInstruction() 743 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 745 Dst = LLVMBuildCatchRet(Builder, CatchPad, SuccBB); in CloneInstruction()
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | AliasAnalysis.cpp | 540 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 629 case Instruction::CatchPad: in getModRefInfo()
|
| D | ValueTracking.cpp | 4901 case Instruction::CatchPad: in isSafeToSpeculativelyExecuteWithOpcode()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm-c/ |
| D | Core.h | 3743 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3745 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3813 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); 3822 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
|
| /openbsd/src/gnu/llvm/llvm/lib/AsmParser/ |
| D | LLLexer.cpp | 885 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
|
| D | LLParser.cpp | 6828 Value *CatchPad = nullptr; in parseCatchRet() local 6833 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet() 6841 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
|
| /openbsd/src/gnu/llvm/llvm/bindings/ocaml/llvm/ |
| D | llvm.ml | 248 | CatchPad Constructor
|
| D | llvm.mli | 272 | CatchPad Constructor
|
| /openbsd/src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| D | BitcodeReader.cpp | 5310 Value *CatchPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local 5312 if (!CatchPad) in parseFunctionBody() 5318 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
|
| /openbsd/src/gnu/llvm/llvm/lib/Bitcode/Writer/ |
| D | BitcodeWriter.cpp | 3026 case Instruction::CatchPad: { in writeInstruction()
|