Searched refs:UnpredCost (Results 1 – 2 of 2) sorted by relevance
1397 unsigned UnpredCost = Probability.getNumerator() * NumCycles; in isProfitableToIfCvt() local1398 UnpredCost /= Probability.getDenominator(); in isProfitableToIfCvt()1399 UnpredCost += 1; // The branch itself in isProfitableToIfCvt()1400 UnpredCost += Subtarget.getMispredictionPenalty() / 10; in isProfitableToIfCvt()1402 return (NumCycles + ExtraPredCycles) <= UnpredCost; in isProfitableToIfCvt()1422 unsigned UnpredCost = TUnpredCost + FUnpredCost; in isProfitableToIfCvt() local1423 UnpredCost += 1; // The branch itself in isProfitableToIfCvt()1424 UnpredCost += Subtarget.getMispredictionPenalty() / 10; in isProfitableToIfCvt()1426 return (TCycles + FCycles + TExtra + FExtra) <= UnpredCost; in isProfitableToIfCvt()
1735 unsigned UnpredCost = Probability.scale(NumCycles * ScalingUpFactor); in isProfitableToIfCvt() local1736 UnpredCost += ScalingUpFactor; // The branch itself in isProfitableToIfCvt()1737 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()1739 return (NumCycles + ExtraPredCycles) * ScalingUpFactor <= UnpredCost; in isProfitableToIfCvt()1758 unsigned UnpredCost = TUnpredCost + FUnpredCost; in isProfitableToIfCvt() local1759 UnpredCost += 1 * ScalingUpFactor; // The branch itself in isProfitableToIfCvt()1760 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()1762 return (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor <= UnpredCost; in isProfitableToIfCvt()