reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
170 dup = isl_ast_expr_from_val(isl_val_copy(expr->u.v)); 173 dup = isl_ast_expr_from_id(isl_id_copy(expr->u.id)); 177 expr->u.op.op, expr->u.op.n_arg); 177 expr->u.op.op, expr->u.op.n_arg); 180 for (i = 0; i < expr->u.op.n_arg; ++i) 181 dup->u.op.args[i] = 182 isl_ast_expr_copy(expr->u.op.args[i]); 219 isl_val_free(expr->u.v); 222 isl_id_free(expr->u.id); 225 if (expr->u.op.args) 226 for (i = 0; i < expr->u.op.n_arg; ++i) 227 isl_ast_expr_free(expr->u.op.args[i]); 228 free(expr->u.op.args); 257 return isl_val_copy(expr->u.v); 268 return isl_id_copy(expr->u.id); 278 return expr->u.op.op; 288 return expr->u.op.n_arg; 299 if (pos < 0 || pos >= expr->u.op.n_arg) 303 return isl_ast_expr_copy(expr->u.op.args[pos]); 317 if (pos < 0 || pos >= expr->u.op.n_arg) 321 isl_ast_expr_free(expr->u.op.args[pos]); 322 expr->u.op.args[pos] = arg; 346 return isl_val_eq(expr1->u.v, expr2->u.v); 346 return isl_val_eq(expr1->u.v, expr2->u.v); 348 return expr1->u.id == expr2->u.id; 348 return expr1->u.id == expr2->u.id; 350 if (expr1->u.op.op != expr2->u.op.op) 350 if (expr1->u.op.op != expr2->u.op.op) 352 if (expr1->u.op.n_arg != expr2->u.op.n_arg) 352 if (expr1->u.op.n_arg != expr2->u.op.n_arg) 354 for (i = 0; i < expr1->u.op.n_arg; ++i) { 356 equal = isl_ast_expr_is_equal(expr1->u.op.args[i], 357 expr2->u.op.args[i]); 386 expr->u.op.op = op; 387 expr->u.op.n_arg = n_arg; 388 expr->u.op.args = isl_calloc_array(ctx, isl_ast_expr *, n_arg); 390 if (n_arg && !expr->u.op.args) 415 expr->u.id = id; 437 expr->u.v = isl_val_int_from_si(ctx, i); 438 if (!expr->u.v) 466 expr->u.v = v; 491 expr->u.op.args[0] = arg; 539 expr->u.op.args[0] = expr1; 540 expr->u.op.args[1] = expr2; 697 res->u.op.args[1 + i] = arg; 701 res->u.op.args[0] = arg0; 747 m = isl_id_to_ast_expr_try_get(id2expr, expr->u.id); 756 for (i = 0; i < expr->u.op.n_arg; ++i) { 758 arg = isl_ast_expr_copy(expr->u.op.args[i]); 761 if (arg == expr->u.op.args[i]) { 772 isl_ast_expr_free(expr->u.op.args[i]); 773 expr->u.op.args[i] = arg; 1546 if (op_prec[expr->u.op.op] > op_prec[op]) 1548 if (op_prec[expr->u.op.op] == op_prec[op] && left != op_left[op]) 1551 if (is_or(op) && is_and(expr->u.op.op)) 1553 if (op == isl_ast_op_mul && expr->u.op.op != isl_ast_op_mul && 1554 op_prec[expr->u.op.op] == op_prec[op]) 1556 if (is_add_sub(op) && is_div_mod(expr->u.op.op)) 1738 for (i = 1; i < expr->u.op.n_arg; ++i) { 1739 p = isl_printer_print_str(p, get_op_str_c(p, expr->u.op.op)); 1742 p = isl_printer_print_ast_expr(p, expr->u.op.args[0]); 1743 for (i = 1; i < expr->u.op.n_arg; ++i) { 1745 p = print_ast_expr_c(p, expr->u.op.args[i]); 1761 p = print_ast_expr_c(p, expr->u.op.args[0]); 1763 for (i = 1; i < expr->u.op.n_arg; ++i) { 1766 p = print_ast_expr_c(p, expr->u.op.args[i]); 1782 p = print_ast_expr_c(p, expr->u.op.args[0]); 1783 for (i = 1; i < expr->u.op.n_arg; ++i) { 1785 p = print_ast_expr_c(p, expr->u.op.args[i]); 1804 if (expr->u.op.op == isl_ast_op_call) { 1808 if (expr->u.op.op == isl_ast_op_access) { 1812 if (expr->u.op.n_arg == 1) { 1814 get_op_str_c(p, expr->u.op.op)); 1815 p = print_sub_expr_c(p, expr->u.op.op, 1816 expr->u.op.args[0], 0); 1819 if (expr->u.op.op == isl_ast_op_fdiv_q) { 1823 p = print_ast_expr_c(p, expr->u.op.args[0]); 1825 p = print_ast_expr_c(p, expr->u.op.args[1]); 1829 if (expr->u.op.op == isl_ast_op_max || 1830 expr->u.op.op == isl_ast_op_min) { 1834 if (expr->u.op.op == isl_ast_op_cond || 1835 expr->u.op.op == isl_ast_op_select) { 1836 p = print_ast_expr_c(p, expr->u.op.args[0]); 1838 p = print_ast_expr_c(p, expr->u.op.args[1]); 1840 p = print_ast_expr_c(p, expr->u.op.args[2]); 1843 if (expr->u.op.n_arg != 2) 1847 p = print_sub_expr_c(p, expr->u.op.op, expr->u.op.args[0], 1); 1847 p = print_sub_expr_c(p, expr->u.op.op, expr->u.op.args[0], 1); 1848 if (expr->u.op.op != isl_ast_op_member) 1850 p = isl_printer_print_str(p, get_op_str_c(p, expr->u.op.op)); 1851 if (expr->u.op.op != isl_ast_op_member) 1853 p = print_sub_expr_c(p, expr->u.op.op, expr->u.op.args[1], 0); 1853 p = print_sub_expr_c(p, expr->u.op.op, expr->u.op.args[1], 0); 1856 p = isl_printer_print_str(p, isl_id_get_name(expr->u.id)); 1859 p = isl_printer_print_val(p, expr->u.v); 2513 if (expr->u.op.op == isl_ast_op_min) 2515 if (expr->u.op.op == isl_ast_op_max) 2517 if (expr->u.op.op == isl_ast_op_fdiv_q) 2520 for (i = 0; i < expr->u.op.n_arg; ++i) 2521 macros = ast_expr_required_macros(expr->u.op.args[i], macros);tools/polly/lib/External/isl/isl_ast_build_expr.c
266 return isl_val_is_zero(expr->u.v); 1797 expr->u.op.args[i] = expr_i; 1848 return &ternary->u.op.args[2];tools/polly/lib/External/isl/isl_ast_codegen.c
713 expr->u.op.args[i] = expr_i;