reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1132 node = isl_schedule_node_cow(node); 1132 node = isl_schedule_node_cow(node); 1133 if (!node) 1135 if (!isl_schedule_node_has_children(node)) 1136 isl_die(isl_schedule_node_get_ctx(node), isl_error_invalid, 1138 return isl_schedule_node_free(node)); 1140 ctx = isl_schedule_node_get_ctx(node); 1141 n = isl_schedule_tree_list_n_schedule_tree(node->ancestors); 1142 child_pos = isl_realloc_array(ctx, node->child_pos, int, n + 1); 1144 return isl_schedule_node_free(node); 1145 node->child_pos = child_pos; 1146 node->child_pos[n] = pos; 1148 node->ancestors = isl_schedule_tree_list_add(node->ancestors, 1148 node->ancestors = isl_schedule_tree_list_add(node->ancestors, 1149 isl_schedule_tree_copy(node->tree)); 1150 tree = node->tree; 1154 tree = isl_schedule_node_get_leaf(node); 1155 isl_schedule_tree_free(node->tree); 1156 node->tree = tree; 1158 if (!node->tree || !node->ancestors) 1158 if (!node->tree || !node->ancestors) 1159 return isl_schedule_node_free(node); 1161 return node;