Lines Matching defs:li
120 bool OverlapWithAssignments(LiveInterval *li, int Color) const;
121 int ColorSlot(LiveInterval *li);
175 LiveInterval &li = LS->getInterval(FI);
177 li.weight += LiveIntervals::getSpillWeight(false, true, MBFI, MI);
223 LiveInterval &li = I->second;
224 LLVM_DEBUG(li.dump());
225 int FI = Register::stackSlot2Index(li.reg);
229 SSIntervals.push_back(&li);
258 StackSlotColoring::OverlapWithAssignments(LiveInterval *li, int Color) const {
262 if (OtherLI->overlaps(*li))
269 int StackSlotColoring::ColorSlot(LiveInterval *li) {
272 int FI = Register::stackSlot2Index(li->reg);
280 if (!OverlapWithAssignments(li, Color)) {
306 Assignments[Color].push_back(li);
333 LiveInterval *li = SSIntervals[i];
334 int SS = Register::stackSlot2Index(li->reg);
335 int NewSS = ColorSlot(li);
339 SlotWeights[NewSS] += li->weight;
346 LiveInterval *li = SSIntervals[i];
347 int SS = Register::stackSlot2Index(li->reg);
348 li->weight = SlotWeights[SS];