Lines Matching refs:PrevBB
909 MachineBasicBlock *PrevBB = ForcedLayoutPred; in tailDuplicate() local
910 if (!PrevBB) in tailDuplicate()
911 PrevBB = &*std::prev(TailBB->getIterator()); in tailDuplicate()
916 if (PrevBB->succ_size() == 1 && in tailDuplicate()
918 *PrevBB->succ_begin() == TailBB && in tailDuplicate()
919 !TII->analyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond) && in tailDuplicate()
924 LLVM_DEBUG(dbgs() << "\nMerging into block: " << *PrevBB in tailDuplicate()
929 TII->removeBranch(*PrevBB); in tailDuplicate()
939 processPHI(MI, TailBB, PrevBB, LocalVRMap, CopyInfos, UsedByPhi, true); in tailDuplicate()
948 duplicateInstruction(MI, TailBB, PrevBB, LocalVRMap, UsedByPhi); in tailDuplicate()
951 appendCopies(PrevBB, CopyInfos, Copies); in tailDuplicate()
953 TII->removeBranch(*PrevBB); in tailDuplicate()
955 PrevBB->splice(PrevBB->end(), TailBB, TailBB->begin(), TailBB->end()); in tailDuplicate()
957 PrevBB->removeSuccessor(PrevBB->succ_begin()); in tailDuplicate()
958 assert(PrevBB->succ_empty()); in tailDuplicate()
959 PrevBB->transferSuccessors(TailBB); in tailDuplicate()
963 PrevBB->updateTerminator(TailBB->getNextNode()); in tailDuplicate()
965 TDBBs.push_back(PrevBB); in tailDuplicate()