Searched refs:replace_src (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_offsets.c73 nir_ssa_def *replace_src = try_extract_const_addition(b, alu->src[0].src.ssa->parent_instr, state, out_const); local in function:try_extract_const_addition
74 if (replace_src) {
76 return nir_iadd(b, replace_src, alu->src[1 - i].src.ssa);
96 nir_ssa_def *replace_src = NULL; local in function:try_fold_load_store
104 replace_src = r;
108 replace_src = nir_imm_zero(b, off_src->ssa->num_components, off_src->ssa->bit_size);
111 if (!replace_src)
114 nir_instr_rewrite_src(&intrin->instr, &intrin->src[offset_src_idx], nir_src_for_ssa(replace_src));

Completed in 2 milliseconds