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  

Unify_Size Class Reference

#include <unification.h>

List of all members.

Public Member Functions

 Unify_Size (int size)
 Unify_Size ()
bool is_top () const
int size () const
bool leq (Unify_Size o) const
bool equal (Unify_Size o)
string str () const

Static Public Member Functions

int sizeOf (typeNode *ty)
int sizeOfAssign (threeAddrNode *t, Linker &, UnificationBasedPtr *)

Private Attributes

bool _is_top
int _size


Constructor & Destructor Documentation

Unify_Size::Unify_Size int    size [inline]
 

Definition at line 195 of file unification.h.

References size().

Unify_Size::Unify_Size   [inline]
 

Definition at line 196 of file unification.h.


Member Function Documentation

bool Unify_Size::equal Unify_Size    o [inline]
 

Definition at line 200 of file unification.h.

References is_top(), and size().

Referenced by UnificationBasedPtr::unify().

bool Unify_Size::is_top   const [inline]
 

Definition at line 197 of file unification.h.

Referenced by equal(), Unify_Pendings::insert(), and leq().

bool Unify_Size::leq Unify_Size    o const [inline]
 

Definition at line 199 of file unification.h.

References is_top(), and size().

Referenced by UnificationBasedPtr::at_allocation(), UnificationBasedPtr::at_call(), UnificationBasedPtr::at_initializer(), UnificationBasedPtr::at_proc(), UnificationBasedPtr::collapse(), UnificationBasedPtr::ensure_sim_obj(), UnifyType::leq(), UnificationBasedPtr::mergeOperand(), and UnificationBasedPtr::promote().

int Unify_Size::size void    const [inline]
 

Definition at line 198 of file unification.h.

Referenced by equal(), Unify_Pendings::insert(), leq(), and Unify_Size().

int Unify_Size::sizeOf typeNode   ty [static]
 

Definition at line 318 of file unification.cc.

References Array, Const, decl_list, decl_list_p, def, arrayNode::dim(), basic_type::Ellipsis, Enum, suespecNode::fields(), Func, Prim, Ptr, basic_type::size(), sizeOf(), sizeOfAssign(), Struct, sueSpec, Tdef, Node::typ(), typeNode::type(), Union, and basic_type::Void.

Referenced by UnificationBasedPtr::at_initializer(), UnificationBasedPtr::ecr(), sizeOf(), sizeOfAssign(), and Unify_ECR::Unify_ECR().

int Unify_Size::sizeOfAssign threeAddrNode   t,
Linker  ,
UnificationBasedPtr  
[static]
 

Definition at line 363 of file unification.cc.

References procNode::decl(), typeNode::follow_tdefs(), Operator::FUNC_CALL, threeAddrNode::lhs(), Linker::lookup_procedure(), threeAddrNode::op(), Ptr, threeAddrNode::rhs1(), threeAddrNode::rhs2(), sizeOf(), threeAddrNode::sizeof_type(), UnificationBasedPtr::synthetic_proc(), Node::typ(), and declNode::type().

Referenced by sizeOf().

string Unify_Size::str   const
 

Definition at line 451 of file unification.cc.

References _size.

Referenced by UnifyType::print().


Member Data Documentation

bool Unify_Size::_is_top [private]
 

Definition at line 192 of file unification.h.

int Unify_Size::_size [private]
 

Definition at line 193 of file unification.h.

Referenced by str().


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

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