Lines Matching refs:SpillPlacement
121 SpillPlacement *SpillPlacer;
243 SmallVector<SpillPlacement::BlockConstraint, 8> SplitConstraints;
467 AU.addRequired<SpillPlacement>(); in getAnalysisUsage()
909 SpillPlacement::BlockConstraint &BC = SplitConstraints[i]; in addSplitConstraints()
913 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
914 BC.Exit = BI.LiveOut ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
926 BC.Entry = SpillPlacement::MustSpill, ++Ins; in addSplitConstraints()
928 BC.Entry = SpillPlacement::PrefSpill, ++Ins; in addSplitConstraints()
936 BC.Exit = SpillPlacement::MustSpill, ++Ins; in addSplitConstraints()
938 BC.Exit = SpillPlacement::PrefSpill, ++Ins; in addSplitConstraints()
961 SpillPlacement::BlockConstraint BCS[GroupSize]; in addThroughConstraints()
984 BCS[B].Entry = SpillPlacement::MustSpill; in addThroughConstraints()
986 BCS[B].Entry = SpillPlacement::PrefSpill; in addThroughConstraints()
990 BCS[B].Exit = SpillPlacement::MustSpill; in addThroughConstraints()
992 BCS[B].Exit = SpillPlacement::PrefSpill; in addThroughConstraints()
1127 SpillPlacement::BlockConstraint &BC = SplitConstraints[i]; in calcGlobalSplitCost()
1133 Ins += RegIn != (BC.Entry == SpillPlacement::PrefReg); in calcGlobalSplitCost()
1135 Ins += RegOut != (BC.Exit == SpillPlacement::PrefReg); in calcGlobalSplitCost()
2547 SpillPlacer = &getAnalysis<SpillPlacement>(); in runOnMachineFunction()