GCC Middle and Back End API Reference
type_change_info Struct Reference

Data Fields

HOST_WIDE_INT offset
tree object
tree known_current_type
bool type_maybe_changed
bool multiple_types_encountered

Detailed Description

Structure to be passed in between detect_type_change and check_stmt_for_type_change.


Field Documentation

tree type_change_info::known_current_type

If we actually can tell the type that the object has changed to, it is stored in this field. Otherwise it remains NULL_TREE.

Referenced by extr_type_from_vtbl_ptr_store(), and ipa_set_ancestor_jf().

bool type_change_info::multiple_types_encountered

Set to true if multiple types have been encountered. known_current_type must be disregarded in that case.

Referenced by extr_type_from_vtbl_ptr_store(), and ipa_set_ancestor_jf().

tree type_change_info::object

The declaration or SSA_NAME pointer of the base that we are checking for type change.

Referenced by ipa_set_ancestor_jf().

HOST_WIDE_INT type_change_info::offset

Offset into the object where there is the virtual method pointer we are looking for.

Referenced by ipa_set_ancestor_jf().

bool type_change_info::type_maybe_changed

Set to true if dynamic type change has been detected.

Referenced by extr_type_from_vtbl_ptr_store(), and ipa_set_ancestor_jf().


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