Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_io_offsets.c46 uint8_t *offset_src_idx) in get_ir3_intrinsic_for_ssbo_intrinsic() argument
48 assert(offset_src_idx); in get_ir3_intrinsic_for_ssbo_intrinsic()
50 *offset_src_idx = 1; in get_ir3_intrinsic_for_ssbo_intrinsic()
54 *offset_src_idx = 2; in get_ir3_intrinsic_for_ssbo_intrinsic()
196 unsigned ir3_ssbo_opcode, uint8_t offset_src_idx) in lower_offset_for_ssbo() argument
220 assert(intrinsic->src[offset_src_idx].is_ssa); in lower_offset_for_ssbo()
221 nir_ssa_def *offset = intrinsic->src[offset_src_idx].ssa; in lower_offset_for_ssbo()
303 uint8_t offset_src_idx; in lower_io_offsets_block() local
305 get_ir3_intrinsic_for_ssbo_intrinsic(intr->intrinsic, &offset_src_idx); in lower_io_offsets_block()
308 offset_src_idx); in lower_io_offsets_block()
Dir3_nir_lower_64b.c68 unsigned offset_src_idx; in lower_64b_intrinsics() local
72 offset_src_idx = 2; in lower_64b_intrinsics()
75 offset_src_idx = 1; in lower_64b_intrinsics()
82 nir_ssa_def *off = nir_ssa_for_src(b, intr->src[offset_src_idx], 1); in lower_64b_intrinsics()
95 store->src[offset_src_idx] = nir_src_for_ssa(off); in lower_64b_intrinsics()
130 unsigned offset_src_idx; in lower_64b_intrinsics() local
135 offset_src_idx = 1; in lower_64b_intrinsics()
138 offset_src_idx = 0; in lower_64b_intrinsics()
141 nir_ssa_def *off = nir_ssa_for_src(b, intr->src[offset_src_idx], 1); in lower_64b_intrinsics()
147 load->src[offset_src_idx] = nir_src_for_ssa(off); in lower_64b_intrinsics()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_offsets.c108 unsigned offset_src_idx, in try_fold_load_store() argument
117 nir_src *off_src = &intrin->src[offset_src_idx]; in try_fold_load_store()
141 … nir_instr_rewrite_src(&intrin->instr, &intrin->src[offset_src_idx], nir_src_for_ssa(replace_src)); in try_fold_load_store()
150 unsigned offset_src_idx) in try_fold_shared2() argument
157 nir_src *off_src = &intrin->src[offset_src_idx]; in try_fold_shared2()