Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DScaledNumber.h493 template <class DigitsT> class ScaledNumber : ScaledNumberBase {
511 ScaledNumber() : Digits(0), Scale(0) {} in ScaledNumber() function
513 ScaledNumber(DigitsType Digits, int16_t Scale) in ScaledNumber() function
517 ScaledNumber(const std::pair<uint64_t, int16_t> &X) in ScaledNumber() function
521 static ScaledNumber getZero() { return ScaledNumber(0, 0); } in getZero()
522 static ScaledNumber getOne() { return ScaledNumber(1, 0); } in getOne()
523 static ScaledNumber getLargest() { in getLargest()
524 return ScaledNumber(DigitsLimits::max(), ScaledNumbers::MaxScale); in getLargest()
526 static ScaledNumber get(uint64_t N) { return adjustToWidth(N, 0); } in get()
527 static ScaledNumber getInverse(uint64_t N) { in getInverse()
[all …]
/external/llvm/lib/Support/
DAndroid.mk58 ScaledNumber.cpp \
DCMakeLists.txt75 ScaledNumber.cpp
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp24 ScaledNumber<uint64_t> BlockMass::toScaled() const { in toScaled()
26 return ScaledNumber<uint64_t>(1, 0); in toScaled()
27 return ScaledNumber<uint64_t>(getMass() + 1, -64); in toScaled()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h119 ScaledNumber<uint64_t> toScaled() const;
158 typedef ScaledNumber<uint64_t> Scaled64;