GCC Middle and Back End API Reference
ipa-ref-inline.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ipa_ref_list_reference_iterate(L, I, P)   vec_safe_iterate ((L)->references, (I), &(P))
#define ipa_ref_list_referring_iterate(L, I, P)   (L)->referring.iterate ((I), &(P))

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 ()

Macro Definition Documentation

#define ipa_ref_list_reference_iterate (   L,
  I,
 
)    vec_safe_iterate ((L)->references, (I), &(P))
#define ipa_ref_list_referring_iterate (   L,
  I,
 
)    (L)->referring.iterate ((I), &(P))

Function Documentation

static void ipa_empty_ref_list ( )
inlinestatic

Clear reference list.

References ipa_ref_list::references, and vec_safe_length().

static struct ipa_ref* ipa_ref_list_first_reference ( )
staticread

Return first reference in LIST or NULL if empty.

References NULL, and ipa_ref_list::referring.

static struct ipa_ref* ipa_ref_list_first_referring ( )
staticread

Return first referring ref in LIST or NULL if empty.

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

static unsigned int ipa_ref_list_nreferences ( )
inlinestatic

Clear reference list.

static struct cgraph_node* ipa_ref_node ( )
staticread

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.

Referenced by output_refs().

static struct ipa_ref_list* ipa_ref_referred_ref_list ( )
staticread

Return reference list REF is in.

References NULL, ipa_ref_list::references, and vec_safe_length().

Referenced by ipa_record_reference().

static struct cgraph_node* ipa_ref_referring_node ( )
staticread

Return cgraph node REF is in.

References ipa_ref::referring, and varpool().

Referenced by debug_cgraph(), and ipa_reverse_postorder().

static struct ipa_ref_list* ipa_ref_referring_ref_list ( )
staticread

Return reference list REF is in.

References symtab_node_base::ref_list, and ipa_ref::referred.

static struct varpool_node* ipa_ref_referring_varpool_node ( )
staticread

Return varpool node REF is in.

References symtab_node_base::ref_list, and ipa_ref::referring.

Referenced by varpool_create_variable_alias().

static struct varpool_node* ipa_ref_varpool_node ( )
staticread

Return varpool node REF is referring.