Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2129 const unsigned ScalingUpFactor = 1024; in isProfitableToIfCvt() local
2131 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt()
2149 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2152 unsigned TUnpredCost = Probability.scale(TUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2153 unsigned FUnpredCost = Probability.getCompl().scale(FUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2158 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2161 unsigned TUnpredCost = Probability.scale(TCycles * ScalingUpFactor); in isProfitableToIfCvt()
2163 Probability.getCompl().scale(FCycles * ScalingUpFactor); in isProfitableToIfCvt()
2165 UnpredCost += 1 * ScalingUpFactor; // The branch itself in isProfitableToIfCvt()
2166 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()