Searched refs:UnpredCost (Results 1 – 1 of 1) sorted by relevance
1689 unsigned UnpredCost = Probability.getNumerator() * NumCycles; in isProfitableToIfCvt() local1690 UnpredCost /= Probability.getDenominator(); in isProfitableToIfCvt()1691 UnpredCost += 1; // The branch itself in isProfitableToIfCvt()1692 UnpredCost += Subtarget.getMispredictionPenalty() / 10; in isProfitableToIfCvt()1694 return (NumCycles + ExtraPredCycles) <= UnpredCost; in isProfitableToIfCvt()1714 unsigned UnpredCost = TUnpredCost + FUnpredCost; in isProfitableToIfCvt() local1715 UnpredCost += 1; // The branch itself in isProfitableToIfCvt()1716 UnpredCost += Subtarget.getMispredictionPenalty() / 10; in isProfitableToIfCvt()1718 return (TCycles + FCycles + TExtra + FExtra) <= UnpredCost; in isProfitableToIfCvt()