| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A 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 …]
|
| H A D | WasmEHPrepare.cpp | 370 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 371 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
| H A D | TargetLoweringBase.cpp | 1751 case CatchPad: return 0; in InstructionOpcodeToISD()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 579 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 D | ValueTracking.cpp | 4618 case Instruction::CatchPad: in isSafeToSpeculativelyExecute()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 615 case Instruction::CatchPad: 647 case Instruction::CatchPad:
|
| H A D | Instructions.h | 4431 : 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 D | Instruction.def | 201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
|
| H A D | IRBuilder.h | 1112 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 D | InlineFunction.cpp | 270 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 D | Local.cpp | 2345 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 D | Instruction.cpp | 329 case CatchPad: return "catchpad"; in getOpcodeName() 551 case Instruction::CatchPad: in mayReadFromMemory() 571 case Instruction::CatchPad: in mayWriteToMemory()
|
| H A D | Core.cpp | 3238 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 D | Instructions.cpp | 1060 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 D | echo.cpp | 730 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 D | Core.h | 3667 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 D | LLLexer.cpp | 917 INSTKEYWORD(catchpad, CatchPad); in LexIdentifier()
|
| H A D | LLParser.cpp | 6711 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 D | llvm.ml | 248 | CatchPad Constructor
|
| H A D | llvm.mli | 272 | CatchPad Constructor
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4475 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 D | BitcodeWriter.cpp | 2932 case Instruction::CatchPad: { in writeInstruction()
|