| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 184 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() 263 if ((isa<CleanupReturnInst>(TI) || isa<CatchReturnInst>(TI)) && State > 0) { in calculateCXXStateForAsynchEH() 330 } else if ((isa<CleanupReturnInst>(TI) || isa<CatchReturnInst>(TI)) && in calculateSEHStateForAsynchEH() 367 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() 772 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in calculateClrEHStateNumbers() 1149 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) in removeImplausibleInstructions()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 959 CleanupReturnInst::CleanupReturnInst(const CleanupReturnInst &CRI) in CleanupReturnInst() function in CleanupReturnInst 961 OperandTraits<CleanupReturnInst>::op_end(this) - in CleanupReturnInst() 971 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() 980 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst 985 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst() 4376 CleanupReturnInst *CleanupReturnInst::cloneImpl() const { in cloneImpl() 4377 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
|
| H A D | Instruction.cpp | 1101 return cast<CleanupReturnInst>(this)->unwindsToCaller(); in mayThrow()
|
| H A D | Core.cpp | 3079 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 3092 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
|
| H A D | Verifier.cpp | 607 void visitCleanupReturnInst(CleanupReturnInst &CRI); 2689 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest(); in getSuccPad() 4427 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in visitEHPadPredecessors() 4574 if (auto *CRI = dyn_cast<CleanupReturnInst>(U)) { in visitFuncletPadInst() 4763 void Verifier::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|
| H A D | AsmWriter.cpp | 4389 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4257 class CleanupReturnInst : public Instruction { 4261 CleanupReturnInst(const CleanupReturnInst &RI); 4262 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4271 CleanupReturnInst *cloneImpl() const; 4274 static CleanupReturnInst *Create(Value *CleanupPad, 4282 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4339 struct OperandTraits<CleanupReturnInst> 4340 : public VariadicOperandTraits<CleanupReturnInst, /*MINARITY=*/1> {}; 4342 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CleanupReturnInst, Value)
|
| H A D | InstVisitor.h | 244 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { in visitCleanupReturnInst()
|
| H A D | Instruction.def | 134 HANDLE_TERM_INST ( 8, CleanupRet , CleanupReturnInst)
|
| H A D | IRBuilder.h | 1241 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1243 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 56 class CleanupReturnInst; variable 509 void visitCleanupRet(const CleanupReturnInst &I);
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 108 if (isa<ResumeInst, CleanupReturnInst>(Inst)) { in getUntagLocationIfFunctionExit()
|
| H A D | InlineFunction.cpp | 310 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in getUnwindDestTokenHelper() 523 assert(!isa<CleanupReturnInst>(U) && "Expected useless pad"); in getUnwindDestToken() 692 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in HandleInlinedEHPad() 695 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI->getIterator()); in HandleInlinedEHPad() 2742 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(BB->getTerminator())) in InlineFunction()
|
| H A D | CodeExtractor.cpp | 161 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in isBlockValidForExtraction() 166 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyCFG.cpp | 263 bool simplifyCleanupReturn(CleanupReturnInst *RI); 5132 static bool removeEmptyCleanup(CleanupReturnInst *RI, DomTreeUpdater *DTU) { in removeEmptyCleanup() 5250 static bool mergeCleanupPad(CleanupReturnInst *RI) { in mergeCleanupPad() 5282 bool SimplifyCFGOpt::simplifyCleanupReturn(CleanupReturnInst *RI) { in simplifyCleanupReturn() 5458 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in simplifyUnreachable() 7837 Changed |= simplifyCleanupReturn(cast<CleanupReturnInst>(Terminator)); in simplifyOnce()
|
| H A D | BasicBlockUtils.cpp | 804 else if (auto *CR = dyn_cast<CleanupReturnInst>(TI)) in setUnwindEdgeTo() 904 CleanupReturnInst::Create(NewCleanupPad, Succ, NewBB); in ehAwareSplitEdge()
|
| H A D | Local.cpp | 3179 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in removeUnwindEdge() 3180 NewTI = CleanupReturnInst::Create(CRI->getCleanupPad(), nullptr, CRI->getIterator()); in removeUnwindEdge()
|
| /src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1542 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() 1744 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB.getTerminator())) { in handleLongjmpableCallsForWasmSjLj()
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 490 bool visitCleanupReturnInst(CleanupReturnInst &RI); 2495 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|
| /src/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1886 macro(CleanupReturnInst) \
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1729 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 1091 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
|
| H A D | MemorySanitizer.cpp | 4797 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3150 const auto &CRI = cast<CleanupReturnInst>(I); in writeInstruction()
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5522 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()
|