Searched refs:opnd (Results 1 – 2 of 2) sorted by relevance
329 inline static kind LowestOneBitValue(kind opnd) { in LowestOneBitValue() argument331 return opnd & -opnd; in LowestOneBitValue()336 inline static T HighestOneBitValue(T opnd) { in HighestOneBitValue() argument339 if (opnd == 0) { in HighestOneBitValue()342 int bit_position = BitSizeOf<T>() - (CLZ(static_cast<unsigned_type>(opnd)) + 1); in HighestOneBitValue()350 inline static T Rot(T opnd, int distance) { in Rot() argument355 return (static_cast<unsigned_type>(opnd) >> unsigned_right_shift) | (opnd << signed_left_shift); in Rot()359 inline static uint32_t ReverseBits32(uint32_t opnd) { in ReverseBits32() argument361 opnd = ((opnd >> 1) & 0x55555555) | ((opnd & 0x55555555) << 1); in ReverseBits32()362 opnd = ((opnd >> 2) & 0x33333333) | ((opnd & 0x33333333) << 2); in ReverseBits32()[all …]
149 inline static int32_t Signum(T opnd) { in Signum() argument150 return (opnd < 0) ? -1 : ((opnd == 0) ? 0 : 1); in Signum()