Searched refs:PredBBTerminator (Results 1 – 2 of 2) sorted by relevance
143 auto *PredBBTerminator = PredBB->getTerminator(); in createEmptyBasicBlock() local145 if (isa<UnreachableInst>(PredBBTerminator)) { in createEmptyBasicBlock()148 PredBBTerminator->eraseFromParent(); in createEmptyBasicBlock()154 assert(!PredBBTerminator->getSuccessor(idx) && in createEmptyBasicBlock()156 PredBBTerminator->setSuccessor(idx, NewBB); in createEmptyBasicBlock()
288 auto *PredBBTerminator = PredBB->getTerminator(); in createEmptyBasicBlock() local290 if (isa<UnreachableInst>(PredBBTerminator)) { in createEmptyBasicBlock()293 PredBBTerminator->eraseFromParent(); in createEmptyBasicBlock()299 assert(!PredBBTerminator->getSuccessor(idx) && in createEmptyBasicBlock()301 PredBBTerminator->setSuccessor(idx, NewBB); in createEmptyBasicBlock()