GCC Middle and Back End API Reference
qty_table_elem Struct Reference

Data Fields

rtx const_rtx
rtx const_insn
rtx comparison_const
int comparison_qty
unsigned int first_reg
unsigned int last_reg

Detailed Description

Per-qty information tracking.

   `first_reg' and `last_reg' track the head and tail of the
   chain of registers which currently contain this quantity.

   `mode' contains the machine mode of this quantity.

   `const_rtx' holds the rtx of the constant value of this
   quantity, if known.  A summations of the frame/arg pointer
   and a constant can also be entered here.  When this holds
   a known value, `const_insn' is the insn which stored the
   constant value.

   `comparison_{code,const,qty}' are used to track when a
   comparison between a quantity and some constant or register has
   been passed.  In such a case, we know the results of the comparison
   in case we see it again.  These members record a comparison that
   is known to be true.  `comparison_code' holds the rtx code of such
   a comparison, else it is set to UNKNOWN and the other two
   comparison members are undefined.  `comparison_const' holds
   the constant being compared against, or zero if the comparison
   is not against a constant.  `comparison_qty' holds the quantity
   being compared against when the result is known.  If the comparison
   is not with a register, `comparison_qty' is -1.   

Field Documentation

rtx qty_table_elem::comparison_const

Referenced by fold_rtx(), and record_jump_cond().

int qty_table_elem::comparison_qty

Referenced by fold_rtx(), and record_jump_cond().

rtx qty_table_elem::const_insn

Referenced by insert_with_costs(), and make_new_qty().

rtx qty_table_elem::const_rtx
unsigned int qty_table_elem::first_reg
unsigned int qty_table_elem::last_reg

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