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

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp1397 unsigned UnpredCost = Probability.getNumerator() * NumCycles; local
1398 UnpredCost /= Probability.getDenominator();
1399 UnpredCost += 1; // The branch itself
1400 UnpredCost += Subtarget.getMispredictionPenalty() / 10;
1402 return (NumCycles + ExtraPredCycles) <= UnpredCost;
1422 unsigned UnpredCost = TUnpredCost + FUnpredCost; local
1423 UnpredCost += 1; // The branch itself
1424 UnpredCost += Subtarget.getMispredictionPenalty() / 10;
1426 return (TCycles + FCycles + TExtra + FExtra) <= UnpredCost;
/external/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp1732 // Here we scale up each component of UnpredCost to avoid precision issue when
1735 unsigned UnpredCost = Probability.scale(NumCycles * ScalingUpFactor); local
1736 UnpredCost += ScalingUpFactor; // The branch itself
1737 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10;
1739 return (NumCycles + ExtraPredCycles) * ScalingUpFactor <= UnpredCost;
1752 // Here we scale up each component of UnpredCost to avoid precision issue when
1758 unsigned UnpredCost = TUnpredCost + FUnpredCost; local
1759 UnpredCost += 1 * ScalingUpFactor; // The branch itself
1760 UnpredCost += Subtarget.getMispredictionPenalty() * ScalingUpFactor / 10;
1762 return (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor <= UnpredCost;
[all...]

Completed in 598 milliseconds