Lines Matching refs:FBB
205 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
207 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
208 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
470 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in FixTail() local
474 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
476 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
900 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in TailMergeBlocks() local
902 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
910 if (!FBB) in TailMergeBlocks()
911 FBB = std::next(MachineFunction::iterator(PBB)); in TailMergeBlocks()
925 } else if (FBB) { in TailMergeBlocks()
926 if (TBB != IBB && FBB != IBB) // cbr then ubr in TailMergeBlocks()
938 if (TBB && (Cond.empty() || FBB)) { in TailMergeBlocks()
943 TII->InsertBranch(*PBB, (TBB == IBB) ? FBB : TBB, nullptr, in TailMergeBlocks()
1593 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in HoistCommonCodeInSuccs() local
1595 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty()) in HoistCommonCodeInSuccs()
1598 if (!FBB) FBB = findFalseBlock(MBB, TBB); in HoistCommonCodeInSuccs()
1599 if (!FBB) in HoistCommonCodeInSuccs()
1605 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
1621 MachineBasicBlock::iterator FIB = FBB->begin(); in HoistCommonCodeInSuccs()
1623 MachineBasicBlock::iterator FIE = FBB->end(); in HoistCommonCodeInSuccs()
1735 FBB->erase(FBB->begin(), FIB); in HoistCommonCodeInSuccs()
1742 FBB->addLiveIn(Def); in HoistCommonCodeInSuccs()