Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp2119 const unsigned ScalingUpFactor = 1024; in isProfitableToIfCvt() local
2121 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt()
2139 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2142 unsigned TUnpredCost = Probability.scale(TUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2143 unsigned FUnpredCost = Probability.getCompl().scale(FUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2148 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2151 unsigned TUnpredCost = Probability.scale(TCycles * ScalingUpFactor); in isProfitableToIfCvt()
2153 Probability.getCompl().scale(FCycles * ScalingUpFactor); in isProfitableToIfCvt()
2155 UnpredCost += 1 * ScalingUpFactor; // The branch itself in isProfitableToIfCvt()
2156 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()