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

References

tools/polly/lib/External/isl/isl_ast.c
  972 	dup = isl_ast_node_alloc(isl_ast_node_get_ctx(node), node->type);
  973 	if (!dup)
  978 		dup->u.i.guard = isl_ast_expr_copy(node->u.i.guard);
  979 		dup->u.i.then = isl_ast_node_copy(node->u.i.then);
  980 		dup->u.i.else_node = isl_ast_node_copy(node->u.i.else_node);
  981 		if (!dup->u.i.guard  || !dup->u.i.then ||
  981 		if (!dup->u.i.guard  || !dup->u.i.then ||
  982 		    (node->u.i.else_node && !dup->u.i.else_node))
  983 			return isl_ast_node_free(dup);
  986 		dup->u.f.iterator = isl_ast_expr_copy(node->u.f.iterator);
  987 		dup->u.f.init = isl_ast_expr_copy(node->u.f.init);
  988 		dup->u.f.cond = isl_ast_expr_copy(node->u.f.cond);
  989 		dup->u.f.inc = isl_ast_expr_copy(node->u.f.inc);
  990 		dup->u.f.body = isl_ast_node_copy(node->u.f.body);
  991 		if (!dup->u.f.iterator || !dup->u.f.init || !dup->u.f.cond ||
  991 		if (!dup->u.f.iterator || !dup->u.f.init || !dup->u.f.cond ||
  991 		if (!dup->u.f.iterator || !dup->u.f.init || !dup->u.f.cond ||
  992 		    !dup->u.f.inc || !dup->u.f.body)
  992 		    !dup->u.f.inc || !dup->u.f.body)
  993 			return isl_ast_node_free(dup);
  996 		dup->u.b.children = isl_ast_node_list_copy(node->u.b.children);
  997 		if (!dup->u.b.children)
  998 			return isl_ast_node_free(dup);
 1001 		dup->u.m.mark = isl_id_copy(node->u.m.mark);
 1002 		dup->u.m.node = isl_ast_node_copy(node->u.m.node);
 1003 		if (!dup->u.m.mark || !dup->u.m.node)
 1003 		if (!dup->u.m.mark || !dup->u.m.node)
 1004 			return isl_ast_node_free(dup);
 1007 		dup->u.e.expr = isl_ast_expr_copy(node->u.e.expr);
 1008 		if (!dup->u.e.expr)
 1009 			return isl_ast_node_free(dup);
 1015 	return dup;