GCC Middle and Back End API Reference
cgraph_polymorphic_indirect_info Class Reference

#include <cgraph.h>

Inheritance diagram for cgraph_polymorphic_indirect_info:
Collaboration diagram for cgraph_polymorphic_indirect_info:

Public Member Functions

 cgraph_polymorphic_indirect_info (int flags)
 cgraph_polymorphic_indirect_info (int flags, const ipa_polymorphic_call_context &ctx, HOST_WIDE_INT token, tree type)
bool usable_p () const
bool mark_unusable ()
void dump (FILE *f, bool newline=true) const
void DEBUG_FUNCTION debug () const

Data Fields

ipa_polymorphic_call_context context
HOST_WIDE_INT otr_token
tree otr_type
HOST_WIDE_INT offset
unsigned vptr_changed: 1
int ecf_flags
int param_index
enum cgraph_indirect_info_kind kind: 2
unsigned num_speculative_call_targets: 16

Detailed Description

Structure containing additional information about non-virtual indirect calls
when the target is an OBJ_TYPE_REF which conforms to
virtual_method_call_p.   

Constructor & Destructor Documentation

◆ cgraph_polymorphic_indirect_info() [1/2]

cgraph_polymorphic_indirect_info::cgraph_polymorphic_indirect_info ( int flags)
inline

◆ cgraph_polymorphic_indirect_info() [2/2]

cgraph_polymorphic_indirect_info::cgraph_polymorphic_indirect_info ( int flags,
const ipa_polymorphic_call_context & ctx,
HOST_WIDE_INT token,
tree type )
inline

Member Function Documentation

◆ debug()

void cgraph_indirect_call_info::debug ( ) const
inherited
Dump human readable information about the indirect call to stderr.   

References dump().

◆ dump()

void cgraph_indirect_call_info::dump ( FILE * f,
bool newline = true ) const
inherited
Dump human readable information about the indirect call to F.  If NEWLINE
is true, it will be terminated by a newline.   

References dyn_cast(), ecf_flags, HOST_WIDE_INT_PRINT_DEC, num_speculative_call_targets, and print_generic_expr().

Referenced by debug(), and ipa_print_node_jump_functions().

◆ mark_unusable()

bool cgraph_polymorphic_indirect_info::mark_unusable ( )
inline

References NULL_TREE, otr_type, and r.

Referenced by ipa_tm_insert_gettmclone_call().

◆ usable_p()

Field Documentation

◆ context

◆ ecf_flags

◆ kind

◆ num_speculative_call_targets

unsigned cgraph_indirect_call_info::num_speculative_call_targets
inherited

◆ offset

◆ otr_token

◆ otr_type

◆ param_index

◆ vptr_changed


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