/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() 367 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local 368 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor() 370 return CleanupPad->getParent(); in getEHPadFromPredecessor() 445 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local 449 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers() 453 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers() [all …]
|
H A D | TargetLoweringBase.cpp | 1772 case CleanupPad: return 0; in InstructionOpcodeToISD()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 308 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local 309 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper() 314 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper() 341 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper() 694 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local 695 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI->getIterator()); in HandleInlinedEHPad() 702 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad() 703 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad() 704 FuncletUnwindMap[CleanupPad] = in HandleInlinedEHPad()
|
H A D | BasicBlockUtils.cpp | 896 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge() local 897 ParentPad = CleanupPad->getParentPad(); in ehAwareSplitEdge()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 4120 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4135 return I->getOpcode() == Instruction::CleanupPad; 4262 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4265 void init(Value *CleanupPad, BasicBlock *UnwindBB); 4274 static CleanupReturnInst *Create(Value *CleanupPad, 4277 assert(CleanupPad); 4282 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4295 void setCleanupPad(CleanupPadInst *CleanupPad) { 4296 assert(CleanupPad); 4297 Op<0>() = CleanupPad;
|
H A D | Instruction.def | 200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
|
H A D | Instruction.h | 828 case Instruction::CleanupPad:
|
H A D | IRBuilder.h | 1241 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1243 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1726 auto *CleanupPad = in splitBeforeCatchSwitch() local 1729 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch() 2119 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() argument 2162 CleanupPad->removeFromParent(); in rewritePHIsForCleanupPad() 2163 CleanupPad->insertAfter(SetDispatchValuePN); in rewritePHIsForCleanupPad() 2234 if (auto *CleanupPad = in rewritePHIs() local 2244 rewritePHIsForCleanupPad(&BB, CleanupPad); in rewritePHIs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 778 case CleanupPad: return "cleanuppad"; in getOpcodeName() 1115 case Instruction::CleanupPad: in mayThrow()
|
H A D | Instructions.cpp | 971 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument 975 Op<0>() = CleanupPad; in init() 980 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 983 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 987 init(CleanupPad, UnwindBB); in CleanupReturnInst()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 912 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
|
H A D | LLParser.cpp | 7413 Value *CleanupPad = nullptr; in parseCleanupRet() local 7418 if (parseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in parseCleanupRet() 7435 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in parseCleanupRet()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 5511 Value *CleanupPad = getValue(Record, Idx++, NextValueNo, TokenTy, in parseFunctionBody() local 5513 if (!CleanupPad) in parseFunctionBody() 5522 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 3163 case Instruction::CleanupPad: in writeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 6919 case Instruction::CleanupPad: in isSafeToSpeculativelyExecuteWithOpcode()
|