Searched refs:return_prev (Results 1 – 1 of 1) sorted by relevance
195 optimize_atomic(nir_builder *b, nir_intrinsic_instr *intrin, bool return_prev) in optimize_atomic() argument202 bool combined_scan_reduce = return_prev && data->divergent; in optimize_atomic()216 if (return_prev) { in optimize_atomic()245 bool return_prev = !nir_ssa_def_is_unused(&intrin->dest.ssa); in optimize_and_rewrite_atomic() local252 nir_ssa_def *result = optimize_atomic(b, intrin, return_prev); in optimize_and_rewrite_atomic()