Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp215 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor()
233 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
257 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers()
334 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
366 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers()
407 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC()
503 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
540 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers()
604 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers()
626 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp186 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
205 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper()
225 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
265 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
396 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken()
399 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
404 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
623 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad()
649 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad()
1443 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
DLocal.cpp1465 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks()
1491 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks()
1527 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge()
1528 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
DSimplifyCFG.cpp3810 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in SimplifyUnreachable()
3817 for (CatchSwitchInst::handler_iterator I = CSI->handler_begin(), in SimplifyUnreachable()
/external/llvm/lib/IR/
DInstructions.cpp987 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
999 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1010 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst
1021 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init()
1038 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands()
1047 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler()
1055 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler()
1066 BasicBlock *CatchSwitchInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
1069 unsigned CatchSwitchInst::getNumSuccessorsV() const { in getNumSuccessorsV()
1072 void CatchSwitchInst::setSuccessorV(unsigned idx, BasicBlock *B) { in setSuccessorV()
[all …]
DVerifier.cpp435 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
1825 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad()
3174 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
3227 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors()
3298 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
3355 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst()
3482 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
3499 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
DInstruction.cpp543 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
DAsmWriter.cpp2959 } else if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(&I)) { in printInstruction()
/external/llvm/include/llvm/IR/
DInstructions.h3944 class CatchSwitchInst : public TerminatorInst {
3952 CatchSwitchInst(const CatchSwitchInst &CSI);
3961 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3969 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3976 CatchSwitchInst *cloneImpl() const;
3979 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3983 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3986 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3989 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4111 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {};
[all …]
DInstVisitor.h174 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { DELEGATE(TerminatorInst);} in visitCatchSwitchInst()
DInstruction.def119 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
DIRBuilder.h726 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/llvm/test/Verifier/
Dinvalid-eh.ll104 ;T7: ; CHECK7: CatchSwitchInst has an invalid parent
115 ;T8: ; CHECK8: CatchSwitchInst handlers must be catchpads
401 ;T23: ; CHECK23: CatchPadInst needs to be directly nested in a CatchSwitchInst.
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def119 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp547 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedInLoop()
1028 if (isa<CatchSwitchInst>(ExitBlock->getTerminator())) in promoteLoopAccessesToScalars()
DSCCP.cpp501 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
DLoopStrengthReduce.cpp4321 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition()
4796 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance()
4798 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
DIndVarSimplify.cpp1266 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp265 if (isa<CatchSwitchInst>(I)) { in set()
DSelectionDAGBuilder.h794 void visitCatchSwitch(const CatchSwitchInst &I);
/external/clang/lib/CodeGen/
DCGException.cpp890 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp100 } else if (isa<CatchSwitchInst>(IP)) { in findInsertPointAfter()
DValueTracking.cpp3497 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) in isGuaranteedToTransferExecutionToSuccessor()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2737 if (isa<CatchSwitchInst>(DestBlock->getTerminator())) in TryToSinkInstruction()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2778 void visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()

12