Lines Matching refs:a_path
456 compare_deref_paths(nir_deref_path *a_path, nir_deref_path *b_path, in compare_deref_paths() argument
466 nir_deref_instr **a = a_path->path; in compare_deref_paths()
587 nir_compare_deref_paths(nir_deref_path *a_path, in nir_compare_deref_paths() argument
590 if (!modes_may_alias(b_path->path[0]->modes, a_path->path[0]->modes)) in nir_compare_deref_paths()
593 if (a_path->path[0]->deref_type != b_path->path[0]->deref_type) in nir_compare_deref_paths()
597 if (a_path->path[0]->deref_type == nir_deref_type_var) { in nir_compare_deref_paths()
598 const nir_variable *a_var = a_path->path[0]->var; in nir_compare_deref_paths()
613 binding_compare = compare_deref_paths(a_path, b_path, &path_idx, in nir_compare_deref_paths()
661 assert(a_path->path[0]->deref_type == nir_deref_type_cast); in nir_compare_deref_paths()
673 if (a_path->path[0] != b_path->path[0]) in nir_compare_deref_paths()
677 return compare_deref_paths(a_path, b_path, &path_idx, NULL); in nir_compare_deref_paths()
688 nir_deref_path a_path, b_path; in nir_compare_derefs() local
689 nir_deref_path_init(&a_path, a, NULL); in nir_compare_derefs()
691 assert(a_path.path[0]->deref_type == nir_deref_type_var || in nir_compare_derefs()
692 a_path.path[0]->deref_type == nir_deref_type_cast); in nir_compare_derefs()
696 nir_deref_compare_result result = nir_compare_deref_paths(&a_path, &b_path); in nir_compare_derefs()
698 nir_deref_path_finish(&a_path); in nir_compare_derefs()