Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DScaledNumber.cpp125 int ScaledNumbers::compareImpl(uint64_t L, uint64_t R, int ScaleDiff) { in compareImpl() argument
126 assert(ScaleDiff >= 0 && "wrong argument order"); in compareImpl()
127 assert(ScaleDiff < 64 && "numbers too far apart"); in compareImpl()
129 uint64_t L_adjusted = L >> ScaleDiff; in compareImpl()
135 return L > L_adjusted << ScaleDiff ? 1 : 0; in compareImpl()
/external/llvm/include/llvm/Support/
DScaledNumber.h245 int compareImpl(uint64_t L, uint64_t R, int ScaleDiff);
300 int32_t ScaleDiff = int32_t(LScale) - RScale; in matchScales() local
301 if (ScaleDiff >= 2 * getWidth<DigitsT>()) { in matchScales()
308 int32_t ShiftL = std::min<int32_t>(countLeadingZeros(LDigits), ScaleDiff); in matchScales()
311 int32_t ShiftR = ScaleDiff - ShiftL; in matchScales()