Home
last modified time | relevance | path

Searched refs:lhs_entry (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dopt_copy_propagation_elements.cpp139 acp_entry *lhs_entry = pull_acp(lhs); in write_elements() local
140 lhs_entry->rhs_full = NULL; in write_elements()
145 ir_variable *to_remove = lhs_entry->rhs_element[i]; in write_elements()
146 lhs_entry->rhs_element[i] = rhs; in write_elements()
147 lhs_entry->rhs_channel[i] = swizzle[i]; in write_elements()
149 remove_unused_var_from_dsts(lhs_entry, lhs, to_remove); in write_elements()
158 acp_entry *lhs_entry = pull_acp(lhs); in write_full() local
159 if (lhs_entry->rhs_full == rhs) in write_full()
162 if (lhs_entry->rhs_full) { in write_full()
163 remove_from_dsts(lhs_entry->rhs_full, lhs); in write_full()
[all …]
Dopt_structure_splitting.cpp263 variable_entry *lhs_entry = lhs_deref ? get_splitting_entry(lhs_deref->var) : NULL; in visit_leave() local
267 if ((lhs_entry || rhs_entry) && !ir->condition) { in visit_leave()
270 void *mem_ctx = lhs_entry ? lhs_entry->mem_ctx : rhs_entry->mem_ctx; in visit_leave()
272 if (lhs_entry) { in visit_leave()
273 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); in visit_leave()