Searched refs:BTB (Results 1 – 3 of 3) sorted by relevance
1657 for (auto &BTB : SDB->BitTestCases) { in FinishBasicBlock() local1659 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()[all …]
8817 BitTestBlock *BTB = &BitTestCases[I->BTCasesIndex]; in lowerWorkItem() local8820 for (BitTestCase &BTC : BTB->Cases) in lowerWorkItem()8824 BTB->Parent = CurMBB; in lowerWorkItem()8825 BTB->Default = Fallthrough; in lowerWorkItem()8827 BTB->DefaultProb = UnhandledProbs; in lowerWorkItem()8831 if (!BTB->ContiguousRange) { in lowerWorkItem()8832 BTB->Prob += DefaultProb / 2; in lowerWorkItem()8833 BTB->DefaultProb -= DefaultProb / 2; in lowerWorkItem()8838 visitBitTestHeader(*BTB, SwitchMBB); in lowerWorkItem()8839 BTB->Emitted = true; in lowerWorkItem()
2367 BitTestBlock BTB(lowBound, cmpRange, SV, in handleBitTestsSwitchCase() local2372 visitBitTestHeader(BTB, SwitchBB); in handleBitTestsSwitchCase()2374 BitTestCases.push_back(BTB); in handleBitTestsSwitchCase()