reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
913 group = isl_calloc_type(ctx, struct gpu_array_ref_group); 914 if (!group) 916 group->local_array = group1->local_array; 917 group->array = group1->array; 918 group->access = isl_map_union(isl_map_copy(group1->access), 920 group->write = group1->write || group2->write; 921 group->exact_write = group1->exact_write && group2->exact_write; 922 group->slice = group1->slice || group2->slice; 923 group->n_ref = group1->n_ref + group2->n_ref; 924 group->refs = isl_alloc_array(ctx, struct gpu_stmt_access *, 925 group->n_ref); 926 if (!group->refs) 927 return gpu_array_ref_group_free(group); 929 group->refs[i] = group1->refs[i]; 931 group->refs[group1->n_ref + i] = group2->refs[i]; 933 return group;