Lines Matching refs:FBB
212 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
214 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
215 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
477 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in FixTail() local
481 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
483 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
983 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in TailMergeBlocks() local
985 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
993 if (!FBB) in TailMergeBlocks()
994 FBB = std::next(MachineFunction::iterator(PBB)); in TailMergeBlocks()
1008 } else if (FBB) { in TailMergeBlocks()
1009 if (TBB != IBB && FBB != IBB) // cbr then ubr in TailMergeBlocks()
1021 if (TBB && (Cond.empty() || FBB)) { in TailMergeBlocks()
1026 TII->InsertBranch(*PBB, (TBB == IBB) ? FBB : TBB, nullptr, in TailMergeBlocks()
1687 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in HoistCommonCodeInSuccs() local
1689 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty()) in HoistCommonCodeInSuccs()
1692 if (!FBB) FBB = findFalseBlock(MBB, TBB); in HoistCommonCodeInSuccs()
1693 if (!FBB) in HoistCommonCodeInSuccs()
1699 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
1715 MachineBasicBlock::iterator FIB = FBB->begin(); in HoistCommonCodeInSuccs()
1717 MachineBasicBlock::iterator FIE = FBB->end(); in HoistCommonCodeInSuccs()
1829 FBB->erase(FBB->begin(), FIB); in HoistCommonCodeInSuccs()
1836 FBB->addLiveIn(Def); in HoistCommonCodeInSuccs()