Searched refs:integer_input (Results 1 – 1 of 1) sorted by relevance
230 int CountLeadingZeros(T integer_input) { in CountLeadingZeros() argument234 return integer_input ? __builtin_clz(integer_input) in CountLeadingZeros()237 if (integer_input == 0) { in CountLeadingZeros()244 while (integer_input < one_in_leading_positive) { in CountLeadingZeros()245 integer_input <<= 1; in CountLeadingZeros()253 inline int CountLeadingSignBits(T integer_input) { in CountLeadingSignBits() argument256 return integer_input ? __builtin_clrsb(integer_input) in CountLeadingSignBits()260 return integer_input >= 0 in CountLeadingSignBits()261 ? CountLeadingZeros(static_cast<U>(integer_input)) - 1 in CountLeadingSignBits()262 : integer_input != std::numeric_limits<T>::min() in CountLeadingSignBits()[all …]