GCC Middle and Back End API Reference
_var_map Struct Reference

#include <tree-ssa-live.h>

Data Fields

partition var_partition
int * partition_to_view
int * view_to_partition
unsigned int num_partitions
unsigned int partition_size
int num_basevars
int * partition_to_base_index

Detailed Description

Used to create the variable mapping when we go out of SSA form.

   Mapping from an ssa_name to a partition number is maintained, as well as
   partition number back to ssa_name.

   This data structure also supports "views", which work on a subset of all
   partitions.  This allows the coalescer to decide what partitions are
   interesting to it, and only work with those partitions.  Whenever the view
   is changed, the partition numbers change, but none of the partition groupings
   change. (ie, it is truly a view since it doesn't change anything)

   The final component of the data structure is the basevar map.  This provides
   a list of all the different base variables which occur in a partition view,
   and a unique index for each one. Routines are provided to quickly produce
   the base variable of a partition.

   Note that members of a partition MUST all have the same base variable.   

Field Documentation

int _var_map::num_basevars
unsigned int _var_map::partition_size
int* _var_map::partition_to_base_index

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