Home | History | Annotate | Download | only in gcc

Lines Matching refs:new_stmt

782 /* Change field call_stmt of edge E to NEW_STMT.  If UPDATE_SPECULATIVE and E
788 cgraph_edge::set_call_stmt (cgraph_edge *e, gcall *new_stmt,
795 && (decl = gimple_call_fndecl (new_stmt)))
822 cgraph_edge *d2 = set_call_stmt (d, new_stmt, false);
830 ref->stmt = new_stmt;
834 indirect = set_call_stmt (indirect, new_stmt, false);
850 e->call_stmt = new_stmt;
853 e->can_throw_external = stmt_can_throw_external (fun, new_stmt);
1420 gcall *new_stmt;
1436 gcall *new_stmt;
1460 new_stmt = gimple_ic (e->call_stmt,
1478 cgraph_edge::set_call_stmt (e, new_stmt, false);
1538 new_stmt = padjs->modify_call (e, false, killed_ssas);
1546 gimple_call_set_fntype (new_stmt, TREE_TYPE (e->callee->decl));
1550 gimple_call_set_fntype (new_stmt, new_fntype);
1554 add_stmt_to_eh_lp (new_stmt, lp_nr);
1561 new_stmt = e->call_stmt;
1562 gimple_call_set_fndecl (new_stmt, e->callee->decl);
1563 update_stmt_fn (DECL_STRUCT_FUNCTION (e->caller->decl), new_stmt);
1568 if (gimple_call_noreturn_p (new_stmt)
1573 gimple_call_set_fntype (new_stmt, TREE_TYPE (e->callee->decl));
1576 tree lhs = gimple_call_lhs (new_stmt);
1578 && gimple_call_noreturn_p (new_stmt)
1579 && (VOID_TYPE_P (TREE_TYPE (gimple_call_fntype (new_stmt)))
1589 gsi = gsi_for_stmt (new_stmt);
1593 gimple_call_set_lhs (new_stmt, NULL_TREE);
1594 update_stmt_fn (DECL_STRUCT_FUNCTION (e->caller->decl), new_stmt);
1598 if (gimple_call_chain (new_stmt) && !DECL_STATIC_CHAIN (e->callee->decl))
1600 gimple_call_set_chain (new_stmt, NULL);
1601 update_stmt_fn (DECL_STRUCT_FUNCTION (e->caller->decl), new_stmt);
1605 new_stmt);
1607 e->caller->set_call_stmt_including_clones (e->call_stmt, new_stmt, false);
1614 return new_stmt;
1618 OLD_STMT changed into NEW_STMT. OLD_CALL is gimple_call_fndecl
1620 If NEW_STMT is NULL, the call has been dropped without any
1626 gimple *new_stmt)
1628 tree new_call = (new_stmt && is_gimple_call (new_stmt))
1629 ? gimple_call_fndecl (new_stmt) : 0;
1645 if (new_stmt && is_gimple_call (new_stmt) && e->callee
1649 as_a <gcall *> (new_stmt));
1663 cgraph_edge::set_call_stmt (e, as_a <gcall *> (new_stmt));
1682 basic_block bb = gimple_bb (new_stmt);
1689 as_a <gcall *> (new_stmt), count);
1694 else if (old_stmt != new_stmt)
1696 as_a <gcall *> (new_stmt));
1700 OLD_STMT changed into NEW_STMT. OLD_DECL is gimple_call_fndecl
1705 gimple *new_stmt)
1711 cgraph_update_edges_for_call_stmt_node (orig, old_stmt, old_decl, new_stmt);
1716 new_stmt);