Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h230 int CountLeadingZeros(T integer_input) { in CountLeadingZeros() argument
234 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() argument
256 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 …]