Searched refs:old_bit_size (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_bit_size.c | 119 const unsigned old_bit_size = intrin->dest.ssa.bit_size; in lower_intrinsic_instr() local 120 assert(old_bit_size < bit_size); in lower_intrinsic_instr() 160 int64_t int_max = (1ull << (old_bit_size - 1)) - 1; in lower_intrinsic_instr() 165 int64_t int_min = -(int64_t)(1ull << (old_bit_size - 1)); in lower_intrinsic_instr() 176 res = nir_u2u(b, res, old_bit_size); in lower_intrinsic_instr()
|
D | nir.c | 45 unsigned old_bit_size, in nir_component_mask_can_reinterpret() argument 48 assert(util_is_power_of_two_nonzero(old_bit_size)); in nir_component_mask_can_reinterpret() 51 if (old_bit_size == new_bit_size) in nir_component_mask_can_reinterpret() 54 if (old_bit_size == 1 || new_bit_size == 1) in nir_component_mask_can_reinterpret() 57 if (old_bit_size > new_bit_size) { in nir_component_mask_can_reinterpret() 58 unsigned ratio = old_bit_size / new_bit_size; in nir_component_mask_can_reinterpret() 66 start *= old_bit_size; in nir_component_mask_can_reinterpret() 67 count *= old_bit_size; in nir_component_mask_can_reinterpret() 81 unsigned old_bit_size, in nir_component_mask_reinterpret() argument 84 assert(nir_component_mask_can_reinterpret(mask, old_bit_size, new_bit_size)); in nir_component_mask_reinterpret() [all …]
|
D | nir_deref.c | 1201 const unsigned old_bit_size = load->dest.ssa.bit_size; in opt_load_vec_deref() local 1217 if (old_bit_size != new_bit_size) in opt_load_vec_deref() 1218 data = nir_bitcast_vector(b, &load->dest.ssa, old_bit_size); in opt_load_vec_deref() 1243 const unsigned old_bit_size = data->bit_size; in opt_store_vec_deref() local 1254 if (old_bit_size != new_bit_size) in opt_store_vec_deref() 1262 write_mask = nir_component_mask_reinterpret(write_mask, old_bit_size, in opt_store_vec_deref()
|
D | nir.h | 80 unsigned old_bit_size, 84 unsigned old_bit_size,
|