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

References

tools/polly/lib/External/isl/isl_ast.c
  830 	node->u.i.guard = guard;
  855 	node->u.f.iterator = isl_ast_expr_from_id(id);
  856 	if (!node->u.f.iterator)
  881 	mark->u.m.mark = id;
  882 	mark->u.m.node = node;
  906 	node->u.e.expr = expr;
  930 	node->u.b.children = list;
  978 		dup->u.i.guard = isl_ast_expr_copy(node->u.i.guard);
  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);
  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);
  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))
  982 		    (node->u.i.else_node && !dup->u.i.else_node))
  986 		dup->u.f.iterator = isl_ast_expr_copy(node->u.f.iterator);
  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);
  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);
  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);
  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);
  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)
  996 		dup->u.b.children = isl_ast_node_list_copy(node->u.b.children);
  996 		dup->u.b.children = isl_ast_node_list_copy(node->u.b.children);
  997 		if (!dup->u.b.children)
 1001 		dup->u.m.mark = isl_id_copy(node->u.m.mark);
 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);
 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)
 1007 		dup->u.e.expr = isl_ast_expr_copy(node->u.e.expr);
 1007 		dup->u.e.expr = isl_ast_expr_copy(node->u.e.expr);
 1008 		if (!dup->u.e.expr)
 1039 		isl_ast_expr_free(node->u.i.guard);
 1040 		isl_ast_node_free(node->u.i.then);
 1041 		isl_ast_node_free(node->u.i.else_node);
 1044 		isl_ast_expr_free(node->u.f.iterator);
 1045 		isl_ast_expr_free(node->u.f.init);
 1046 		isl_ast_expr_free(node->u.f.cond);
 1047 		isl_ast_expr_free(node->u.f.inc);
 1048 		isl_ast_node_free(node->u.f.body);
 1051 		isl_ast_node_list_free(node->u.b.children);
 1054 		isl_id_free(node->u.m.mark);
 1055 		isl_ast_node_free(node->u.m.node);
 1058 		isl_ast_expr_free(node->u.e.expr);
 1083 	isl_ast_node_free(node->u.f.body);
 1084 	node->u.f.body = body;
 1101 	return isl_ast_node_copy(node->u.f.body);
 1112 	node->u.f.degenerate = 1;
 1123 	return node->u.f.degenerate;
 1134 	return isl_ast_expr_copy(node->u.f.iterator);
 1145 	return isl_ast_expr_copy(node->u.f.init);
 1163 	if (!node->u.f.degenerate)
 1164 		return isl_ast_expr_copy(node->u.f.cond);
 1167 				isl_ast_expr_copy(node->u.f.iterator),
 1168 				isl_ast_expr_copy(node->u.f.init));
 1184 	if (!node->u.f.degenerate)
 1185 		return isl_ast_expr_copy(node->u.f.inc);
 1201 	isl_ast_node_free(node->u.i.then);
 1202 	node->u.i.then = child;
 1219 	return isl_ast_node_copy(node->u.i.then);
 1230 	return node->u.i.else_node != NULL;
 1241 	return isl_ast_node_copy(node->u.i.else_node);
 1252 	return isl_ast_expr_copy(node->u.i.guard);
 1263 	return isl_ast_node_list_copy(node->u.b.children);
 1275 	return isl_ast_expr_copy(node->u.e.expr);
 1288 	return isl_id_copy(node->u.m.mark);
 1302 	return isl_ast_node_copy(node->u.m.node);
 1381 		node = node->u.f.body;
 1384 		ok = isl_ast_node_foreach_descendant_top_down(node->u.i.then,
 1388 		if (!node->u.i.else_node)
 1390 		node = node->u.i.else_node;
 1393 		return nodelist_foreach(node->u.b.children, fn, user);
 1395 		node = node->u.m.node;
 2055 		p = isl_printer_print_ast_expr(p, node->u.f.iterator);
 2057 		if (node->u.f.degenerate) {
 2060 			p = isl_printer_print_ast_expr(p, node->u.f.init);
 2065 			p = isl_printer_print_ast_expr(p, node->u.f.init);
 2069 			p = isl_printer_print_ast_expr(p, node->u.f.cond);
 2073 			p = isl_printer_print_ast_expr(p, node->u.f.inc);
 2076 		if (node->u.f.body) {
 2079 			p = isl_printer_print_ast_node(p, node->u.f.body);
 2088 		p = isl_printer_print_id(p, node->u.m.mark);
 2092 		p = isl_printer_print_ast_node(p, node->u.m.node);
 2099 		p = isl_printer_print_ast_expr(p, node->u.e.expr);
 2106 		p = isl_printer_print_ast_expr(p, node->u.i.guard);
 2108 		if (node->u.i.then) {
 2111 			p = isl_printer_print_ast_node(p, node->u.i.then);
 2114 		if (node->u.i.else_node) {
 2117 			p = isl_printer_print_ast_node(p, node->u.i.else_node);
 2122 		p = print_ast_node_list(p, node->u.b.children);
 2150 	if (node->type == isl_ast_node_for && node->u.f.degenerate)
 2152 	if (node->type == isl_ast_node_if && node->u.i.else_node)
 2278 	if (!node->u.f.degenerate) {
 2279 		id = isl_ast_expr_get_id(node->u.f.iterator);
 2288 		p = isl_printer_print_ast_expr(p, node->u.f.init);
 2290 		p = isl_printer_print_ast_expr(p, node->u.f.cond);
 2294 		p = isl_printer_print_ast_expr(p, node->u.f.inc);
 2296 		p = print_body_c(p, node->u.f.body, NULL, options, 0);
 2298 		id = isl_ast_expr_get_id(node->u.f.iterator);
 2308 		p = isl_printer_print_ast_expr(p, node->u.f.init);
 2311 		p = print_ast_node_c(p, node->u.f.body, options, 1, 0);
 2331 	p = isl_printer_print_ast_expr(p, node->u.i.guard);
 2333 	p = print_body_c(p, node->u.i.then, node->u.i.else_node, options,
 2333 	p = print_body_c(p, node->u.i.then, node->u.i.else_node, options,
 2366 		p = isl_ast_node_list_print(node->u.b.children, p, options);
 2373 		p = isl_printer_print_str(p, isl_id_get_name(node->u.m.mark));
 2375 		p = print_ast_node_c(p, node->u.m.node, options, 0, in_list);
 2383 		p = isl_printer_print_ast_expr(p, node->u.e.expr);
 2539 		macros = ast_expr_required_macros(node->u.f.init, macros);
 2540 		if (!node->u.f.degenerate) {
 2541 			macros = ast_expr_required_macros(node->u.f.cond,
 2543 			macros = ast_expr_required_macros(node->u.f.inc,
 2546 		macros = ast_node_required_macros(node->u.f.body, macros);
 2549 		macros = ast_expr_required_macros(node->u.i.guard, macros);
 2550 		macros = ast_node_required_macros(node->u.i.then, macros);
 2551 		if (node->u.i.else_node)
 2552 			macros = ast_node_required_macros(node->u.i.else_node,
 2556 		macros = ast_node_list_required_macros(node->u.b.children,
 2560 		macros = ast_node_required_macros(node->u.m.node, macros);
 2563 		macros = ast_expr_required_macros(node->u.e.expr, macros);
tools/polly/lib/External/isl/isl_ast_codegen.c
  793 	graft->node->u.f.init = isl_ast_build_expr_from_pw_aff_internal(build,
  795 	if (!graft->node->u.f.init)
 1031 	iterator = isl_ast_expr_copy(graft->node->u.f.iterator);
 1033 	graft->node->u.f.cond = cond;
 1036 	if (!graft->node->u.f.cond)
 1054 	graft->node->u.f.cond = cond;
 1055 	if (!graft->node->u.f.cond)
 1130 	node->u.f.init = reduce_list(isl_ast_op_max, lower, build);
 1131 	node->u.f.inc = for_inc(build);
 1133 	if (!node->u.f.init || !node->u.f.inc)
 1133 	if (!node->u.f.init || !node->u.f.inc)
tools/polly/lib/External/isl/isl_ast_graft.c
  485 	return graft_extend_body(list, &last_if->u.i.then, graft, build);
  496 	return graft_extend_body(list, &last_if->u.i.else_node, graft, build);