Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2141 const unsigned ScalingUpFactor = 1024; in isProfitableToIfCvt() local
2143 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt()
2161 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2164 unsigned TUnpredCost = Probability.scale(TUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2165 unsigned FUnpredCost = Probability.getCompl().scale(FUnpredCycles * ScalingUpFactor); in isProfitableToIfCvt()
2170 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2173 unsigned TUnpredCost = Probability.scale(TCycles * ScalingUpFactor); in isProfitableToIfCvt()
2175 Probability.getCompl().scale(FCycles * ScalingUpFactor); in isProfitableToIfCvt()
2177 UnpredCost += 1 * ScalingUpFactor; // The branch itself in isProfitableToIfCvt()
2178 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10; in isProfitableToIfCvt()