Home
last modified time | relevance | path

Searched refs:CatchSwitchInst (Results 1 – 25 of 42) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp97 if (isa<CatchSwitchInst>(InsertPt)) in DemoteRegToStack()
99 if (isa<CatchSwitchInst>(InsertPt)) { in DemoteRegToStack()
150 if (isa<CatchSwitchInst>(InsertPt)) in DemotePHIToStack()
152 if (isa<CatchSwitchInst>(InsertPt)) { in DemotePHIToStack()
H A DInlineFunction.cpp240 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
259 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper()
279 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
319 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
504 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken()
515 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
528 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
713 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad()
739 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad()
2117 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
H A DLocal.cpp2492 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks()
2522 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks()
2567 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge()
2568 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
H A DBasicBlockUtils.cpp656 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo()
748 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp226 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor()
247 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
281 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers()
367 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
399 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers()
440 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC()
536 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
573 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers()
634 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers()
656 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers()
[all …]
H A DWasmEHPrepare.cpp363 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h4313 class CatchSwitchInst : public Instruction {
4323 CatchSwitchInst(const CatchSwitchInst &CSI);
4329 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4337 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4351 CatchSwitchInst *cloneImpl() const;
4356 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4360 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4364 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4367 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4484 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {};
[all …]
H A DInstVisitor.h250 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
H A DInstruction.def136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
H A DIRBuilder.h1156 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
1159 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstructions.cpp1232 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1244 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1255 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst
1266 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init()
1283 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands()
1292 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler()
1300 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler()
4986 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl()
4987 return new CatchSwitchInst(*this); in cloneImpl()
H A DCore.cpp2898 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2911 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
3244 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler()
3248 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers()
3252 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers()
3263 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
H A DVerifier.cpp553 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
2432 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad()
4068 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
4121 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors()
4143 Check(isa<FuncletPadInst>(FromPad) || isa<CatchSwitchInst>(FromPad), in visitEHPadPredecessors()
4211 Check(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
4267 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst()
4395 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
4412 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
H A DInstruction.cpp740 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
H A DObjCARCContract.cpp628 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp293 if (PredBB && !isa<CatchSwitchInst>(PredBB->getTerminator()) && in optimizeDivRem()
H A DLICM.cpp475 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop()
1372 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
H A DLoopStrengthReduce.cpp3548 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae()
5209 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition()
5511 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI()
5763 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance()
5765 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h54 class CatchSwitchInst; variable
507 void visitCatchSwitch(const CatchSwitchInst &I);
H A DFunctionLoweringInfo.cpp252 if (isa<CatchSwitchInst>(PadInst)) { in set()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1543 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch()
1681 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills()
2038 if (CatchSwitchInst *CS = in rewritePHIs()
2039 dyn_cast<CatchSwitchInst>(Pred->getTerminator())) { in rewritePHIs()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGException.cpp962 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock()
1006 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock()
1230 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1716 CatchSwitchInst *CatchSwitchLongjmp = in handleLongjmpableCallsForWasmSjLj()
1855 if (auto *CSI = dyn_cast<CatchSwitchInst>(BB.getFirstNonPHI())) { in handleLongjmpableCallsForWasmSjLj()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp328 return isa<CatchSwitchInst>(Exit->getTerminator()); in isPromotionPossible()

12