reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/LiveInterval.h
  809       return weight != huge_valf;
  814       weight = huge_valf;
lib/CodeGen/CalcSpillWeights.cpp
  143   li.weight = weight;
lib/CodeGen/InlineSpiller.cpp
 1148     auto LI = std::make_unique<LiveInterval>(OrigLI.reg, OrigLI.weight);
lib/CodeGen/LiveInterval.cpp
 1042   OS << " weight:" << weight;
lib/CodeGen/RegAllocBase.cpp
  108                       << ':' << *VirtReg << " w=" << VirtReg->weight << '\n');
lib/CodeGen/RegAllocBasic.cpp
   49       return A->weight < B->weight;
   49       return A->weight < B->weight;
  216       if (!Intf->isSpillable() || Intf->weight > VirtReg.weight)
  216       if (!Intf->isSpillable() || Intf->weight > VirtReg.weight)
lib/CodeGen/RegAllocGreedy.cpp
  856   if (A.weight > B.weight) {
  856   if (A.weight > B.weight) {
  857     LLVM_DEBUG(dbgs() << "should evict: " << B << " w= " << B.weight << '\n');
  937       Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight);
  997       Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight);
 1028   BestEvictCost.MaxWeight = VirtReg.weight;
 1124     BestCost.MaxWeight = VirtReg.weight;
 2190       const float weight = IntI.value()->weight;
lib/CodeGen/RegAllocPBQP.cpp
  202         LIS.getInterval(G.getNodeMetadata(NId).getVReg()).weight;
  688                     << LRE.getParent().weight << ", New vregs: ");
lib/CodeGen/StackSlotColoring.cpp
  147     return LHS->weight > RHS->weight;
  147     return LHS->weight > RHS->weight;
  176           li.weight += LiveIntervals::getSpillWeight(false, true, MBFI, MI);
  338     SlotWeights[NewSS] += li->weight;
  347     li->weight = SlotWeights[SS];
lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
  109     assert(LI->weight == 0.0f);
  110     LI->weight = computeWeight(MRI, MBFI, VReg);
  123     if (LHS->weight != RHS->weight)
  123     if (LHS->weight != RHS->weight)
  124       return LHS->weight > RHS->weight;
  124       return LHS->weight > RHS->weight;