Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_io_offsets.c90 nir_ssa_def *shift_ssa = alu_instr->src[1].src.ssa; in check_and_propagate_bit_shift32() local
116 shift_ssa = nir_isub(b, shift_ssa, nir_imm_int(b, abs(shift))); in check_and_propagate_bit_shift32()
118 shift_ssa = nir_iadd(b, shift_ssa, nir_imm_int(b, abs(shift))); in check_and_propagate_bit_shift32()
120 return shift_ssa; in check_and_propagate_bit_shift32()
132 nir_ssa_def *shift_ssa; in ir3_nir_try_propagate_bit_shift() local
143 shift_ssa = check_and_propagate_bit_shift32(b, alu, 1, shift); in ir3_nir_try_propagate_bit_shift()
144 if (shift_ssa) in ir3_nir_try_propagate_bit_shift()
145 new_offset = nir_ishl(b, src0, shift_ssa); in ir3_nir_try_propagate_bit_shift()
148 shift_ssa = check_and_propagate_bit_shift32(b, alu, -1, shift); in ir3_nir_try_propagate_bit_shift()
149 if (shift_ssa) in ir3_nir_try_propagate_bit_shift()
[all …]