cfront::VectorType Class Reference

#include <VectorType.hpp>

Inheritance diagram for cfront::VectorType:

Inheritance graph
[legend]
Collaboration diagram for cfront::VectorType:

Collaboration graph
[legend]

Public Member Functions

 VectorType (BasicType::PrimitiveTag primitiveTag, QualFlags qualFlags)
 VectorType (BasicType::PrimitiveTag primitiveTag)
 VectorType (const VectorType &other)
virtual ~VectorType ()
virtual VectorTypeclone () const
virtual bool isCompatibleType (const Type *other) const
virtual size_t getSize (const TargetInfo &targetInfo) const
virtual size_t getAlign (const TargetInfo &targetInfo) const
BasicType::PrimitiveTag getPrimitiveTag () const
QualFlags getQualFlags () const
void setQualFlags (QualFlags qf)

Protected Attributes

BasicType::PrimitiveTag primitiveTag_
QualFlags qualFlags_

Detailed Description

The class represents SPU vector type specified by "C/C++ Language Extensions for Cell Broadband Engine Architecture". URL: http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/30B3520C93F437AB87257060006FFE5E

See also:
BasicType::PrimitiveTag

Definition at line 48 of file VectorType.hpp.


Constructor & Destructor Documentation

cfront::VectorType::VectorType ( BasicType::PrimitiveTag  primitiveTag,
QualFlags  qualFlags 
) [inline]

Definition at line 50 of file VectorType.hpp.

Referenced by clone().

cfront::VectorType::VectorType ( BasicType::PrimitiveTag  primitiveTag  )  [inline]

Definition at line 52 of file VectorType.hpp.

cfront::VectorType::VectorType ( const VectorType other  )  [inline]

Definition at line 54 of file VectorType.hpp.

virtual cfront::VectorType::~VectorType (  )  [inline, virtual]

Definition at line 58 of file VectorType.hpp.


Member Function Documentation

virtual VectorType* cfront::VectorType::clone (  )  const [inline, virtual]

Return the copy of self.

Implements cfront::Type.

Definition at line 60 of file VectorType.hpp.

References VectorType().

virtual bool cfront::VectorType::isCompatibleType ( const Type other  )  const [inline, virtual]

Tests whether this type is compatible to the given one.

Implements cfront::Type.

Definition at line 65 of file VectorType.hpp.

References primitiveTag_.

virtual size_t cfront::VectorType::getSize ( const TargetInfo targetInfo  )  const [inline, virtual]

Implements cfront::Type.

Definition at line 72 of file VectorType.hpp.

References cfront::TargetInfo::getSize(), and cfront::TargetInfo::VECTOR.

virtual size_t cfront::VectorType::getAlign ( const TargetInfo targetInfo  )  const [inline, virtual]

Implements cfront::Type.

Definition at line 77 of file VectorType.hpp.

References cfront::TargetInfo::getAlign(), and cfront::TargetInfo::VECTOR.

BasicType::PrimitiveTag cfront::VectorType::getPrimitiveTag (  )  const [inline]

Definition at line 82 of file VectorType.hpp.

References primitiveTag_.

Referenced by cfront::CAnalyzer::getInitializerListElemType().

QualFlags cfront::VectorType::getQualFlags (  )  const [inline]

Definition at line 87 of file VectorType.hpp.

References qualFlags_.

void cfront::VectorType::setQualFlags ( QualFlags  qf  )  [inline]

Definition at line 92 of file VectorType.hpp.

References qualFlags_.


Field Documentation

Definition at line 108 of file VectorType.hpp.

Referenced by getPrimitiveTag(), and isCompatibleType().

Definition at line 109 of file VectorType.hpp.

Referenced by getQualFlags(), and setQualFlags().


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

Generated on Tue Mar 31 20:19:53 2009 for ctrump by  doxygen 1.5.6