reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
59 mat = isl_alloc_type(ctx, struct isl_mat); 60 if (!mat) 63 mat->row = NULL; 64 mat->block = isl_blk_alloc(ctx, n_row * n_col); 65 if (isl_blk_is_error(mat->block)) 67 mat->row = isl_alloc_array(ctx, isl_int *, n_row); 68 if (n_row && !mat->row) 72 mat->row[i] = mat->block.data + i * n_col; 72 mat->row[i] = mat->block.data + i * n_col; 74 mat->ctx = ctx; 76 mat->ref = 1; 77 mat->n_row = n_row; 78 mat->n_col = n_col; 79 mat->max_col = n_col; 80 mat->flags = 0; 82 return mat; 84 isl_blk_free(ctx, mat->block); 85 free(mat);