| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 268 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateCXXStateNumbers() 276 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateCXXStateNumbers() 377 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest(); in calculateSEHStateNumbers() local 378 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateSEHStateNumbers() 386 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateSEHStateNumbers() 588 const BasicBlock *UnwindDest; in calculateClrEHStateNumbers() local 598 UnwindDest = Catch->getCatchSwitch()->getUnwindDest(); in calculateClrEHStateNumbers() 601 UnwindDest = nullptr; in calculateClrEHStateNumbers() 606 UnwindDest = CleanupRet->getUnwindDest(); in calculateClrEHStateNumbers() 648 UnwindDest = UserUnwindDest; in calculateClrEHStateNumbers() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 88 BasicBlock *UnwindDest, in createInvokeHelper() argument 93 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper() 655 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, in CreateGCStatepointInvokeCommon() argument 671 return createInvokeHelper(FnStatepoint, NormalDest, UnwindDest, Args, Builder, in CreateGCStatepointInvokeCommon() 677 BasicBlock *NormalDest, BasicBlock *UnwindDest, in CreateGCStatepointInvoke() argument 681 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, in CreateGCStatepointInvoke() 688 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, in CreateGCStatepointInvoke() argument 692 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags, in CreateGCStatepointInvoke() 698 BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs, in CreateGCStatepointInvoke() argument 701 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, in CreateGCStatepointInvoke()
|
| H A D | Verifier.cpp | 2053 BasicBlock *UnwindDest; in getSuccPad() local 2055 UnwindDest = II->getUnwindDest(); in getSuccPad() 2057 UnwindDest = CSI->getUnwindDest(); in getSuccPad() 2060 return UnwindDest->getFirstNonPHI(); in getSuccPad() 3673 BasicBlock *UnwindDest; in visitFuncletPadInst() local 3675 UnwindDest = CRI->getUnwindDest(); in visitFuncletPadInst() 3683 UnwindDest = CSI->getUnwindDest(); in visitFuncletPadInst() 3685 UnwindDest = II->getUnwindDest(); in visitFuncletPadInst() 3704 if (UnwindDest) { in visitFuncletPadInst() 3705 UnwindPad = UnwindDest->getFirstNonPHI(); in visitFuncletPadInst() [all …]
|
| H A D | Instructions.cpp | 847 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument 853 if (UnwindDest) in CatchSwitchInst() 855 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst() 859 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument 864 if (UnwindDest) in CatchSwitchInst() 866 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst() 881 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument 886 setNumHungOffUseOperands(UnwindDest ? 2 : 1); in init() 890 if (UnwindDest) { in init() 892 setUnwindDest(UnwindDest); in init()
|
| H A D | AsmWriter.cpp | 3720 if (const BasicBlock *UnwindDest = CatchSwitch->getUnwindDest()) in printInstruction() local 3721 writeOperand(UnwindDest, /*PrintType=*/true); in printInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 650 BasicBlock *UnwindDest = II->getUnwindDest(); in HandleInlinedEHPad() local 653 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad() 660 for (Instruction &I : *UnwindDest) { in HandleInlinedEHPad() 671 BasicBlock::iterator I = UnwindDest->begin(); in HandleInlinedEHPad() 687 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 733 CatchSwitch->getParentPad(), UnwindDest, in HandleInlinedEHPad() 762 &*BB, UnwindDest, &FuncletUnwindMap)) in HandleInlinedEHPad() 771 UnwindDest->removePredecessor(InvokeBB); in HandleInlinedEHPad() 2000 BasicBlock *UnwindDest = II->getUnwindDest(); in InlineFunction() local 2001 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI(); in InlineFunction()
|
| H A D | SimplifyCFG.cpp | 3918 BasicBlock *UnwindDest = RI->getUnwindDest(); in removeEmptyCleanup() local 3919 Instruction *DestEHPad = UnwindDest ? UnwindDest->getFirstNonPHI() : nullptr; in removeEmptyCleanup() 3926 if (UnwindDest) { in removeEmptyCleanup() 3929 for (BasicBlock::iterator I = UnwindDest->begin(), in removeEmptyCleanup() 3990 for (auto *pred : predecessors(UnwindDest)) in removeEmptyCleanup() 4000 if (UnwindDest == nullptr) { in removeEmptyCleanup() 4004 TI->replaceUsesOfWith(BB, UnwindDest); in removeEmptyCleanup() 4017 BasicBlock *UnwindDest = RI->getUnwindDest(); in mergeCleanupPad() local 4018 if (!UnwindDest) in mergeCleanupPad() 4023 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad() [all …]
|
| H A D | Local.cpp | 2170 BasicBlock *UnwindDest; in removeUnwindEdge() local 2174 UnwindDest = CRI->getUnwindDest(); in removeUnwindEdge() 2183 UnwindDest = CatchSwitch->getUnwindDest(); in removeUnwindEdge() 2190 UnwindDest->removePredecessor(BB); in removeUnwindEdge() 2194 DTU->deleteEdgeRelaxed(BB, UnwindDest); in removeUnwindEdge()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 649 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, 893 BasicBlock *NormalDest, BasicBlock *UnwindDest, 902 BasicBlock *NormalDest, BasicBlock *UnwindDest, 910 BasicBlock *UnwindDest, ArrayRef<Value *> Args, 914 UnwindDest, Args, OpBundles, Name); 918 BasicBlock *UnwindDest, 922 UnwindDest, Args, Name); 927 BasicBlock *UnwindDest, ArrayRef<Value *> Args, 933 Callee, NormalDest, UnwindDest, Args, OpBundles, Name); 938 BasicBlock *UnwindDest, [all …]
|
| H A D | Instructions.h | 3932 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3940 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3947 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved); 3957 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 3961 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 3965 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 3968 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 3987 void setUnwindDest(BasicBlock *UnwindDest) { 3988 assert(UnwindDest); 3990 setOperand(1, UnwindDest);
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 3955 BasicBlock *UnwindDest = nullptr; in parseFunctionBody() local 3957 UnwindDest = getBasicBlock(Record[Idx++]); in parseFunctionBody() 3958 if (!UnwindDest) in parseFunctionBody() 3962 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody() 4002 BasicBlock *UnwindDest = nullptr; in parseFunctionBody() local 4004 UnwindDest = getBasicBlock(Record[Idx++]); in parseFunctionBody() 4005 if (!UnwindDest) in parseFunctionBody() 4013 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 1532 auto UnwindDest = I.getUnwindDest(); in visitCleanupRet() local 1535 (BPI && UnwindDest) in visitCleanupRet() 1536 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest) in visitCleanupRet() 1538 findUnwindDestinations(FuncInfo, UnwindDest, UnwindDestProb, UnwindDests); in visitCleanupRet() 1539 for (auto &UnwindDest : UnwindDests) { in visitCleanupRet() local 1540 UnwindDest.first->setIsEHPad(); in visitCleanupRet() 1541 addSuccessorWithProb(FuncInfo.MBB, UnwindDest.first, UnwindDest.second); in visitCleanupRet() 2524 for (auto &UnwindDest : UnwindDests) { in visitInvoke() local 2525 UnwindDest.first->setIsEHPad(); in visitInvoke() 2526 addSuccessorWithProb(InvokeMBB, UnwindDest.first, UnwindDest.second); in visitInvoke()
|