GCC Middle and Back End API Reference
ipa-ref-inline.h File Reference

Go to the source code of this file.

Functions

static struct cgraph_nodeipa_ref_node ()
static struct varpool_nodeipa_ref_varpool_node ()
static struct cgraph_nodeipa_ref_referring_node ()
static struct varpool_nodeipa_ref_referring_varpool_node ()
static struct ipa_ref_listipa_ref_referring_ref_list ()
static struct ipa_ref_listipa_ref_referred_ref_list ()
static struct ipa_refipa_ref_list_first_reference ()
static struct ipa_refipa_ref_list_first_referring ()
static void ipa_empty_ref_list ()
static unsigned int ipa_ref_list_nreferences ()

Function Documentation

static void ipa_empty_ref_list ( )
inlinestatic
Clear reference list.   

References ipa_ref_list::references, and ipa_ref_list::referring.

Referenced by symtab_register_node().

static struct ipa_ref* ipa_ref_list_first_reference ( )
staticread
Return first reference in LIST or NULL if empty.   

References ipa_ref_list::references, and vec_safe_length().

static struct ipa_ref* ipa_ref_list_first_referring ( )
staticread
Return first referring ref in LIST or NULL if empty.   

References ipa_ref_list::referring.

Referenced by ipa_tm_create_version(), and ipa_tm_create_version_alias().

static unsigned int ipa_ref_list_nreferences ( )
inlinestatic
Clear reference list.   

References ipa_ref_list::references, and vec_safe_length().

Referenced by output_refs().

static struct cgraph_node* ipa_ref_node ( )
staticread
@verbatim IPA reference lists.

Copyright (C) 2010-2013 Free Software Foundation, Inc. Contributed by Jan Hubicka

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.

Return callgraph node REF is referring.   

References cgraph(), and ipa_ref::referred.

Referenced by add_references().

static struct ipa_ref_list* ipa_ref_referred_ref_list ( )
staticread
Return reference list REF is in.   

References ipa_ref::referred.

Referenced by ipa_record_reference(), and ipa_remove_reference().

static struct ipa_ref_list* ipa_ref_referring_ref_list ( )
staticread
Return reference list REF is in.   

References ipa_ref::referring.

Referenced by ipa_remove_reference().

static struct varpool_node* ipa_ref_referring_varpool_node ( )
staticread
Return varpool node REF is in.   

References ipa_ref::referring, and varpool().

Referenced by address_taken_from_non_vtable_p(), assemble_aliases(), and varpool_for_node_and_aliases().

static struct varpool_node* ipa_ref_varpool_node ( )
staticread
Return varpool node REF is referring.   

References ipa_ref::referred, and varpool().

Referenced by analyze_function(), and propagate_pure_const().