Public Member Functions | Private Attributes

IVAR Class Reference

#include <ipa_section.h>

List of all members.

Public Member Functions

 IVAR (UINT32 position, WN_OFFSET offset, TYPE_ID mtype)
 IVAR (const ST *st, WN_OFFSET offset, TYPE_ID mtype)
 IVAR ()
BOOL Is_Formal () const
UINT32 Formal_Position () const
void Set_Formal_Position (UINT32 formal_position)
ST_IDX St_Idx () const
WN_OFFSET Offset () const
void Set_Offset (WN_OFFSET offset)
TYPE_ID Mtype () const
void Set_Mtype (TYPE_ID mtype)
BOOL operator== (const IVAR &other) const
void Set_St_Idx (ST_IDX new_st_idx)
void Print (FILE *fp=stderr)
void WB_Print (FILE *fp, INT ivar_index)
void IPA_LNO_Print_File (FILE *fp=stderr, INT ivar_index=-1)
void IPA_LNO_Print (FILE *fp=stderr, IPA_LNO_READ_FILE *IPA_LNO_File=NULL)

Private Attributes

union {
   mUINT32   _formal_position
   ST_IDX   _st_idx
u
WN_OFFSET _offset
mTYPE_ID _mtype
mBOOL _is_formal

Detailed Description

Definition at line 146 of file ipa_section.h.


Constructor & Destructor Documentation

IVAR::IVAR ( UINT32  position,
WN_OFFSET  offset,
TYPE_ID  mtype 
) [inline]

Definition at line 159 of file ipa_section.h.

References _is_formal, _mtype, and _offset.

IVAR::IVAR ( const ST st,
WN_OFFSET  offset,
TYPE_ID  mtype 
) [inline]

Definition at line 167 of file ipa_section.h.

References _is_formal, _mtype, _offset, and ST_st_idx().

Here is the call graph for this function:

IVAR::IVAR (  )  [inline]

Definition at line 175 of file ipa_section.h.

References _is_formal, _mtype, _offset, and ST_IDX_ZERO.


Member Function Documentation

UINT32 IVAR::Formal_Position (  )  const [inline]

Definition at line 186 of file ipa_section.h.

References _is_formal, and FmtAssert.

Referenced by IPA_LNO_Print_File(), Print(), and WB_Print().

void IVAR::IPA_LNO_Print ( FILE *  fp = stderr,
IPA_LNO_READ_FILE IPA_LNO_File = NULL 
)
void IVAR::IPA_LNO_Print_File ( FILE *  fp = stderr,
INT  ivar_index = -1 
)

Definition at line 342 of file ipa_section_print.cxx.

References Formal_Position(), fprintf(), Is_Formal(), Machine_Types, Mtype(), name, Offset(), St_Idx(), and ST_name().

Here is the call graph for this function:

BOOL IVAR::Is_Formal (  )  const [inline]

Definition at line 184 of file ipa_section.h.

References _is_formal.

Referenced by IPA_LNO_Print_File(), Print(), and WB_Print().

TYPE_ID IVAR::Mtype (  )  const [inline]

Definition at line 208 of file ipa_section.h.

References _mtype.

Referenced by IPA_LNO_Print_File(), Print(), and WB_Print().

WN_OFFSET IVAR::Offset (  )  const [inline]

Definition at line 204 of file ipa_section.h.

References _offset.

Referenced by IPA_LNO_Print_File(), Print(), and WB_Print().

BOOL IVAR::operator== ( const IVAR other  )  const [inline]

Definition at line 212 of file ipa_section.h.

References _formal_position, _is_formal, _mtype, _offset, _st_idx, and u.

void IVAR::Print ( FILE *  fp = stderr  ) 

Definition at line 323 of file ipa_section_print.cxx.

References Formal_Position(), fprintf(), Is_Formal(), Machine_Types, Mtype(), name, Offset(), St_Idx(), and ST_name().

Here is the call graph for this function:

void IVAR::Set_Formal_Position ( UINT32  formal_position  )  [inline]

Definition at line 192 of file ipa_section.h.

References _is_formal.

void IVAR::Set_Mtype ( TYPE_ID  mtype  )  [inline]

Definition at line 210 of file ipa_section.h.

References _mtype.

void IVAR::Set_Offset ( WN_OFFSET  offset  )  [inline]

Definition at line 206 of file ipa_section.h.

References _offset.

void IVAR::Set_St_Idx ( ST_IDX  new_st_idx  )  [inline]

Definition at line 221 of file ipa_section.h.

References _is_formal.

ST_IDX IVAR::St_Idx (  )  const [inline]

Definition at line 198 of file ipa_section.h.

References _is_formal, and FmtAssert.

Referenced by IPA_LNO_Print_File(), Print(), and WB_Print().

void IVAR::WB_Print ( FILE *  fp,
INT  ivar_index 
)

Definition at line 132 of file wb_summary.cxx.

References Formal_Position(), fprintf(), Is_Formal(), Machine_Types, Mtype(), Offset(), St_Idx(), and ST_name().

Referenced by WB_BROWSER::Summary_Ivar().

Here is the call graph for this function:


Member Data Documentation

Definition at line 150 of file ipa_section.h.

Referenced by operator==().

Definition at line 155 of file ipa_section.h.

Referenced by IVAR(), Mtype(), operator==(), and Set_Mtype().

Definition at line 154 of file ipa_section.h.

Referenced by IVAR(), Offset(), operator==(), and Set_Offset().

Definition at line 151 of file ipa_section.h.

Referenced by operator==().

union { ... } IVAR::u [private]

Referenced by operator==().


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