Searched refs:call_stmt (Results 1 - 25 of 101) sorted by relevance

12345

/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dcgraphbuild.c318 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
320 decl = gimple_call_fndecl (call_stmt);
322 node->create_edge (cgraph_node::get_create (decl), call_stmt, bb->count); local
323 else if (gimple_call_internal_p (call_stmt))
326 node->create_indirect_edge (call_stmt,
327 gimple_call_flags (call_stmt),
412 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
414 decl = gimple_call_fndecl (call_stmt);
416 node->create_edge (cgraph_node::get_create (decl), call_stmt, local
418 else if (gimple_call_internal_p (call_stmt))
[all...]
H A Dcgraph.c673 return (hashval_t) ((intptr_t)e->call_stmt >> 3);
679 cgraph_edge_hasher::hash (gimple *call_stmt) argument
683 return (hashval_t) ((intptr_t)call_stmt >> 3);
686 /* Return nonzero if the call_stmt of cgraph_edge X is stmt *Y. */
691 return x->call_stmt == y;
699 gimple *call = e->call_stmt;
714 (e->call_stmt, cgraph_edge_hasher::hash (e->call_stmt), INSERT);
720 || e->prev_callee->call_stmt != e->call_stmt))
732 get_edge(gimple *call_stmt) argument
864 create_edge(cgraph_node *caller, cgraph_node *callee, gcall *call_stmt, profile_count count, bool indir_unknown_callee, bool cloning_p) argument
937 create_edge(cgraph_node *callee, gcall *call_stmt, profile_count count, bool cloning_p) argument
977 create_indirect_edge(gcall *call_stmt, int ecf_flags, profile_count count, bool cloning_p) argument
[all...]
H A Dgimple-streamer-in.c183 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
185 if (gimple_call_internal_p (call_stmt))
187 (call_stmt, streamer_read_enum (ib, internal_fn, IFN_LAST));
189 gimple_call_set_fntype (call_stmt, stream_read_tree (ib, data_in));
H A Dvtable-verify.c669 gcall *call_stmt; local
732 call_stmt = gimple_build_call
748 call_stmt = gimple_build_call
758 return value, and make the call_stmt use the
761 gimple_call_set_lhs (call_stmt, tmp0);
762 update_stmt (call_stmt);
771 if (use_stmt == call_stmt)
785 gsi_insert_after (&gsi_vtbl_assign, call_stmt,
H A Dcgraphclones.c93 cgraph_edge::clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, argument
105 if (call_stmt && (decl = gimple_call_fndecl (call_stmt))
112 new_edge = n->create_edge (callee, call_stmt, prof_count, true);
116 new_edge = n->create_indirect_edge (call_stmt,
124 new_edge = n->create_edge (callee, call_stmt, prof_count, true);
135 if (!call_stmt)
138 /* Clone flags that depend on call_stmt availability manually. */
442 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, new_node->count, old_count,
446 e->clone (new_node, e->call_stmt,
[all...]
H A Dgimple-walk.c810 else if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
814 tree arg = gimple_call_lhs (call_stmt);
823 for (i = 0; i < gimple_call_num_args (call_stmt); ++i)
825 tree arg = gimple_call_arg (call_stmt, i);
837 && gimple_call_chain (call_stmt)
838 && TREE_CODE (gimple_call_chain (call_stmt)) == ADDR_EXPR)
839 ret |= visit_addr (stmt, TREE_OPERAND (gimple_call_chain (call_stmt), 0),
840 gimple_call_chain (call_stmt), data);
842 && gimple_call_return_slot_opt_p (call_stmt)
843 && gimple_call_lhs (call_stmt) !
[all...]
H A Dipa-utils.c532 if (gimple_bb (e->call_stmt)->index
533 != gimple_bb (e2->call_stmt)->index)
551 if (gimple_bb (e->call_stmt)->index
552 != gimple_bb (e2->call_stmt)->index)
672 e->count = gimple_bb (e->call_stmt)->count;
682 e->count = gimple_bb (e->call_stmt)->count;
692 e->count = gimple_bb (e->call_stmt)->count;
H A Dipa-inline.c232 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
241 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
615 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
676 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
693 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
703 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
713 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
1029 dump_printf_loc (MSG_MISSED_OPTIMIZATION, edge->call_stmt,
1699 dump_printf_loc (MSG_NOTE, edge->call_stmt,
2107 edge->call_stmt
[all...]
H A Dtree-inline.c1549 && (!id->call_stmt
1550 || gimple_call_lhs (id->call_stmt) != NULL_TREE)
1833 if (gcall *call_stmt = dyn_cast <gcall *> (copy))
1835 if (gimple_call_tail_p (call_stmt))
1836 gimple_call_set_tail (call_stmt, false);
1837 if (gimple_call_from_thunk_p (call_stmt))
1838 gimple_call_set_from_thunk (call_stmt, false);
1839 if (gimple_call_internal_p (call_stmt))
1840 switch (gimple_call_internal_fn (call_stmt))
2089 gcall *call_stmt; local
4717 gcall *call_stmt; local
[all...]
H A Dtree-inline.h78 gcall *call_stmt; member in struct:copy_body_data
H A Dgimple.h3095 const gcall *call_stmt = GIMPLE_CHECK2<const gcall *> (gs);
3096 return gimple_call_fntype (call_stmt);
3102 gimple_call_set_fntype (gcall *call_stmt, tree fntype)
3104 gcc_gimple_checking_assert (!gimple_call_internal_p (call_stmt));
3105 call_stmt->u.fntype = fntype;
3173 gimple_call_set_internal_fn (gcall *call_stmt, enum internal_fn fn)
3175 gcc_gimple_checking_assert (gimple_call_internal_p (call_stmt));
3176 call_stmt->u.internal_fn = fn;
3233 gimple_call_chain_ptr (gcall *call_stmt)
3235 return &call_stmt
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dcgraphbuild.cc318 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
320 decl = gimple_call_fndecl (call_stmt);
322 node->create_edge (cgraph_node::get_create (decl), call_stmt, bb->count); local
323 else if (gimple_call_internal_p (call_stmt))
326 node->create_indirect_edge (call_stmt,
327 gimple_call_flags (call_stmt),
412 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
414 decl = gimple_call_fndecl (call_stmt);
416 node->create_edge (cgraph_node::get_create (decl), call_stmt, local
418 else if (gimple_call_internal_p (call_stmt))
[all...]
H A Dcgraph.cc681 return (hashval_t) ((intptr_t)e->call_stmt >> 3);
687 cgraph_edge_hasher::hash (gimple *call_stmt) argument
691 return (hashval_t) ((intptr_t)call_stmt >> 3);
694 /* Return nonzero if the call_stmt of cgraph_edge X is stmt *Y. */
699 return x->call_stmt == y;
707 gimple *call = e->call_stmt;
722 (e->call_stmt, cgraph_edge_hasher::hash (e->call_stmt), INSERT);
728 || e->prev_callee->call_stmt != e->call_stmt))
740 get_edge(gimple *call_stmt) argument
872 create_edge(cgraph_node *caller, cgraph_node *callee, gcall *call_stmt, profile_count count, bool indir_unknown_callee, bool cloning_p) argument
947 create_edge(cgraph_node *callee, gcall *call_stmt, profile_count count, bool cloning_p) argument
987 create_indirect_edge(gcall *call_stmt, int ecf_flags, profile_count count, bool cloning_p) argument
[all...]
H A Dgimple-streamer-in.cc183 if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
185 if (gimple_call_internal_p (call_stmt))
187 (call_stmt, streamer_read_enum (ib, internal_fn, IFN_LAST));
189 gimple_call_set_fntype (call_stmt, stream_read_tree (ib, data_in));
H A Dvtable-verify.cc669 gcall *call_stmt; local
732 call_stmt = gimple_build_call
748 call_stmt = gimple_build_call
758 return value, and make the call_stmt use the
761 gimple_call_set_lhs (call_stmt, tmp0);
762 update_stmt (call_stmt);
771 if (use_stmt == call_stmt)
785 gsi_insert_after (&gsi_vtbl_assign, call_stmt,
H A Dcgraphclones.cc95 cgraph_edge::clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, argument
107 if (call_stmt && (decl = gimple_call_fndecl (call_stmt))
114 new_edge = n->create_edge (callee, call_stmt, prof_count, true);
118 new_edge = n->create_indirect_edge (call_stmt,
126 new_edge = n->create_edge (callee, call_stmt, prof_count, true);
137 if (!call_stmt)
140 /* Clone flags that depend on call_stmt availability manually. */
443 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, new_node->count, old_count,
447 e->clone (new_node, e->call_stmt,
[all...]
H A Dgimple-walk.cc827 else if (gcall *call_stmt = dyn_cast <gcall *> (stmt))
831 tree arg = gimple_call_lhs (call_stmt);
840 for (i = 0; i < gimple_call_num_args (call_stmt); ++i)
842 tree arg = gimple_call_arg (call_stmt, i);
854 && gimple_call_chain (call_stmt)
855 && TREE_CODE (gimple_call_chain (call_stmt)) == ADDR_EXPR)
856 ret |= visit_addr (stmt, TREE_OPERAND (gimple_call_chain (call_stmt), 0),
857 gimple_call_chain (call_stmt), data);
859 && gimple_call_return_slot_opt_p (call_stmt)
860 && gimple_call_lhs (call_stmt) !
[all...]
H A Dipa-inline.cc232 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
241 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
645 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
713 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
730 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
740 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
750 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt,
1074 dump_printf_loc (MSG_MISSED_OPTIMIZATION, edge->call_stmt,
1759 dump_printf_loc (MSG_NOTE, edge->call_stmt,
2172 edge->call_stmt
[all...]
H A Dipa-utils.cc532 if (gimple_bb (e->call_stmt)->index
533 != gimple_bb (e2->call_stmt)->index)
551 if (gimple_bb (e->call_stmt)->index
552 != gimple_bb (e2->call_stmt)->index)
672 e->count = gimple_bb (e->call_stmt)->count;
682 e->count = gimple_bb (e->call_stmt)->count;
692 e->count = gimple_bb (e->call_stmt)->count;
H A Dtree-inline.cc1566 && (!id->call_stmt
1567 || gimple_call_lhs (id->call_stmt) != NULL_TREE)
1867 if (gcall *call_stmt = dyn_cast <gcall *> (copy))
1869 if (gimple_call_tail_p (call_stmt))
1870 gimple_call_set_tail (call_stmt, false);
1871 if (gimple_call_from_thunk_p (call_stmt))
1872 gimple_call_set_from_thunk (call_stmt, false);
1873 if (gimple_call_internal_p (call_stmt))
1874 switch (gimple_call_internal_fn (call_stmt))
2113 gcall *call_stmt; local
4769 gcall *call_stmt; local
[all...]
H A Dtree-inline.h78 gcall *call_stmt; member in struct:copy_body_data
/netbsd-current/external/gpl3/gcc/dist/gcc/analyzer/
H A Danalyzer.cc144 gcall *call_stmt = as_a <gcall *> (def_stmt); local
145 tree return_type = gimple_call_return_type (call_stmt);
146 tree fn = fixup_tree_for_diagnostic_1 (gimple_call_fn (call_stmt),
150 unsigned num_args = gimple_call_num_args (call_stmt);
154 tree arg = gimple_call_arg (call_stmt, i);
161 return build_call_array_loc (gimple_location (call_stmt),
H A Dprogram-state.h223 const gcall *call_stmt,
228 const gcall *call_stmt,
H A Dsupergraph.cc1220 return m_cedge->call_stmt;
1244 const gcall *call_stmt = get_call_stmt (); local
1250 if (i >= gimple_call_num_args (call_stmt))
1256 return gimple_call_arg (call_stmt, i);
1274 const gcall *call_stmt = get_call_stmt (); local
1280 if (i >= gimple_call_num_args (call_stmt))
1282 tree param = gimple_call_arg (call_stmt, i);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dsupergraph.cc961 const gcall *call_stmt = get_call_stmt (); local
967 if (i >= gimple_call_num_args (call_stmt))
973 return gimple_call_arg (call_stmt, i);
991 const gcall *call_stmt = get_call_stmt (); local
997 if (i >= gimple_call_num_args (call_stmt))
999 tree param = gimple_call_arg (call_stmt, i);

Completed in 253 milliseconds

12345