GCC Middle and Back End API Reference
cost_classes Struct Reference

Data Fields

int num
enum reg_class classes [N_REG_CLASSES]
int index [N_REG_CLASSES]
int hard_regno_index [FIRST_PSEUDO_REGISTER]

Detailed Description

   Info about reg classes whose costs are calculated for a pseudo.  

Field Documentation

enum reg_class cost_classes::classes[N_REG_CLASSES]
     Container of the cost classes.  

Referenced by initiate_regno_cost_classes(), scan_one_insn(), and setup_cost_classes().

int cost_classes::hard_regno_index[FIRST_PSEUDO_REGISTER]
     Map hard regno index of first class in array CLASSES containing
     the hard regno, -1 otherwise.  

Referenced by initiate_regno_cost_classes().

int cost_classes::index[N_REG_CLASSES]
     Map reg class -> index of the reg class in the previous array.
     -1 if it is not a cost classe.  

Referenced by initiate_regno_cost_classes().

int cost_classes::num
     Number of the cost classes in the subsequent array.  

Referenced by scan_one_insn(), and setup_cost_classes().


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