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

References

lib/CodeGen/GlobalISel/RegBankSelect.cpp
  976   if (*this == Cost)
  980   if ((*this == ImpossibleCost()) || (Cost == ImpossibleCost()))
  981     return (*this == ImpossibleCost()) < (Cost == ImpossibleCost());
  984   if (isSaturated() || Cost.isSaturated())
  985     return isSaturated() < Cost.isSaturated();
  994   if (LLVM_LIKELY(LocalFreq == Cost.LocalFreq)) {
  998     if (NonLocalCost == Cost.NonLocalCost)
 1001       return LocalCost < Cost.LocalCost;
 1007     if (LocalCost < Cost.LocalCost)
 1008       OtherLocalAdjust = Cost.LocalCost - LocalCost;
 1010       ThisLocalAdjust = LocalCost - Cost.LocalCost;
 1013     OtherLocalAdjust = Cost.LocalCost;
 1019   if (NonLocalCost < Cost.NonLocalCost)
 1020     OtherNonLocalAdjust = Cost.NonLocalCost - NonLocalCost;
 1022     ThisNonLocalAdjust = NonLocalCost - Cost.NonLocalCost;
 1028   uint64_t OtherScaledCost = OtherLocalAdjust * Cost.LocalFreq;
 1032       (OtherScaledCost < OtherLocalAdjust || OtherScaledCost < Cost.LocalFreq);