GCC Middle and Back End API Reference
position Struct Reference
Collaboration diagram for position:

Data Fields

struct positionbase
struct positionnext
struct positionxexps
struct positionxvecexp0s
enum position_type type
int arg
int depth

Detailed Description

   The position of an rtx relative to X0.  Each useful position is
   represented by exactly one instance of this structure.  

Field Documentation

int position::arg
     The argument to TYPE (shown as ARG in the position_type comments).  

Referenced by next_position(), simplify_tests(), and write_cond().

struct position* position::base
     The parent rtx.  This is the root position for POS_PEEP2_INSNs.  

Referenced by next_position(), simplify_tests(), and write_cond().

int position::depth
     The depth of this position, with 0 as the root.  

Referenced by simplify_tests().

struct position* position::next
     A position with the same BASE and TYPE, but with the next value
     of ARG.  
enum position_type position::type
     The type of position.  

Referenced by next_position(), simplify_tests(), and write_cond().

struct position* position::xexps
     A list of all POS_XEXP positions that use this one as their base,
     chained by NEXT fields.  The first entry represents XEXP (this, 0),
     the second represents XEXP (this, 1), and so on.  
struct position* position::xvecexp0s
     A list of POS_XVECEXP0 positions that use this one as their base,
     chained by NEXT fields.  The first entry represents XVECEXP (this, 0, 0),
     the second represents XVECEXP (this, 0, 1), and so on.  

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