GCC Middle and Back End API Reference
regset.h File Reference

Go to the source code of this file.

Typedefs

typedef bitmap_head regset_head
typedef bitmap regset
typedef bitmap_iterator reg_set_iterator

Functions

void reg_set_to_hard_reg_set (HARD_REG_SET *, const_bitmap)
void dump_regset (regset, FILE *)

Variables

regset regs_invalidated_by_call_regset
regset fixed_reg_set_regset
bitmap_obstack reg_obstack

Typedef Documentation

typedef bitmap regset
   A pointer to a regset_head.  
   TODO: regset is just a bitmap in its implementation.  The compiler does
   not consistently use one or the other, i.e. sometimes variables are
   declared as bitmap but they are actually regsets and regset accessors
   are used, and vice versa, or mixed (see e.g. spilled_regs in IRA).

   This should be cleaned up, either by just dropping the regset type, or
   by changing all bitmaps that are really regsets to the regset type.  For
   the latter option, a good start would be to change everything allocated
   on the reg_obstack to regset.  
   Head of register set linked list.  

Function Documentation

void dump_regset ( regset  ,
FILE *   
)
   In df-core.c (which should use regset consistently instead of bitmap...)  
void reg_set_to_hard_reg_set ( HARD_REG_SET ,
const_bitmap   
)
   Copy the hard registers in a register set to the hard register set.  

Variable Documentation

regset fixed_reg_set_regset
   Same information as FIXED_REG_SET but in regset form.  
bitmap_obstack reg_obstack
   An obstack for regsets.  
   The obstack on which regsets are allocated.  

Referenced by get_stored_val(), and remove_pseudos().

regset regs_invalidated_by_call_regset
 @verbatim 

Same information as REGS_INVALIDATED_BY_CALL but in regset form to be used in dataflow more conveniently.

   Same information as REGS_INVALIDATED_BY_CALL but in regset form to be used
   in dataflow more conveniently.  

Referenced by df_scan_free().