Lines Matching refs:group1
886 static int accesses_overlap(struct gpu_array_ref_group *group1, in accesses_overlap() argument
891 disjoint = isl_map_is_disjoint(group1->access, group2->access); in accesses_overlap()
902 struct gpu_array_ref_group *group1, in join_groups() argument
909 if (!group1 || !group2) in join_groups()
912 ctx = isl_map_get_ctx(group1->access); in join_groups()
916 group->local_array = group1->local_array; in join_groups()
917 group->array = group1->array; in join_groups()
918 group->access = isl_map_union(isl_map_copy(group1->access), in join_groups()
920 group->write = group1->write || group2->write; in join_groups()
921 group->exact_write = group1->exact_write && group2->exact_write; in join_groups()
922 group->slice = group1->slice || group2->slice; in join_groups()
923 group->n_ref = group1->n_ref + group2->n_ref; in join_groups()
928 for (i = 0; i < group1->n_ref; ++i) in join_groups()
929 group->refs[i] = group1->refs[i]; in join_groups()
931 group->refs[group1->n_ref + i] = group2->refs[i]; in join_groups()
940 struct gpu_array_ref_group *group1, in join_groups_and_free() argument
945 group = join_groups(group1, group2); in join_groups_and_free()
946 gpu_array_ref_group_free(group1); in join_groups_and_free()
1224 int (*overlap)(struct gpu_array_ref_group *group1, in group_writes() argument
1271 static int depth_accesses_overlap(struct gpu_array_ref_group *group1, in depth_accesses_overlap() argument
1279 depth = group1->min_depth; in depth_accesses_overlap()
1282 map_i = isl_map_copy(group1->access); in depth_accesses_overlap()