Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DWinEHPrepare.cpp194 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 …]
DWasmEHPrepare.cpp358 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local
359 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
DTargetLoweringBase.cpp1804 case CatchPad: return 0; in InstructionOpcodeToISD()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstruction.h651 case Instruction::CatchPad:
688 case Instruction::CatchPad:
DInstructions.h4538 : 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 …]
DInstruction.def201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
DIRBuilder.h1174 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/
DInlineFunction.cpp273 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()
DLocal.cpp2503 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/
DInstruction.cpp409 case CatchPad: return "catchpad"; in getOpcodeName()
634 case Instruction::CatchPad: in mayReadFromMemory()
654 case Instruction::CatchPad: in mayWriteToMemory()
DCore.cpp3198 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()
DInstructions.cpp1200 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/
DWebAssemblyLowerEmscriptenEHSjLj.cpp1723 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/
Decho.cpp735 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/
DAliasAnalysis.cpp540 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
629 case Instruction::CatchPad: in getModRefInfo()
DValueTracking.cpp4901 case Instruction::CatchPad: in isSafeToSpeculativelyExecuteWithOpcode()
/openbsd/src/gnu/llvm/llvm/include/llvm-c/
DCore.h3743 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/
DLLLexer.cpp885 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
DLLParser.cpp6828 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/
Dllvm.ml248 | CatchPad Constructor
Dllvm.mli272 | CatchPad Constructor
/openbsd/src/gnu/llvm/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5310 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/
DBitcodeWriter.cpp3026 case Instruction::CatchPad: { in writeInstruction()