diff options
Diffstat (limited to 'gcc/ipa-ref.h')
-rw-r--r-- | gcc/ipa-ref.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ipa-ref.h b/gcc/ipa-ref.h index d5ea7ee363d..9f392b41588 100644 --- a/gcc/ipa-ref.h +++ b/gcc/ipa-ref.h @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see struct cgraph_node; struct varpool_node; -class symtab_node_base; +class symtab_node; /* How the reference is done. */ @@ -35,8 +35,8 @@ enum GTY(()) ipa_ref_use /* Record of reference in callgraph or varpool. */ struct GTY(()) ipa_ref { - symtab_node referring; - symtab_node referred; + symtab_node *referring; + symtab_node *referred; gimple stmt; unsigned int lto_stmt_uid; unsigned int referred_index; @@ -58,10 +58,10 @@ struct GTY(()) ipa_ref_list vec<ipa_ref_ptr> GTY((skip)) referring; }; -struct ipa_ref * ipa_record_reference (symtab_node, - symtab_node, +struct ipa_ref * ipa_record_reference (symtab_node *, + symtab_node *, enum ipa_ref_use, gimple); -struct ipa_ref * ipa_maybe_record_reference (symtab_node, tree, +struct ipa_ref * ipa_maybe_record_reference (symtab_node *, tree, enum ipa_ref_use, gimple); void ipa_remove_reference (struct ipa_ref *); @@ -69,11 +69,11 @@ void ipa_remove_all_references (struct ipa_ref_list *); void ipa_remove_all_referring (struct ipa_ref_list *); void ipa_dump_references (FILE *, struct ipa_ref_list *); void ipa_dump_referring (FILE *, struct ipa_ref_list *); -void ipa_clone_references (symtab_node, struct ipa_ref_list *); -void ipa_clone_referring (symtab_node, struct ipa_ref_list *); -struct ipa_ref * ipa_clone_ref (struct ipa_ref *, symtab_node, gimple); +void ipa_clone_references (symtab_node *, struct ipa_ref_list *); +void ipa_clone_referring (symtab_node *, struct ipa_ref_list *); +struct ipa_ref * ipa_clone_ref (struct ipa_ref *, symtab_node *, gimple); bool ipa_ref_cannot_lead_to_return (struct ipa_ref *); bool ipa_ref_has_aliases_p (struct ipa_ref_list *); -struct ipa_ref * ipa_find_reference (symtab_node, symtab_node, gimple, unsigned int); -void ipa_remove_stmt_references (symtab_node, gimple); -void ipa_clear_stmts_in_references (symtab_node); +struct ipa_ref * ipa_find_reference (symtab_node *, symtab_node *, gimple, unsigned int); +void ipa_remove_stmt_references (symtab_node *, gimple); +void ipa_clear_stmts_in_references (symtab_node *); |