Searched refs:max_element (Results 1 – 2 of 2) sorted by relevance
782 static size_t EncodingSizeInBytes(size_t max_element) { in EncodingSizeInBytes() argument783 DCHECK(IsUint<32>(max_element)); in EncodingSizeInBytes()784 return (max_element == 0) ? 0 in EncodingSizeInBytes()785 : IsUint<8>(max_element) ? 1 in EncodingSizeInBytes()786 : IsUint<16>(max_element) ? 2 in EncodingSizeInBytes()787 : IsUint<24>(max_element) ? 3 in EncodingSizeInBytes()
336 num_vregs_ = *std::max_element(map, map + count) + 1u; in PrepareSRegToVRegMap()