Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp709 CatchReturnInst *CatchReturnInst::create(CatchPadInst *CatchPad, BasicBlock *BB, in create()
712 llvm::CatchReturnInst *LLVMI = Builder.CreateCatchRet( in create()
717 CatchPadInst *CatchReturnInst::getCatchPad() const { in getCatchPad()
719 Ctx.getValue(cast<llvm::CatchReturnInst>(Val)->getCatchPad())); in getCatchPad()
722 void CatchReturnInst::setCatchPad(CatchPadInst *CatchPad) { in setCatchPad()
724 .emplaceIfTracking<GenericSetter<&CatchReturnInst::getCatchPad, in setCatchPad()
725 &CatchReturnInst::setCatchPad>>(this); in setCatchPad()
726 cast<llvm::CatchReturnInst>(Val)->setCatchPad( in setCatchPad()
730 BasicBlock *CatchReturnInst::getSuccessor() const { in getSuccessor()
732 Ctx.getValue(cast<llvm::CatchReturnInst>(Val)->getSuccessor())); in getSuccessor()
[all …]
H A DContext.cpp172 auto *LLVMCRI = cast<llvm::CatchReturnInst>(LLVMV); in getOrCreateValueInternal()
174 std::unique_ptr<CatchReturnInst>(new CatchReturnInst(LLVMCRI, *this)); in getOrCreateValueInternal()
562 CatchReturnInst *Context::createCatchReturnInst(llvm::CatchReturnInst *I) { in createCatchReturnInst()
563 auto NewPtr = std::unique_ptr<CatchReturnInst>(new CatchReturnInst(I, *this)); in createCatchReturnInst()
564 return cast<CatchReturnInst>(registerValue(std::move(NewPtr))); in createCatchReturnInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DContext.h201 LLVM_ABI CatchReturnInst *createCatchReturnInst(llvm::CatchReturnInst *I);
202 friend CatchReturnInst; // For createCatchReturnInst()
H A DValues.def83 DEF_INSTR(CatchRet, OP(CatchRet), CatchReturnInst)
H A DInstruction.h81 friend class CatchReturnInst; // For getTopmostLLVMInstruction(). variable
1623 class CatchReturnInst
1624 : public SingleLLVMInstructionImpl<llvm::CatchReturnInst> {
1625 CatchReturnInst(llvm::CatchReturnInst *CRI, Context &Ctx) in CatchReturnInst() function
1631 LLVM_ABI static CatchReturnInst *create(CatchPadInst *CatchPad,
1639 return cast<llvm::CatchReturnInst>(Val)->getNumSuccessors(); in getNumSuccessors()
H A DValue.h132 friend class CatchReturnInst; // For getting `Val`. variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp264 if ((isa<CleanupReturnInst>(TI) || isa<CatchReturnInst>(TI)) && State > 0) { in calculateCXXStateForAsynchEH()
326 if (isa<CatchPadInst>(It) && isa<CatchReturnInst>(TI)) { in calculateSEHStateForAsynchEH()
332 } else if ((isa<CleanupReturnInst>(TI) || isa<CatchReturnInst>(TI)) && in calculateSEHStateForAsynchEH()
1001 SmallVector<CatchReturnInst *, 2> FixupCatchrets; in cloneCommonBlocks()
1008 if (auto *CatchRet = dyn_cast<CatchReturnInst>(Pred->getTerminator())) in cloneCommonBlocks()
1012 for (CatchReturnInst *CatchRet : FixupCatchrets) in cloneCommonBlocks()
1023 dyn_cast<CatchReturnInst>(IncomingBlock->getTerminator())) { in cloneCommonBlocks()
1181 if (auto *CRI = dyn_cast<CatchReturnInst>(TI)) in removeImplausibleInstructions()
1382 dyn_cast<CatchReturnInst>(IncomingBlock->getTerminator())) { in replaceUseWithLoad()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DEHPersonalities.cpp159 if (auto *CatchRet = dyn_cast<CatchReturnInst>(Terminator)) { in colorEHFunclets()
H A DInstructions.cpp1060 void CatchReturnInst::init(Value *CatchPad, BasicBlock *BB) { in init()
1065 CatchReturnInst::CatchReturnInst(const CatchReturnInst &CRI) in CatchReturnInst() function in CatchReturnInst
1072 CatchReturnInst::CatchReturnInst(Value *CatchPad, BasicBlock *BB, in CatchReturnInst() function in CatchReturnInst
4526 CatchReturnInst *CatchReturnInst::cloneImpl() const { in cloneImpl()
4527 return new (AllocMarker) CatchReturnInst(*this); in cloneImpl()
H A DVerifier.cpp612 void visitCatchReturnInst(CatchReturnInst &CatchReturn);
4701 void Verifier::visitCatchReturnInst(CatchReturnInst &CatchReturn) { in visitCatchReturnInst()
4766 Check(isa<CatchReturnInst>(U), "Bogus funclet pad use", U); in visitFuncletPadInst()
H A DAsmWriter.cpp4576 } else if (const auto *CRI = dyn_cast<CatchReturnInst>(&I)) { in printInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp507 ModRefInfo AAResults::getModRefInfo(const CatchReturnInst *CatchRet, in getModRefInfo()
586 return getModRefInfo((const CatchReturnInst *)I, Loc, AAQIP); in getModRefInfo()
H A DInlineCost.cpp519 bool visitCatchReturnInst(CatchReturnInst &RI);
2695 bool CallAnalyzer::visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4335 class CatchReturnInst : public Instruction {
4338 CatchReturnInst(const CatchReturnInst &RI);
4339 LLVM_ABI CatchReturnInst(Value *CatchPad, BasicBlock *BB,
4348 LLVM_ABI CatchReturnInst *cloneImpl() const;
4351 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB,
4355 return new (AllocMarker) CatchReturnInst(CatchPad, BB, InsertBefore);
4402 struct OperandTraits<CatchReturnInst>
4403 : public FixedNumOperandTraits<CatchReturnInst, 2> {};
4405 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CatchReturnInst, Value)
H A DInstVisitor.h241 RetTy visitCatchReturnInst(CatchReturnInst &I) { in visitCatchReturnInst()
H A DInstruction.def135 HANDLE_TERM_INST ( 9, CatchRet , CatchReturnInst)
H A DIRBuilder.h1340 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet()
1341 return Insert(CatchReturnInst::Create(CatchPad, BB)); in CreateCatchRet()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h53 class CatchReturnInst; variable
510 void visitCatchRet(const CatchReturnInst &I);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp579 if (isa<CatchReturnInst>(PredBB->getTerminator())) in getPredState()
603 if (isa<CatchReturnInst>(BB->getTerminator())) in getSuccState()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h59 class CatchReturnInst; variable
620 LLVM_ABI ModRefInfo getModRefInfo(const CatchReturnInst *I,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp146 if (const auto *CRI = dyn_cast<CatchReturnInst>(U)) in isBlockValidForExtraction()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1939 macro(CatchReturnInst) \
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3321 const auto &CRI = cast<CatchReturnInst>(I); in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp6286 void visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5631 I = CatchReturnInst::Create(CatchPad, BB); in parseFunctionBody()

12