GCC Middle and Back End API Reference
modref_tree< T > Struct Template Reference

#include <ipa-modref-tree.h>

Collaboration diagram for modref_tree< T >:

Public Member Functions

 modref_tree ()
 
modref_base_node< T > * insert_base (T base, T ref, unsigned int max_bases, bool *changed=NULL)
 
bool insert (unsigned int max_bases, unsigned int max_refs, unsigned int max_accesses, T base, T ref, modref_access_node a, bool record_adjustments)
 
bool insert (tree fndecl, T base, T ref, const modref_access_node &a, bool record_adjustments)
 
void cleanup ()
 
bool merge (unsigned int max_bases, unsigned int max_refs, unsigned int max_accesses, modref_tree< T > *other, vec< modref_parm_map > *parm_map, modref_parm_map *static_chain_map, bool record_accesses, bool promote_unknown_to_global=false)
 
bool merge (tree fndecl, modref_tree< T > *other, vec< modref_parm_map > *parm_map, modref_parm_map *static_chain_map, bool record_accesses, bool promote_unknown_to_global=false)
 
void copy_from (modref_tree< T > *other)
 
modref_base_node< T > * search (T base)
 
bool global_access_p ()
 
void collapse ()
 
 ~modref_tree ()
 
void remap_params (vec< int > *map)
 

Static Public Member Functions

static modref_tree< T > * create_ggc ()
 

Data Fields

vec< modref_base_node< T > *, va_gc > * bases
 
bool every_base
 

Detailed Description

template<typename T>
struct modref_tree< T >
Access tree for a single function.   

Constructor & Destructor Documentation

◆ modref_tree()

template<typename T >
modref_tree< T >::modref_tree ( )
inline

◆ ~modref_tree()

template<typename T >
modref_tree< T >::~modref_tree ( )
inline

Member Function Documentation

◆ cleanup()

◆ collapse()

◆ copy_from()

template<typename T >
void modref_tree< T >::copy_from ( modref_tree< T > * other)
inline

◆ create_ggc()

template<typename T >
static modref_tree< T > * modref_tree< T >::create_ggc ( )
inlinestatic

◆ global_access_p()

◆ insert() [1/2]

template<typename T >
bool modref_tree< T >::insert ( tree fndecl,
T base,
T ref,
const modref_access_node & a,
bool record_adjustments )
inline

References a, ggc_alloc(), insert(), and opt_for_fn.

◆ insert() [2/2]

◆ insert_base()

◆ merge() [1/2]

template<typename T >
bool modref_tree< T >::merge ( tree fndecl,
modref_tree< T > * other,
vec< modref_parm_map > * parm_map,
modref_parm_map * static_chain_map,
bool record_accesses,
bool promote_unknown_to_global = false )
inline

◆ merge() [2/2]

◆ remap_params()

template<typename T >
void modref_tree< T >::remap_params ( vec< int > * map)
inline

◆ search()

Field Documentation

◆ bases

◆ every_base


The documentation for this struct was generated from the following file: