Lines Matching refs:ssa
169 if (!mark_invariant(alu->src[i].src.ssa, state)) { in mark_invariant()
232 nir_loop_variable *src_var = get_loop_var(src->src.ssa, state); in compute_induction_information()
251 if (alu->src[i].src.ssa->parent_instr->type == nir_instr_type_load_const && in compute_induction_information()
252 alu->src[1-i].src.ssa == &phi->dest.ssa) in compute_induction_information()
253 biv->invariant = get_loop_var(alu->src[i].src.ssa, state); in compute_induction_information()
338 if (nif->condition.ssa->parent_instr->type == nir_instr_type_phi) in find_loop_terminators()
351 terminator->conditional_instr = nif->condition.ssa->parent_instr; in find_loop_terminators()
488 if (cond_alu->src[0].src.ssa == alu_def->def || in calculate_iterations()
489 cond_alu->src[1].src.ssa == alu_def->def) { in calculate_iterations()
563 basic_ind = get_loop_var(alu->src[0].src.ssa, state); in find_trip_count()
564 limit = get_loop_var(alu->src[1].src.ssa, state); in find_trip_count()
568 basic_ind = get_loop_var(alu->src[1].src.ssa, state); in find_trip_count()
569 limit = get_loop_var(alu->src[0].src.ssa, state); in find_trip_count()
652 get_loop_var(deref_array->indirect.ssa, state); in force_unroll_array_access()