Lines Matching refs:BC

1257     SpillPlacement::BlockConstraint &BC = SplitConstraints[I];  in addSplitConstraints()  local
1259 BC.Number = BI.MBB->getNumber(); in addSplitConstraints()
1260 Intf.moveToBlock(BC.Number); in addSplitConstraints()
1261 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
1262 BC.Exit = (BI.LiveOut && in addSplitConstraints()
1266 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1276 if (Intf.first() <= Indexes->getMBBStartIdx(BC.Number)) { in addSplitConstraints()
1277 BC.Entry = SpillPlacement::MustSpill; in addSplitConstraints()
1280 BC.Entry = SpillPlacement::PrefSpill; in addSplitConstraints()
1287 if (((BC.Entry == SpillPlacement::MustSpill) || in addSplitConstraints()
1288 (BC.Entry == SpillPlacement::PrefSpill)) && in addSplitConstraints()
1290 SA->getFirstSplitPoint(BC.Number))) in addSplitConstraints()
1296 if (Intf.last() >= SA->getLastSplitPoint(BC.Number)) { in addSplitConstraints()
1297 BC.Exit = SpillPlacement::MustSpill; in addSplitConstraints()
1300 BC.Exit = SpillPlacement::PrefSpill; in addSplitConstraints()
1309 StaticCost += SpillPlacer->getBlockFrequency(BC.Number); in addSplitConstraints()
1632 SpillPlacement::BlockConstraint &BC = SplitConstraints[I]; in calcGlobalSplitCost() local
1633 bool RegIn = LiveBundles[Bundles->getBundle(BC.Number, false)]; in calcGlobalSplitCost()
1634 bool RegOut = LiveBundles[Bundles->getBundle(BC.Number, true)]; in calcGlobalSplitCost()
1637 Cand.Intf.moveToBlock(BC.Number); in calcGlobalSplitCost()
1645 splitCanCauseEvictionChain(VirtRegToSplit, Cand, BC.Number, Order)) { in calcGlobalSplitCost()
1649 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1650 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1654 } else if (splitCanCauseLocalSpill(VirtRegToSplit, Cand, BC.Number, in calcGlobalSplitCost()
1657 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1658 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()
1663 Ins += RegIn != (BC.Entry == SpillPlacement::PrefReg); in calcGlobalSplitCost()
1665 Ins += RegOut != (BC.Exit == SpillPlacement::PrefReg); in calcGlobalSplitCost()
1667 GlobalCost += SpillPlacer->getBlockFrequency(BC.Number); in calcGlobalSplitCost()