| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 182 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() argument 183 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest() 210 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 211 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes() 369 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local 370 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor() 372 return CleanupPad->getParent(); in getEHPadFromPredecessor() 447 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local 451 auto [It, Inserted] = FuncInfo.EHPadStateMap.try_emplace(CleanupPad); in calculateCXXStateNumbers() 461 CleanupPad->getParentPad()))) { in calculateCXXStateNumbers() [all …]
|
| H A D | TargetLoweringBase.cpp | 1859 case CleanupPad: return 0; in InstructionOpcodeToISD()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Values.def | 82 DEF_INSTR(CleanupPad, OP(CleanupPad), CleanupPadInst)
|
| H A D | Instruction.h | 1586 From->getSubclassID() == ClassID::CleanupPad; in classof() 1610 : FuncletPadInst(ClassID::CleanupPad, Opcode::CleanupPad, CPI, Ctx) {} in CleanupPadInst() 1619 return From->getSubclassID() == ClassID::CleanupPad; in classof() 1655 LLVM_ABI static CleanupReturnInst *create(CleanupPadInst *CleanupPad, 1665 LLVM_ABI void setCleanupPad(CleanupPadInst *CleanupPad);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SpillUtils.cpp | 111 auto *CleanupPad = in splitBeforeCatchSwitch() local 114 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
|
| H A D | CoroFrame.cpp | 1319 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() argument 1362 CleanupPad->removeFromParent(); in rewritePHIsForCleanupPad() 1363 CleanupPad->insertAfter(SetDispatchValuePN->getIterator()); in rewritePHIsForCleanupPad() 1435 if (auto *CleanupPad = in rewritePHIs() local 1445 rewritePHIsForCleanupPad(&BB, CleanupPad); in rewritePHIs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 327 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local 328 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper() 333 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper() 360 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper() 713 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local 714 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI->getIterator()); in HandleInlinedEHPad() 721 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad() 722 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad() 723 FuncletUnwindMap[CleanupPad] = in HandleInlinedEHPad()
|
| H A D | BasicBlockUtils.cpp | 756 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge() local 757 ParentPad = CleanupPad->getParentPad(); in ehAwareSplitEdge()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | Legality.cpp | 177 case Instruction::Opcode::CleanupPad: in notVectorizableBasedOnOpcodesAndTypes()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4272 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, AllocInfo, 4286 return I->getOpcode() == Instruction::CleanupPad; 4416 LLVM_ABI CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, 4420 void init(Value *CleanupPad, BasicBlock *UnwindBB); 4429 static CleanupReturnInst *Create(Value *CleanupPad, 4432 assert(CleanupPad); 4438 CleanupReturnInst(CleanupPad, UnwindBB, AllocMarker, InsertBefore); 4451 void setCleanupPad(CleanupPadInst *CleanupPad) { 4452 assert(CleanupPad); 4453 Op<0>() = CleanupPad;
|
| H A D | Instruction.def | 200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
|
| H A D | Instruction.h | 882 case Instruction::CleanupPad:
|
| H A D | IRBuilder.h | 1317 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1319 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 748 CleanupReturnInst *CleanupReturnInst::create(CleanupPadInst *CleanupPad, in create() argument 755 cast<llvm::CleanupPadInst>(CleanupPad->Val), LLVMUnwindBB); in create() 764 void CleanupReturnInst::setCleanupPad(CleanupPadInst *CleanupPad) { in setCleanupPad() argument 770 cast<llvm::CleanupPadInst>(CleanupPad->Val)); in setCleanupPad()
|
| H A D | Context.cpp | 165 case llvm::Instruction::CleanupPad: { in getOrCreateValueInternal()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 840 case CleanupPad: return "cleanuppad"; in getOpcodeName() 1190 case Instruction::CleanupPad: in mayThrow()
|
| H A D | Instructions.cpp | 1040 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument 1044 Op<0>() = CleanupPad; in init() 1049 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 1052 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 1054 init(CleanupPad, UnwindBB); in CleanupReturnInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 962 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
|
| H A D | LLParser.cpp | 7727 Value *CleanupPad = nullptr; in parseCleanupRet() local 7732 if (parseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in parseCleanupRet() 7749 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in parseCleanupRet()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5603 Value *CleanupPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local 5605 if (!CleanupPad) in parseFunctionBody() 5614 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3326 case Instruction::CleanupPad: in writeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 7034 case Instruction::CleanupPad: in isSafeToSpeculativelyExecuteWithOpcode()
|