Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp192 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
193 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes()
249 Handlers.push_back(CatchPad); in calculateCXXStateNumbers()
262 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local
263 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers()
264 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers()
352 const auto *CatchPad = in calculateSEHStateNumbers() local
354 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers()
374 for (const User *U : CatchPad->users()) { in calculateSEHStateNumbers()
939 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); in removeImplausibleInstructions() local
[all …]
H A DWasmEHPrepare.cpp400 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local
401 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
H A DTargetLoweringBase.cpp1454 case CatchPad: return 0; in InstructionOpcodeToISD()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstruction.h548 case Instruction::CatchPad:
576 case Instruction::CatchPad:
H A DInstructions.h4173 return I->getOpcode() == Instruction::CatchPad;
4189 void init(Value *CatchPad, BasicBlock *BB);
4198 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4200 assert(CatchPad);
4202 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore);
4205 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4207 assert(CatchPad);
4209 return new (2) CatchReturnInst(CatchPad, BB, InsertAtEnd);
4217 void setCatchPad(CatchPadInst *CatchPad) {
4218 assert(CatchPad);
[all …]
H A DInstruction.def201 HANDLE_FUNCLETPAD_INST(51, CatchPad , CatchPadInst)
H A DIRBuilder.h974 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet() argument
975 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp261 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local
262 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper()
290 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper()
495 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local
496 for (User *U : CatchPad->users()) { in getUnwindDestToken()
501 CatchPad)) && in getUnwindDestToken()
569 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local
570 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
H A DLocal.cpp2121 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
2123 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks()
2143 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local
2144 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp303 case CatchPad: return "catchpad"; in getOpcodeName()
515 case Instruction::CatchPad: in mayReadFromMemory()
535 case Instruction::CatchPad: in mayWriteToMemory()
H A DCore.cpp3047 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument
3049 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet()
3053 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument
3055 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
3108 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument
3109 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch()
3112 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument
3113 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
H A DInstructions.cpp815 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init() argument
816 Op<0>() = CatchPad; in init()
827 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
832 init(CatchPad, BB); in CatchReturnInst()
835 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() argument
840 init(CatchPad, BB); in CatchReturnInst()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DCore.h3423 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3425 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3493 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad);
3502 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasAnalysis.cpp475 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
H A DValueTracking.cpp3917 case Instruction::CatchPad: in isSafeToSpeculativelyExecute()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h622 case Instruction::CatchPad: in getModRefInfo()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp880 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
H A DLLParser.cpp6039 Value *CatchPad = nullptr; in ParseCatchRet() local
6044 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS)) in ParseCatchRet()
6052 Inst = CatchReturnInst::Create(CatchPad, BB); in ParseCatchRet()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3970 Value *CatchPad = in parseFunctionBody() local
3972 if (!CatchPad) in parseFunctionBody()
3978 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2752 case Instruction::CatchPad: { in writeInstruction()