nir/copy_prop_vars: rename/refactor store_to_entry helper
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 16 Jan 2019 19:27:43 +0000 (11:27 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 1 Mar 2019 07:50:05 +0000 (23:50 -0800)
commite84c841fb07cbb3e2d5d28ab55c91ccd8cf41f64
tree890a9f5a6fc2500d947a9ac9abb9e74bfdaf65f3
parent6c614492517e6af0bc333807dcef12f0939131ba
nir/copy_prop_vars: rename/refactor store_to_entry helper

The name reflected this function role back when the pass also did dead
write elimination.  So rename it to what it does now, which is setting
a value using another value; and narrow the argument list.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_copy_prop_vars.c