Searched refs:ScaleDiff (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ScaledNumber.cpp | 125 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/lib/Support/ |
D | ScaledNumber.cpp | 125 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/ |
D | ScaledNumber.h | 245 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 245 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()
|