Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp446 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
609 else if (auto *CR = dyn_cast<CleanupReturnInst>(TI)) in setUnwindEdgeTo()
671 CleanupReturnInst::Create(NewCleanupPad, Succ, NewBB); in ehAwareSplitEdge()
H A DCoroSplit.cpp201 auto *CleanupRet = CleanupReturnInst::Create(FromPad, nullptr, NewCE); in replaceUnwindCoroEnds()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp774 CleanupReturnInst::CleanupReturnInst(const CleanupReturnInst &CRI) in CleanupReturnInst() function in CleanupReturnInst
776 OperandTraits<CleanupReturnInst>::op_end(this) - in CleanupReturnInst()
785 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init()
794 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst
798 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst()
803 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() function in CleanupReturnInst
807 OperandTraits<CleanupReturnInst>::op_end(this) - Values, in CleanupReturnInst()
3983 CleanupReturnInst *CleanupReturnInst::cloneImpl() const { in cloneImpl()
3984 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
H A DInstruction.cpp589 if (const auto *CRI = dyn_cast<CleanupReturnInst>(this)) in mayThrow()
H A DVerifier.cpp491 void visitCleanupReturnInst(CleanupReturnInst &CRI);
2059 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest(); in getSuccPad()
3530 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in visitEHPadPredecessors()
3674 if (auto *CRI = dyn_cast<CleanupReturnInst>(U)) { in visitFuncletPadInst()
3862 void Verifier::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
H A DCore.cpp2756 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2769 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
H A DAsmWriter.cpp3743 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp168 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest()
230 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor()
603 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in calculateClrEHStateNumbers()
989 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) in removeImplausibleInstructions()
H A DWasmEHPrepare.cpp419 else if (const auto *CleanupRet = dyn_cast<CleanupReturnInst>(TI)) in calculateWasmEHInfo()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstructions.h4265 class CleanupReturnInst : public Instruction {
4267 CleanupReturnInst(const CleanupReturnInst &RI);
4268 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4279 CleanupReturnInst *cloneImpl() const;
4282 static CleanupReturnInst *Create(Value *CleanupPad,
4290 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
4293 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB,
4300 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertAtEnd);
4356 struct OperandTraits<CleanupReturnInst>
4357 : public VariadicOperandTraits<CleanupReturnInst, /*MINARITY=*/1> {};
[all …]
H A DInstVisitor.h250 RetTy visitCleanupReturnInst(CleanupReturnInst &I) { in visitCleanupReturnInst()
H A DInstruction.def135 HANDLE_TERM_INST ( 8, CleanupRet , CleanupReturnInst)
H A DIRBuilder.h951 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
953 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp297 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) { in getUnwindDestTokenHelper()
510 assert(!isa<CleanupReturnInst>(U) && "Expected useless pad"); in getUnwindDestToken()
684 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in HandleInlinedEHPad()
687 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad()
2054 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(BB->getTerminator())) in InlineFunction()
H A DCodeExtractor.cpp159 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in isBlockValidForExtraction()
164 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) { in isBlockValidForExtraction()
H A DSimplifyCFG.cpp191 bool SimplifyCleanupReturn(CleanupReturnInst *RI);
3877 static bool removeEmptyCleanup(CleanupReturnInst *RI) { in removeEmptyCleanup()
4014 static bool mergeCleanupPad(CleanupReturnInst *RI) { in mergeCleanupPad()
4046 bool SimplifyCFGOpt::SimplifyCleanupReturn(CleanupReturnInst *RI) { in SimplifyCleanupReturn()
4245 } else if (isa<CleanupReturnInst>(TI)) { in SimplifyUnreachable()
6053 } else if (auto *RI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in simplifyOnce()
H A DLocal.cpp2172 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in removeUnwindEdge()
2173 NewTI = CleanupReturnInst::Create(CRI->getCleanupPad(), nullptr, CRI); in removeUnwindEdge()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h54 class CleanupReturnInst; variable
823 void visitCleanupRet(const CleanupReturnInst &I);
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp270 bool visitCleanupReturnInst(CleanupReturnInst &RI);
1507 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
H A DValueTracking.cpp4293 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) in isGuaranteedToTransferExecutionToSuccessor()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp973 isa<CleanupReturnInst>(Inst)) in runOnFunction()
H A DAddressSanitizer.cpp932 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
H A DMemorySanitizer.cpp3515 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DCore.h1571 macro(CleanupReturnInst) \
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2738 const auto &CRI = cast<CleanupReturnInst>(I); in writeInstruction()

12