Searched refs:UnwindDest (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp268 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest(); local
269 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
273 BasicBlock *UnwindDest = getCleanupRetUnwindDest(InnerCleanupPad); local
277 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
378 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest(); local
379 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
383 BasicBlock *UnwindDest local
589 const BasicBlock *UnwindDest; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp87 BasicBlock *UnwindDest,
92 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name);
660 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest,
676 return createInvokeHelper(FnStatepoint, NormalDest, UnwindDest, Args, Builder,
682 BasicBlock *NormalDest, BasicBlock *UnwindDest,
686 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest,
693 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags,
697 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags,
703 BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs,
706 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest,
86 createInvokeHelper(Function *Invokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Ops, IRBuilderBase *Builder, const Twine &Name = �) argument
658 CreateGCStatepointInvokeCommon( IRBuilderBase *Builder, uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef<T0> InvokeArgs, ArrayRef<T1> TransitionArgs, ArrayRef<T2> DeoptArgs, ArrayRef<T3> GCArgs, const Twine &Name) argument
680 CreateGCStatepointInvoke( uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> InvokeArgs, ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) argument
691 CreateGCStatepointInvoke( uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef<Use> InvokeArgs, ArrayRef<Use> TransitionArgs, ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) argument
701 CreateGCStatepointInvoke( uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs, ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) argument
[all...]
H A DVerifier.cpp2110 BasicBlock *UnwindDest; local
2112 UnwindDest = II->getUnwindDest();
2114 UnwindDest = CSI->getUnwindDest();
2116 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest();
2117 return UnwindDest->getFirstNonPHI();
3806 BasicBlock *UnwindDest; local
3808 UnwindDest = CRI->getUnwindDest();
3816 UnwindDest = CSI->getUnwindDest();
3818 UnwindDest = II->getUnwindDest();
3837 if (UnwindDest) {
[all...]
H A DInstructions.cpp992 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, argument
998 if (UnwindDest)
1000 init(ParentPad, UnwindDest, NumReservedValues + 1);
1004 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, argument
1009 if (UnwindDest)
1011 init(ParentPad, UnwindDest, NumReservedValues + 1);
1026 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, argument
1031 setNumHungOffUseOperands(UnwindDest ? 2 : 1);
1035 if (UnwindDest) {
1037 setUnwindDest(UnwindDest);
[all...]
H A DAsmWriter.cpp3816 if (const BasicBlock *UnwindDest = CatchSwitch->getUnwindDest())
3817 writeOperand(UnwindDest, /*PrintType=*/true);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp643 BasicBlock *UnwindDest = II->getUnwindDest(); local
646 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!");
653 for (Instruction &I : *UnwindDest) {
664 BasicBlock::iterator I = UnwindDest->begin();
680 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI);
726 CatchSwitch->getParentPad(), UnwindDest,
755 &*BB, UnwindDest, &FuncletUnwindMap))
764 UnwindDest->removePredecessor(InvokeBB);
2060 BasicBlock *UnwindDest = II->getUnwindDest(); local
2061 Instruction *FirstNonPHI = UnwindDest
[all...]
H A DSimplifyCFG.cpp4021 // set UnwindDest to nullptr.
4022 BasicBlock *UnwindDest = RI->getUnwindDest(); local
4023 Instruction *DestEHPad = UnwindDest ? UnwindDest->getFirstNonPHI() : nullptr;
4028 // be certain that UnwindDest and BB have no common predecessors (since they
4030 if (UnwindDest) {
4031 // First, go through the PHI nodes in UnwindDest and update any nodes that
4033 for (BasicBlock::iterator I = UnwindDest->begin(),
4039 // Since BB unwinds to UnwindDest, it has to be in the PHI node.
4048 // Because BB and UnwindDest ar
4121 BasicBlock *UnwindDest = RI->getUnwindDest(); local
[all...]
H A DLocal.cpp2201 BasicBlock *UnwindDest; local
2205 UnwindDest = CRI->getUnwindDest();
2214 UnwindDest = CatchSwitch->getUnwindDest();
2221 UnwindDest->removePredecessor(BB);
2225 DTU->applyUpdatesPermissive({{DominatorTree::Delete, BB, UnwindDest}});
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h764 BasicBlock *UnwindDest, ArrayRef<Value *> InvokeArgs,
772 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags,
783 BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs,
1016 BasicBlock *NormalDest, BasicBlock *UnwindDest,
1021 InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args, OpBundles),
1025 BasicBlock *NormalDest, BasicBlock *UnwindDest,
1028 return Insert(InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args),
1033 BasicBlock *UnwindDest, ArrayRef<Value *> Args,
1037 NormalDest, UnwindDest, Args, OpBundles, Name);
1041 BasicBlock *UnwindDest,
1015 CreateInvoke(FunctionType *Ty, Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> OpBundles, const Twine &Name = �) argument
1024 CreateInvoke(FunctionType *Ty, Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args = None, const Twine &Name = �) argument
1032 CreateInvoke(FunctionCallee Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> OpBundles, const Twine &Name = �) argument
1040 CreateInvoke(FunctionCallee Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args = None, const Twine &Name = �) argument
1049 CreateInvoke(Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> OpBundles, const Twine &Name = �) argument
1060 CreateInvoke(Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Value *> Args = None, const Twine &Name = �) argument
[all...]
H A DInstructions.h4235 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4243 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4250 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
4260 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4264 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4268 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4271 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4290 void setUnwindDest(BasicBlock *UnwindDest) {
4291 assert(UnwindDest);
4293 setOperand(1, UnwindDest);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGStackify.cpp890 MachineBasicBlock *UnwindDest = nullptr; local
893 UnwindDest = Succ;
897 if (EHPadStack.back() == UnwindDest)
901 UnwindDestToTryRanges[UnwindDest].push_back(TryRange(&MI, &MI));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4264 BasicBlock *UnwindDest = nullptr;
4266 UnwindDest = getBasicBlock(Record[Idx++]);
4267 if (!UnwindDest)
4271 I = CleanupReturnInst::Create(CleanupPad, UnwindDest);
4311 BasicBlock *UnwindDest = nullptr; local
4313 UnwindDest = getBasicBlock(Record[Idx++]);
4314 if (!UnwindDest)
4322 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1772 auto UnwindDest = I.getUnwindDest(); local
1775 (BPI && UnwindDest)
1776 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest)
1778 findUnwindDestinations(FuncInfo, UnwindDest, UnwindDestProb, UnwindDests);
1779 for (auto &UnwindDest : UnwindDests) {
1780 UnwindDest.first->setIsEHPad();
1781 addSuccessorWithProb(FuncInfo.MBB, UnwindDest.first, UnwindDest.second);
2845 for (auto &UnwindDest : UnwindDests) {
2846 UnwindDest
[all...]

Completed in 483 milliseconds