| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | invalid-cleanuppad-chain.ll | 3 ; CHECK: CleanupReturnInst needs to be provided a CleanupPad
|
| H A D | invalid-eh.ll | 51 ;T3: ; CHECK3: CleanupReturnInst needs to be provided a CleanupPad 63 ;T4: ; CHECK4: CleanupReturnInst needs to be provided a CleanupPad 455 ;T26: ; CHECK26: CleanupReturnInst needs to be provided a CleanupPad
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 170 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() 232 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() 623 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in calculateClrEHStateNumbers() 1003 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) in removeImplausibleInstructions()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 104 if (isa<ResumeInst, CleanupReturnInst>(Inst)) { in getUntagLocationIfFunctionExit()
|
| H A D | InlineFunction.cpp | 306 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in getUnwindDestTokenHelper() 519 assert(!isa<CleanupReturnInst>(U) && "Expected useless pad"); in getUnwindDestToken() 695 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in HandleInlinedEHPad() 698 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 2347 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(BB->getTerminator())) in InlineFunction()
|
| H A D | BasicBlockUtils.cpp | 560 else if (auto *CR = dyn_cast<CleanupReturnInst>(TI)) in setUnwindEdgeTo() 660 CleanupReturnInst::Create(NewCleanupPad, Succ, NewBB); in ehAwareSplitEdge()
|
| H A D | CodeExtractor.cpp | 162 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in isBlockValidForExtraction() 167 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyCFG.cpp | 255 bool simplifyCleanupReturn(CleanupReturnInst *RI); 4771 static bool removeEmptyCleanup(CleanupReturnInst *RI, DomTreeUpdater *DTU) { in removeEmptyCleanup() 4889 static bool mergeCleanupPad(CleanupReturnInst *RI) { in mergeCleanupPad() 4921 bool SimplifyCFGOpt::simplifyCleanupReturn(CleanupReturnInst *RI) { in simplifyCleanupReturn() 5079 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in simplifyUnreachable() 7139 Changed |= simplifyCleanupReturn(cast<CleanupReturnInst>(Terminator)); in simplifyOnce()
|
| H A D | Local.cpp | 2458 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in removeUnwindEdge() 2459 NewTI = CleanupReturnInst::Create(CRI->getCleanupPad(), nullptr, CRI); in removeUnwindEdge()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4630 class CleanupReturnInst : public Instruction { 4634 CleanupReturnInst(const CleanupReturnInst &RI); 4635 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4646 CleanupReturnInst *cloneImpl() const; 4649 static CleanupReturnInst *Create(Value *CleanupPad, 4657 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4660 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB, 4667 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertAtEnd); 4724 struct OperandTraits<CleanupReturnInst> 4725 : public VariadicOperandTraits<CleanupReturnInst, /*MINARITY=*/1> {}; [all …]
|
| H A D | InstVisitor.h | 245 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { in visitCleanupReturnInst()
|
| H A D | Instruction.def | 134 HANDLE_TERM_INST ( 8, CleanupRet , CleanupReturnInst)
|
| H A D | IRBuilder.h | 1106 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1108 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1055 CleanupReturnInst::CleanupReturnInst(const CleanupReturnInst &CRI) in CleanupReturnInst() function in CleanupReturnInst 1057 OperandTraits<CleanupReturnInst>::op_end(this) - in CleanupReturnInst() 1067 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() 1076 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst 1080 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst() 1085 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst 1089 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst() 4822 CleanupReturnInst *CleanupReturnInst::cloneImpl() const { in cloneImpl() 4823 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
|
| H A D | Instruction.cpp | 688 if (const auto *CRI = dyn_cast<CleanupReturnInst>(this)) in mayThrow()
|
| H A D | Core.cpp | 2918 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 2931 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
|
| H A D | Verifier.cpp | 552 void visitCleanupReturnInst(CleanupReturnInst &CRI); 2393 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest(); in getSuccPad() 4053 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in visitEHPadPredecessors() 4200 if (auto *CRI = dyn_cast<CleanupReturnInst>(U)) { in visitFuncletPadInst() 4389 void Verifier::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|
| H A D | AsmWriter.cpp | 4100 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 53 class CleanupReturnInst; variable 454 void visitCleanupRet(const CleanupReturnInst &I);
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1656 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() 1867 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB.getTerminator())) { in handleLongjmpableCallsForWasmSjLj()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 449 bool visitCleanupReturnInst(CleanupReturnInst &RI); 2346 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Core.h | 1652 macro(CleanupReturnInst) \
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1516 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 974 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
|
| H A D | MemorySanitizer.cpp | 4053 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|