Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.cpp1397 unsigned UnpredCost = Probability.getNumerator() * NumCycles; in isProfitableToIfCvt() local
1398 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() local
1423 UnpredCost += 1; // The branch itself in isProfitableToIfCvt()
1424 UnpredCost += Subtarget.getMispredictionPenalty() / 10; in isProfitableToIfCvt()
1426 return (TCycles + FCycles + TExtra + FExtra) <= UnpredCost; in isProfitableToIfCvt()
/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()