Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A 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 …]
H A DWasmEHPrepare.cpp370 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local
371 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
H A DTargetLoweringBase.cpp1751 case CatchPad: return 0; in InstructionOpcodeToISD()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DAliasAnalysis.cpp579 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 DValueTracking.cpp4618 case Instruction::CatchPad: in isSafeToSpeculativelyExecute()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.h615 case Instruction::CatchPad:
647 case Instruction::CatchPad:
H A DInstructions.h4431 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values,
4436 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values,
4466 return I->getOpcode() == Instruction::CatchPad;
4479 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore);
4480 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd);
4482 void init(Value *CatchPad, BasicBlock *BB);
4491 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4493 assert(CatchPad);
4495 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore);
4498 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
[all …]
H A DInstruction.def201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
H A DIRBuilder.h1112 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument
1113 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp270 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 DLocal.cpp2345 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
2347 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks()
2370 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local
2371 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp329 case CatchPad: return "catchpad"; in getOpcodeName()
551 case Instruction::CatchPad: in mayReadFromMemory()
571 case Instruction::CatchPad: in mayWriteToMemory()
H A DCore.cpp3238 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument
3240 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet()
3244 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument
3246 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
3298 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument
3299 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch()
3302 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument
3303 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
H A DInstructions.cpp1060 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
1077 init(CatchPad, BB); in CatchReturnInst()
1080 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
1085 init(CatchPad, BB); in CatchReturnInst()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
H A Decho.cpp730 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local
734 Dst = LLVMBuildCleanupRet(Builder, CatchPad, Unwind); in CloneInstruction()
738 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local
740 Dst = LLVMBuildCatchRet(Builder, CatchPad, SuccBB); in CloneInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h3667 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3669 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3737 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad);
3746 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLLexer.cpp917 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
H A DLLParser.cpp6711 Value *CatchPad = nullptr; in parseCatchRet() local
6716 if (parseValue(Type::getTokenTy(Context), CatchPad, PFS)) in parseCatchRet()
6724 Inst = CatchReturnInst::Create(CatchPad, BB); in parseCatchRet()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm.ml248 | CatchPad Constructor
H A Dllvm.mli272 | CatchPad Constructor
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4475 Value *CatchPad = in parseFunctionBody() local
4477 if (!CatchPad) in parseFunctionBody()
4483 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2932 case Instruction::CatchPad: { in writeInstruction()