Lines Matching refs:BTB
1657 for (auto &BTB : SDB->BitTestCases) { in FinishBasicBlock() local
1659 if (!BTB.Emitted) { in FinishBasicBlock()
1661 FuncInfo->MBB = BTB.Parent; in FinishBasicBlock()
1664 SDB->visitBitTestHeader(BTB, FuncInfo->MBB); in FinishBasicBlock()
1670 BranchProbability UnhandledProb = BTB.Prob; in FinishBasicBlock()
1671 for (unsigned j = 0, ej = BTB.Cases.size(); j != ej; ++j) { in FinishBasicBlock()
1672 UnhandledProb -= BTB.Cases[j].ExtraProb; in FinishBasicBlock()
1674 FuncInfo->MBB = BTB.Cases[j].ThisBB; in FinishBasicBlock()
1687 if (BTB.ContiguousRange && j + 2 == ej) { in FinishBasicBlock()
1690 NextMBB = BTB.Cases[j + 1].TargetBB; in FinishBasicBlock()
1693 NextMBB = BTB.Default; in FinishBasicBlock()
1696 NextMBB = BTB.Cases[j + 1].ThisBB; in FinishBasicBlock()
1699 SDB->visitBitTestCase(BTB, NextMBB, UnhandledProb, BTB.Reg, BTB.Cases[j], in FinishBasicBlock()
1706 if (BTB.ContiguousRange && j + 2 == ej) { in FinishBasicBlock()
1708 BTB.Cases.pop_back(); in FinishBasicBlock()
1722 if (PHIBB == BTB.Default) { in FinishBasicBlock()
1723 PHI.addReg(FuncInfo->PHINodesToUpdate[pi].second).addMBB(BTB.Parent); in FinishBasicBlock()
1724 if (!BTB.ContiguousRange) { in FinishBasicBlock()
1726 .addMBB(BTB.Cases.back().ThisBB); in FinishBasicBlock()
1730 for (unsigned j = 0, ej = BTB.Cases.size(); in FinishBasicBlock()
1732 MachineBasicBlock* cBB = BTB.Cases[j].ThisBB; in FinishBasicBlock()