C-Breeze
C Compiler Infrastructure

[ Project home page]

memoryAssignment Class Reference

#include <memoryaccess.h>

Inheritance diagram for memoryAssignment:

PerClassHeap< PointersHeap > List of all members.

Public Member Functions

 memoryAssignment (Location *where)
 Create a new assignment.
Location * where () const
 Location.
void add_use (memoryUse *use)
 Add to the right-hand side.
void add_def (memoryDef *def)
 Add to the left-hand side.
const memoryuse_set & uses () const
 Get the right-hand side.
const memorydef_set & defs () const
 Get the left-hand side.

Private Attributes

Location * _where
 Location of the assignment.
memoryuse_set _uses
 Right-hand side.
memorydef_set _defs
 Left-hand side.

Constructor & Destructor Documentation

memoryAssignment::memoryAssignment (  Location *  where  )  [inline]
 

Create a new assignment.

Definition at line 562 of file memoryaccess.h.


Member Function Documentation

void memoryAssignment::add_def (  memoryDef *  def  )  [inline]
 

Add to the left-hand side.

Definition at line 578 of file memoryaccess.h.

References _defs.

void memoryAssignment::add_use (  memoryUse *  use  )  [inline]
 

Add to the right-hand side.

Definition at line 574 of file memoryaccess.h.

References _uses.

const memorydef_set& memoryAssignment::defs (   )  const [inline]
 

Get the left-hand side.

Definition at line 586 of file memoryaccess.h.

References _defs.

const memoryuse_set& memoryAssignment::uses (   )  const [inline]
 

Get the right-hand side.

Definition at line 582 of file memoryaccess.h.

References _uses.

Location* memoryAssignment::where (   )  const [inline]
 

Location.

Definition at line 570 of file memoryaccess.h.

References _where.


Member Data Documentation

memorydef_set memoryAssignment::_defs [private]
 

Left-hand side.

This is a set of memoryDef.

Definition at line 556 of file memoryaccess.h.

Referenced by add_def(), and defs().

memoryuse_set memoryAssignment::_uses [private]
 

Right-hand side.

This is a set of memoryUse.

Definition at line 550 of file memoryaccess.h.

Referenced by add_use(), and uses().

Location* memoryAssignment::_where [private]
 

Location of the assignment.

Definition at line 544 of file memoryaccess.h.

Referenced by where().


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

Generated on February 1, 2006
Back to the C-Breeze home page