#include <VectorType.hpp>
Public Member Functions | |
VectorType (BasicType::PrimitiveTag primitiveTag, QualFlags qualFlags) | |
VectorType (BasicType::PrimitiveTag primitiveTag) | |
VectorType (const VectorType &other) | |
virtual | ~VectorType () |
virtual VectorType * | clone () 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_ |
Definition at line 48 of file VectorType.hpp.
cfront::VectorType::VectorType | ( | BasicType::PrimitiveTag | primitiveTag, | |
QualFlags | qualFlags | |||
) | [inline] |
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.
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] |
void cfront::VectorType::setQualFlags | ( | QualFlags | qf | ) | [inline] |
Definition at line 108 of file VectorType.hpp.
Referenced by getPrimitiveTag(), and isCompatibleType().
QualFlags cfront::VectorType::qualFlags_ [protected] |