Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp224 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor()
242 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
266 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers()
344 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
376 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers()
417 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC()
513 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
550 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers()
614 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers()
636 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers()
[all …]
DWasmEHPrepare.cpp349 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
368 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp225 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
244 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper()
264 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
304 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
489 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken()
500 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
513 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
703 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad()
729 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad()
1588 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
DLocal.cpp2116 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks()
2145 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks()
2181 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge()
2182 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp438 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch()
542 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills()
606 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo()
664 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp794 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
806 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
817 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst
828 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init()
845 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands()
854 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler()
862 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler()
3871 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl()
3872 return new CatchSwitchInst(*this); in cloneImpl()
DCore.cpp2487 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2500 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
2806 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler()
2810 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers()
2814 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers()
2815 for (CatchSwitchInst::handler_iterator I = CSI->handler_begin(), in LLVMGetHandlers()
2826 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
DVerifier.cpp485 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
2008 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad()
3392 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
3445 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors()
3531 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
3588 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst()
3715 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
3732 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
/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)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h4188 class CatchSwitchInst : public TerminatorInst {
4196 CatchSwitchInst(const CatchSwitchInst &CSI);
4202 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4210 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4224 CatchSwitchInst *cloneImpl() const;
4227 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4231 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4235 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4238 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4355 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {};
[all …]
DInstVisitor.h177 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { DELEGATE(TerminatorInst);} in visitCatchSwitchInst()
DInstruction.def123 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DPtrState.cpp271 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dinvalid-eh.ll106 ;T7: ; CHECK7: CatchSwitchInst has an invalid parent
117 ;T8: ; CHECK8: CatchSwitchInst handlers must be catchpads
403 ;T23: ; CHECK23: CatchPadInst needs to be directly nested in a CatchSwitchInst.
/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h52 class CatchSwitchInst; variable
824 void visitCatchSwitch(const CatchSwitchInst &I);
/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()

123