Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp170 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()
1000 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) in removeImplausibleInstructions()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp106 if (isa<ResumeInst, CleanupReturnInst>(Inst)) { in getUntagLocationIfFunctionExit()
H A DInlineFunction.cpp309 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in getUnwindDestTokenHelper()
522 assert(!isa<CleanupReturnInst>(U) && "Expected useless pad"); in getUnwindDestToken()
691 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in HandleInlinedEHPad()
694 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad()
2584 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);
4938 static bool removeEmptyCleanup(CleanupReturnInst *RI, DomTreeUpdater *DTU) { in removeEmptyCleanup()
5056 static bool mergeCleanupPad(CleanupReturnInst *RI) { in mergeCleanupPad()
5088 bool SimplifyCFGOpt::simplifyCleanupReturn(CleanupReturnInst *RI) { in simplifyCleanupReturn()
5248 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in simplifyUnreachable()
7308 Changed |= simplifyCleanupReturn(cast<CleanupReturnInst>(Terminator)); in simplifyOnce()
H A DBasicBlockUtils.cpp658 else if (auto *CR = dyn_cast<CleanupReturnInst>(TI)) in setUnwindEdgeTo()
758 CleanupReturnInst::Create(NewCleanupPad, Succ, NewBB); in ehAwareSplitEdge()
H A DLocal.cpp2564 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in removeUnwindEdge()
2565 NewTI = CleanupReturnInst::Create(CRI->getCleanupPad(), nullptr, CRI); in removeUnwindEdge()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h4665 class CleanupReturnInst : public Instruction {
4669 CleanupReturnInst(const CleanupReturnInst &RI);
4670 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4672 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4681 CleanupReturnInst *cloneImpl() const;
4684 static CleanupReturnInst *Create(Value *CleanupPad,
4692 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
4695 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB,
4702 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertAtEnd);
4759 struct OperandTraits<CleanupReturnInst>
[all …]
H A DInstVisitor.h244 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { in visitCleanupReturnInst()
H A DInstruction.def134 HANDLE_TERM_INST ( 8, CleanupRet , CleanupReturnInst)
H A DIRBuilder.h1151 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
1153 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstructions.cpp1158 CleanupReturnInst::CleanupReturnInst(const CleanupReturnInst &CRI) in CleanupReturnInst() function in CleanupReturnInst
1160 OperandTraits<CleanupReturnInst>::op_end(this) - in CleanupReturnInst()
1170 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init()
1179 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst
1183 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst()
1188 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst
1192 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst()
4978 CleanupReturnInst *CleanupReturnInst::cloneImpl() const { in cloneImpl()
4979 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
H A DInstruction.cpp738 if (const auto *CRI = dyn_cast<CleanupReturnInst>(this)) in mayThrow()
H A DCore.cpp2896 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2909 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
H A DVerifier.cpp554 void visitCleanupReturnInst(CleanupReturnInst &CRI);
2435 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest(); in getSuccPad()
4118 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in visitEHPadPredecessors()
4265 if (auto *CRI = dyn_cast<CleanupReturnInst>(U)) { in visitFuncletPadInst()
4454 void Verifier::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
H A DAsmWriter.cpp4205 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h56 class CleanupReturnInst; variable
506 void visitCleanupRet(const CleanupReturnInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1656 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest()
1867 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB.getTerminator())) { in handleLongjmpableCallsForWasmSjLj()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp479 bool visitCleanupReturnInst(CleanupReturnInst &RI);
2398 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DCore.h1673 macro(CleanupReturnInst) \
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1551 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp993 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
H A DMemorySanitizer.cpp4467 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3012 const auto &CRI = cast<CleanupReturnInst>(I); in writeInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5301 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()

12