C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Symbol Struct Reference

#include <briggs_reg_alloc.h>

List of all members.

Public Types

enum  { sym_unknown, sym_id, sym_reg, sym_const }

Public Member Functions

 Symbol ()
 Symbol (declNode *id)
 Symbol (const Register &reg)
 Symbol (const constant &con)
bool operator== (const Symbol &rhs) const
typeNodegetLirVt () const

Public Attributes

declNode_id
Register _reg
constant _const
enum Symbol:: { ... }  _type


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
sym_unknown 
sym_id 
sym_reg 
sym_const 

Definition at line 92 of file briggs_reg_alloc.h.


Constructor & Destructor Documentation

Symbol::Symbol   [inline]
 

Definition at line 63 of file briggs_reg_alloc.h.

References _id, _type, and sym_unknown.

Symbol::Symbol declNode   id [inline]
 

Definition at line 68 of file briggs_reg_alloc.h.

References _id, _type, and sym_id.

Symbol::Symbol const Register   reg [inline]
 

Definition at line 73 of file briggs_reg_alloc.h.

References _id, _reg, _type, and sym_reg.

Symbol::Symbol const constant   con [inline]
 

Definition at line 79 of file briggs_reg_alloc.h.

References _const, _id, _type, and sym_const.


Member Function Documentation

typeNode * Symbol::getLirVt   const
 

Definition at line 76 of file briggs_reg_alloc.cc.

References _const, _id, _reg, CBZ::ArchInfo, constant::basic(), arch_info::get_reg_data_type_fpr(), arch_info::get_reg_data_type_gpr(), reg_fpr, reg_frame_ptr, reg_gpr, reg_stack_ptr, sym_const, sym_id, sym_reg, Register::type(), and declNode::type().

Referenced by briggs_reg_alloc::interfere().

bool Symbol::operator== const Symbol &    rhs const
 

Definition at line 53 of file briggs_reg_alloc.cc.

References _const, _id, _reg, _type, constant::is_equal_to(), sym_const, sym_id, and sym_reg.


Member Data Documentation

constant Symbol::_const
 

Definition at line 89 of file briggs_reg_alloc.h.

Referenced by getLirVt(), operator==(), and Symbol().

declNode* Symbol::_id
 

Definition at line 87 of file briggs_reg_alloc.h.

Referenced by getLirVt(), operator==(), and Symbol().

Register Symbol::_reg
 

Definition at line 88 of file briggs_reg_alloc.h.

Referenced by getLirVt(), briggs_reg_alloc::makeWebs(), operator==(), and Symbol().

enum { ... } Symbol::_type
 

Referenced by briggs_reg_alloc::makeWebs(), operator==(), and Symbol().


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

Generated on August 27, 2003
Back to the C-Breeze home page