Home
last modified time | relevance | path

Searched refs:CleanupReturnInst (Results 1 – 25 of 27) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp184 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 DInstructions.cpp959 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 DInstruction.cpp1101 return cast<CleanupReturnInst>(this)->unwindsToCaller(); in mayThrow()
H A DCore.cpp3079 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
3092 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
H A DVerifier.cpp607 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 DAsmWriter.cpp4389 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4257 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 DInstVisitor.h244 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { in visitCleanupReturnInst()
H A DInstruction.def134 HANDLE_TERM_INST ( 8, CleanupRet , CleanupReturnInst)
H A DIRBuilder.h1241 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
1243 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h56 class CleanupReturnInst; variable
509 void visitCleanupRet(const CleanupReturnInst &I);
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp108 if (isa<ResumeInst, CleanupReturnInst>(Inst)) { in getUntagLocationIfFunctionExit()
H A DInlineFunction.cpp310 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 DCodeExtractor.cpp161 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in isBlockValidForExtraction()
166 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) { in isBlockValidForExtraction()
H A DSimplifyCFG.cpp263 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 DBasicBlockUtils.cpp804 else if (auto *CR = dyn_cast<CleanupReturnInst>(TI)) in setUnwindEdgeTo()
904 CleanupReturnInst::Create(NewCleanupPad, Succ, NewBB); in ehAwareSplitEdge()
H A DLocal.cpp3179 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 DWebAssemblyLowerEmscriptenEHSjLj.cpp1542 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 DInlineCost.cpp490 bool visitCleanupReturnInst(CleanupReturnInst &RI);
2495 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
/src/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1886 macro(CleanupReturnInst) \
/src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1729 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1091 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
H A DMemorySanitizer.cpp4797 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
/src/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3150 const auto &CRI = cast<CleanupReturnInst>(I); in writeInstruction()
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5522 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()

12