Searched refs:first_bit (Results 1 – 3 of 3) sorted by relevance
258 int first_bit = ffsll(offsets) - 1; in brw_nir_analyze_ubo_ranges() local264 int first_hole = ffsll(~offsets & ~((1ull << first_bit) - 1)) - 1; in brw_nir_analyze_ubo_ranges()281 entry->range.start = first_bit; in brw_nir_analyze_ubo_ranges()283 entry->range.length = first_hole - first_bit; in brw_nir_analyze_ubo_ranges()287 entry->benefit += info->uses[first_bit + i]; in brw_nir_analyze_ubo_ranges()
845 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \ argument847 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \851 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \854 #define BC_RSRVD(fmt, last_bit, first_bit) argument
956 unsigned first_bit, in nir_extract_bits() argument965 if (first_bit > 0) in nir_extract_bits()966 common_bit_size = MIN2(common_bit_size, (1u << (ffs(first_bit) - 1))); in nir_extract_bits()981 const unsigned bit = first_bit + (i * common_bit_size); in nir_extract_bits()