/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 215 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/ |
D | InlineFunction.cpp | 186 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 …]
|
D | Local.cpp | 1465 } 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()
|
D | SimplifyCFG.cpp | 3810 } 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/ |
D | Instructions.cpp | 987 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 …]
|
D | Verifier.cpp | 435 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()
|
D | Instruction.cpp | 543 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
|
D | AsmWriter.cpp | 2959 } else if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(&I)) { in printInstruction()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 3944 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 …]
|
D | InstVisitor.h | 174 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { DELEGATE(TerminatorInst);} in visitCatchSwitchInst()
|
D | Instruction.def | 119 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
D | IRBuilder.h | 726 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, 729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
|
/external/llvm/test/Verifier/ |
D | invalid-eh.ll | 104 ;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/ |
D | Instruction.def | 119 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 547 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedInLoop() 1028 if (isa<CatchSwitchInst>(ExitBlock->getTerminator())) in promoteLoopAccessesToScalars()
|
D | SCCP.cpp | 501 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
|
D | LoopStrengthReduce.cpp | 4321 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition() 4796 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance() 4798 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
|
D | IndVarSimplify.cpp | 1266 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 265 if (isa<CatchSwitchInst>(I)) { in set()
|
D | SelectionDAGBuilder.h | 794 void visitCatchSwitch(const CatchSwitchInst &I);
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 890 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 100 } else if (isa<CatchSwitchInst>(IP)) { in findInsertPointAfter()
|
D | ValueTracking.cpp | 3497 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) in isGuaranteedToTransferExecutionToSuccessor()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2737 if (isa<CatchSwitchInst>(DestBlock->getTerminator())) in TryToSinkInstruction()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 2778 void visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|