osprey/be/cg/gra_mon/gra_color.cxx File Reference

#include <limits.h>
#include <float.h>
#include "defs.h"
#include "errors.h"
#include "tracing.h"
#include "mempool.h"
#include "register.h"
#include "priority_queue.h"
#include "cg_flags.h"
#include "gra_bb.h"
#include "gra.h"
#include "gra_region.h"
#include "gra_trace.h"
#include "gra_lrange.h"
#include "gra_split.h"
#include "gra_grant.h"
#include "gra_spill.h"
#include "gra_interfere.h"

Include dependency graph for gra_color.cxx:

Go to the source code of this file.

Data Types

module  LRANGE_PREF_ITER

Functions/Subroutines

static void Initialize (void)
static void Update_Register_Info (LRANGE *lrange, REGISTER reg, BOOL reclaim=FALSE)
static BOOL Choose_Best_Register (REGISTER *reg, ISA_REGISTER_CLASS rc, REGISTER_SET allowed, BOOL remove_global_callees, BOOL prefer_caller_stacked)
static BOOL Choose_Preference (LRANGE *lrange, REGISTER_SET allowed, GRA_REGION *region)
static BOOL Choose_Avoiding_Neighbor_Preferences (LRANGE *lrange, REGISTER_SET allowed)
static BOOL Allocate_Stacked_Register (LRANGE *lrange)
static BOOL Choose_Noones_Preference (LRANGE *lrange, REGISTER_SET allowed)

Variables

INT32 GRA_local_forced_max = DEFAULT_FORCED_LOCAL_MAX
BOOL GRA_avoid_glue_references_for_locals = TRUE
static REGISTER_SET non_prefrenced_regs [ISA_REGISTER_CLASS_MAX+1]
static REGISTER_SET callee_saves_used [ISA_REGISTER_CLASS_MAX+1]
static REGISTER_SET regs_used [ISA_REGISTER_CLASS_MAX+1]
static MEM_POOL prq_pool
static GRA_REGIONGRA_current_region


Function Documentation

static BOOL Allocate_Stacked_Register ( LRANGE lrange  )  [static]

static BOOL Choose_Avoiding_Neighbor_Preferences ( LRANGE lrange,
REGISTER_SET  allowed 
) [static]

static BOOL Choose_Best_Register ( REGISTER reg,
ISA_REGISTER_CLASS  rc,
REGISTER_SET  allowed,
BOOL  remove_global_callees,
BOOL  prefer_caller_stacked 
) [static]

static BOOL Choose_Noones_Preference ( LRANGE lrange,
REGISTER_SET  allowed 
) [static]

static BOOL Choose_Preference ( LRANGE lrange,
REGISTER_SET  allowed,
GRA_REGION region 
) [static]

static void Initialize ( void   )  [static]

static void Update_Register_Info ( LRANGE lrange,
REGISTER  reg,
BOOL  reclaim = FALSE 
) [static]


Variable Documentation

REGISTER_SET callee_saves_used[ISA_REGISTER_CLASS_MAX+1] [static]

Definition at line 113 of file gra_color.cxx.

Referenced by Choose_Best_Register(), Initialize(), and Update_Register_Info().

Definition at line 106 of file gra_color.cxx.

Definition at line 120 of file gra_color.cxx.

INT32 GRA_local_forced_max = DEFAULT_FORCED_LOCAL_MAX

Definition at line 98 of file gra_color.cxx.

REGISTER_SET non_prefrenced_regs[ISA_REGISTER_CLASS_MAX+1] [static]

Definition at line 110 of file gra_color.cxx.

Referenced by Choose_Noones_Preference(), Initialize(), and Update_Register_Info().

MEM_POOL prq_pool [static]

Definition at line 118 of file gra_color.cxx.

REGISTER_SET regs_used[ISA_REGISTER_CLASS_MAX+1] [static]


Generated on Wed Apr 8 14:26:18 2009 for Open64 by  doxygen 1.5.6