Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_ra.c135 unsigned *live_map = ralloc_array(NULL, unsigned, max_nodes); in etna_ra_assign() local
136 memset(live_map, 0xff, sizeof(unsigned) * max_nodes); in etna_ra_assign()
139 unsigned num_nodes = etna_live_defs(impl, defs, live_map); in etna_ra_assign()
193 unsigned index = live_map[src_index(impl, &intr->src[1])]; in etna_ra_assign()
217 ra_set_node_reg(g, live_map[dest_index(impl, dest)], reg); in etna_ra_assign()
238 c->live_map = live_map; in etna_ra_assign()
252 ralloc_free(c->live_map); in etna_ra_finish()
Detnaviv_compiler_nir_liveness.c48 unsigned *live_map; /* to map ssa/reg index into defs array */ member
99 unsigned i = state->live_map[src_index(state->impl, src)]; in set_src_live()
121 etna_live_defs(nir_function_impl *impl, struct live_def *defs, unsigned *live_map) in etna_live_defs() argument
128 state.live_map = live_map; in etna_live_defs()
140 if (live_map[idx] != ~0u) in etna_live_defs()
153 live_map[idx] = state.num_defs; in etna_live_defs()
Detnaviv_compiler_nir.h54 unsigned *live_map; member
235 etna_live_defs(nir_function_impl *impl, struct live_def *defs, unsigned *live_map);
Detnaviv_compiler_nir.c338 unsigned reg = ra_get_node_reg(c->g, c->live_map[src_index(c->impl, src)]); in ra_src()
435 unsigned r = ra_get_node_reg(c->g, c->live_map[dest_index(c->impl, dest)]); in ra_dest()