Lines Matching refs:lv

82    loop_variable *lv = rzalloc(mem_ctx, loop_variable);  in insert()  local
84 lv->var = var; in insert()
86 hash_table_insert(this->var_hash, lv, lv->var); in insert()
87 this->variables.push_tail(lv); in insert()
89 return lv; in insert()
184 loop_variable *lv = ls->get(var); in visit() local
186 if (lv == NULL) { in visit()
187 lv = ls->insert(var); in visit()
188 lv->read_before_write = !this->in_assignee; in visit()
194 lv->conditional_assignment = (this->if_statement_depth > 0) in visit()
197 if (lv->first_assignment == NULL) { in visit()
198 assert(lv->num_assignments == 0); in visit()
200 lv->first_assignment = this->current_assignment; in visit()
203 lv->num_assignments++; in visit()
204 } else if (lv->first_assignment == this->current_assignment) { in visit()
208 lv->read_before_write = true; in visit()
257 loop_variable *lv = (loop_variable *) node; in visit_leave() local
262 if (lv->is_loop_constant()) { in visit_leave()
263 lv->remove(); in visit_leave()
264 ls->constants.push_tail(lv); in visit_leave()
287 loop_variable *lv = (loop_variable *) node; in visit_leave() local
289 if (lv->conditional_assignment || (lv->num_assignments > 1)) in visit_leave()
295 ir_rvalue *const rhs = lv->first_assignment->rhs; in visit_leave()
297 lv->rhs_clean = true; in visit_leave()
299 if (lv->is_loop_constant()) { in visit_leave()
302 lv->remove(); in visit_leave()
303 ls->constants.push_tail(lv); in visit_leave()
313 loop_variable *lv = (loop_variable *) node; in visit_leave() local
320 if (lv->num_assignments > 1) in visit_leave()
326 assert(lv->num_assignments == 1); in visit_leave()
327 assert(lv->first_assignment != NULL); in visit_leave()
331 if (lv->conditional_assignment) in visit_leave()
339 get_basic_induction_increment(lv->first_assignment, ls->var_hash); in visit_leave()
341 lv->iv_scale = NULL; in visit_leave()
342 lv->biv = lv->var; in visit_leave()
343 lv->increment = inc; in visit_leave()
345 lv->remove(); in visit_leave()
346 ls->induction_variables.push_tail(lv); in visit_leave()
413 loop_variable *lv = in visit() local
416 assert(lv != NULL); in visit()
418 if (lv->is_loop_constant()) { in visit()
471 loop_variable *lv = in get_basic_induction_increment() local
474 if (!lv->is_loop_constant()) in get_basic_induction_increment()