Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp1734 const unsigned ScalingUpFactor = 1024; in isProfitableToIfCvt() local
1735 unsigned UnpredCost = Probability.scale(NumCycles * ScalingUpFactor); in isProfitableToIfCvt()
1736 UnpredCost += ScalingUpFactor; // The branch itself in isProfitableToIfCvt()
1737 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()
1739 return (NumCycles + ExtraPredCycles) * ScalingUpFactor <= UnpredCost; in isProfitableToIfCvt()
1754 const unsigned ScalingUpFactor = 1024; in isProfitableToIfCvt() local
1755 unsigned TUnpredCost = Probability.scale(TCycles * ScalingUpFactor); in isProfitableToIfCvt()
1757 Probability.getCompl().scale(FCycles * ScalingUpFactor); in isProfitableToIfCvt()
1759 UnpredCost += 1 * ScalingUpFactor; // The branch itself in isProfitableToIfCvt()
1760 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()
[all …]