Lines Matching refs:UnreachableInst
264 bool simplifyUnreachable(UnreachableInst *UI);
1643 [](const auto &Pair) { return isa<UnreachableInst>(Pair.first); }); in hoistCommonCodeFromSuccessors()
2543 return !isa<UnreachableInst>(II->getNormalDest()->getFirstNonPHIOrDbg()); in shouldBelongToSameSet()
2630 !isa<UnreachableInst>(Invokes[0]->getNormalDest()->getFirstNonPHIOrDbg()); in MergeCompatibleInvokesImpl()
2654 new UnreachableInst(Ctx, MergedNormalDest); in MergeCompatibleInvokesImpl()
4666 new UnreachableInst(OldTerm->getContext(), OldTerm->getIterator()); in SimplifyTerminatorOnSelect()
5097 new UnreachableInst(RI->getContext(), TrivialBB); in simplifyCommonResume()
5299 bool SimplifyCFGOpt::simplifyUnreachable(UnreachableInst *UI) { in simplifyUnreachable()
5355 new UnreachableInst(TI->getContext(), TI->getIterator()); in simplifyUnreachable()
5454 new UnreachableInst(CSI->getContext(), CSI->getIterator()); in simplifyUnreachable()
5464 new UnreachableInst(TI->getContext(), TI->getIterator()); in simplifyUnreachable()
5504 new UnreachableInst(Switch->getContext(), NewDefaultBlock); in createUnreachableSwitchDefault()
5524 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in TurnSwitchRangeIntoICmp()
5687 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in eliminateDeadSwitchCases()
6045 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in initializeUniqueCases()
7071 if (!isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg())) in simplifySwitchOfPowersOfTwo()
7199 new UnreachableInst(IBI->getContext(), IBI->getIterator()); in simplifyIndirectBr()
7843 Changed |= simplifyUnreachable(cast<UnreachableInst>(Terminator)); in simplifyOnce()