Lines Matching defs:P1
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;
125 static bool isMoreDesirable(const CostBenefitPriority &P1,
143 P1.Cost + P1.StaticBonusApplied < ModuleInlinerTopPriorityThreshold;
148 // true iff P1 reduces the caller size.
154 return P1.Cost < P2.Cost;
157 bool P1HasCB = P1.CostBenefit.has_value();
161 // then return true iff P1 has.
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;