Searched refs:CatchPad (Results 1 - 19 of 19) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp193 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad))
194 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest();
249 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); local
250 Handlers.push_back(CatchPad);
263 for (const auto *CatchPad : Handlers) {
264 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow;
265 for (const User *U : CatchPad->users()) {
353 const auto *CatchPad = local
355 const BasicBlock *CatchPadBB = CatchPad->getParent();
357 cast<Constant>(CatchPad
940 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); local
[all...]
H A DWasmEHPrepare.cpp362 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) {
363 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest();
H A DTargetLoweringBase.cpp1591 case CatchPad: return 0;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h568 case Instruction::CatchPad:
596 case Instruction::CatchPad:
H A DInstructions.h4441 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values,
4446 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values,
4476 return I->getOpcode() == Instruction::CatchPad;
4489 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore);
4490 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd);
4492 void init(Value *CatchPad, BasicBlock *BB);
4501 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, argument
4503 assert(CatchPad);
4505 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore);
4508 static CatchReturnInst *Create(Value *CatchPad, BasicBloc argument
4520 setCatchPad(CatchPadInst *CatchPad) argument
[all...]
H A DIRBuilder.h1133 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { argument
1134 return Insert(CatchReturnInst::Create(CatchPad, BB));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp254 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); local
255 for (User *Child : CatchPad->users()) {
283 assert(getParentPad(ChildUnwindDestToken) == CatchPad);
488 auto *CatchPad = HandlerBlock->getFirstNonPHI(); local
489 for (User *U : CatchPad->users()) {
494 CatchPad)) &&
562 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad))
563 MemoKey = CatchPad->getCatchSwitch();
H A DLocal.cpp2152 static unsigned getHashValue(CatchPadInst *CatchPad) { argument
2154 CatchPad->value_op_begin(), CatchPad->value_op_end()));
2174 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); local
2175 if (!HandlerSet.insert({CatchPad, Empty}).second) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp536 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, argument
539 return getModRefInfo(CatchPad, Loc, AAQIP);
542 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, argument
H A DValueTracking.cpp4133 case Instruction::CatchPad:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp304 case CatchPad: return "catchpad";
522 case Instruction::CatchPad:
542 case Instruction::CatchPad:
H A DCore.cpp3177 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3179 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad),
3183 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3185 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad),
3238 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) {
3239 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch());
3242 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) {
3243 unwrap<CatchPadInst>(CatchPad)
H A DInstructions.cpp960 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { argument
961 Op<0>() = CatchPad;
972 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, argument
977 init(CatchPad, BB);
980 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, argument
985 init(CatchPad, BB);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3607 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3609 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad,
3677 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad);
3686 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h747 case Instruction::CatchPad:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp895 INSTKEYWORD(catchpad, CatchPad);
H A DLLParser.cpp6214 Value *CatchPad = nullptr;
6219 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS))
6227 Inst = CatchReturnInst::Create(CatchPad, BB);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4279 Value *CatchPad = local
4281 if (!CatchPad)
4287 I = CatchReturnInst::Create(CatchPad, BB);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2806 case Instruction::CatchPad: {

Completed in 265 milliseconds