Lines Matching refs:BC

1181     SpillPlacement::BlockConstraint &BC = SplitConstraints[i];  in addSplitConstraints()  local
1183 BC.Number = BI.MBB->getNumber(); in addSplitConstraints()
1184 Intf.moveToBlock(BC.Number); in addSplitConstraints()
1185 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
1186 BC.Exit = (BI.LiveOut && in addSplitConstraints()
1190 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1200 if (Intf.first() <= Indexes->getMBBStartIdx(BC.Number)) { in addSplitConstraints()
1201 BC.Entry = SpillPlacement::MustSpill; in addSplitConstraints()
1204 BC.Entry = SpillPlacement::PrefSpill; in addSplitConstraints()
1211 if (((BC.Entry == SpillPlacement::MustSpill) || in addSplitConstraints()
1212 (BC.Entry == SpillPlacement::PrefSpill)) && in addSplitConstraints()
1214 SA->getFirstSplitPoint(BC.Number))) in addSplitConstraints()
1220 if (Intf.last() >= SA->getLastSplitPoint(BC.Number)) { in addSplitConstraints()
1221 BC.Exit = SpillPlacement::MustSpill; in addSplitConstraints()
1224 BC.Exit = SpillPlacement::PrefSpill; in addSplitConstraints()
1233 StaticCost += SpillPlacer->getBlockFrequency(BC.Number); in addSplitConstraints()
1578 SpillPlacement::BlockConstraint &BC = SplitConstraints[i]; in calcGlobalSplitCost() local
1579 bool RegIn = LiveBundles[Bundles->getBundle(BC.Number, false)]; in calcGlobalSplitCost()
1580 bool RegOut = LiveBundles[Bundles->getBundle(BC.Number, true)]; in calcGlobalSplitCost()
1583 Cand.Intf.moveToBlock(BC.Number); in calcGlobalSplitCost()
1591 splitCanCauseEvictionChain(VirtRegToSplit, Cand, BC.Number, Order)) { in calcGlobalSplitCost()
1595 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1596 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1600 } else if (splitCanCauseLocalSpill(VirtRegToSplit, Cand, BC.Number, in calcGlobalSplitCost()
1603 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1604 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1609 Ins += RegIn != (BC.Entry == SpillPlacement::PrefReg); in calcGlobalSplitCost()
1611 Ins += RegOut != (BC.Exit == SpillPlacement::PrefReg); in calcGlobalSplitCost()
1613 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()