reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/External/isl/isl_tab.c
  229 	if (!tab)
  232 	off = 2 + tab->M;
  233 	dup = isl_calloc_type(tab->mat->ctx, struct isl_tab);
  236 	dup->mat = isl_mat_dup(tab->mat);
  239 	dup->var = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_var);
  239 	dup->var = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_var);
  240 	if (tab->max_var && !dup->var)
  242 	for (i = 0; i < tab->n_var; ++i)
  243 		dup->var[i] = tab->var[i];
  244 	dup->con = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_con);
  244 	dup->con = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_con);
  245 	if (tab->max_con && !dup->con)
  247 	for (i = 0; i < tab->n_con; ++i)
  248 		dup->con[i] = tab->con[i];
  249 	dup->col_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_col - off);
  249 	dup->col_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_col - off);
  250 	if ((tab->mat->n_col - off) && !dup->col_var)
  252 	for (i = 0; i < tab->n_col; ++i)
  253 		dup->col_var[i] = tab->col_var[i];
  254 	dup->row_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_row);
  254 	dup->row_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_row);
  255 	if (tab->mat->n_row && !dup->row_var)
  257 	for (i = 0; i < tab->n_row; ++i)
  258 		dup->row_var[i] = tab->row_var[i];
  259 	if (tab->row_sign) {
  260 		dup->row_sign = isl_alloc_array(tab->mat->ctx, enum isl_tab_row_sign,
  261 						tab->mat->n_row);
  262 		if (tab->mat->n_row && !dup->row_sign)
  264 		for (i = 0; i < tab->n_row; ++i)
  265 			dup->row_sign[i] = tab->row_sign[i];
  267 	if (tab->samples) {
  268 		dup->samples = isl_mat_dup(tab->samples);
  271 		dup->sample_index = isl_alloc_array(tab->mat->ctx, int,
  272 							tab->samples->n_row);
  273 		if (tab->samples->n_row && !dup->sample_index)
  275 		dup->n_sample = tab->n_sample;
  276 		dup->n_outside = tab->n_outside;
  278 	dup->n_row = tab->n_row;
  279 	dup->n_con = tab->n_con;
  280 	dup->n_eq = tab->n_eq;
  281 	dup->max_con = tab->max_con;
  282 	dup->n_col = tab->n_col;
  283 	dup->n_var = tab->n_var;
  284 	dup->max_var = tab->max_var;
  285 	dup->n_param = tab->n_param;
  286 	dup->n_div = tab->n_div;
  287 	dup->n_dead = tab->n_dead;
  288 	dup->n_redundant = tab->n_redundant;
  289 	dup->rational = tab->rational;
  290 	dup->empty = tab->empty;
  294 	dup->M = tab->M;
  295 	tab->cone = tab->cone;
  295 	tab->cone = tab->cone;
  300 	dup->n_zero = tab->n_zero;
  301 	dup->n_unbounded = tab->n_unbounded;
  302 	dup->basis = isl_mat_dup(tab->basis);