Lines Matching defs:P2
83 static bool isMoreDesirable(const SizePriority &P1, const SizePriority &P2) {
84 return P1.Size < P2.Size;
103 static bool isMoreDesirable(const CostPriority &P1, const CostPriority &P2) {
104 return P1.Cost < P2.Cost;
126 const CostBenefitPriority &P2) {
145 P2.Cost + P2.StaticBonusApplied < ModuleInlinerTopPriorityThreshold;
154 return P1.Cost < P2.Cost;
158 bool P2HasCB = P2.CostBenefit.has_value();
167 APInt LHS = P1.CostBenefit->getBenefit() * P2.CostBenefit->getCost();
168 APInt RHS = P2.CostBenefit->getBenefit() * P1.CostBenefit->getCost();
173 return P1.Cost < P2.Cost;
194 static bool isMoreDesirable(const MLPriority &P1, const MLPriority &P2) {
195 return P1.Cost < P2.Cost;