Home
last modified time | relevance | path

Searched refs:UnpredCost (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp1735 unsigned UnpredCost = Probability.scale(NumCycles * ScalingUpFactor); in isProfitableToIfCvt() local
1736 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() local
1759 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()