Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DScaledNumber.cpp55 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); } in getHalf() function
77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); in divide32()
121 return getRounded(Quotient, Shift, Dividend >= getHalf(Divisor)); in divide64()
/external/llvm/include/llvm/Support/
DScaledNumber.h432 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); } in getHalf() function