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