|
Intel SPMD Program Compiler
1.3.0
|
#include <type.h>

Public Types | |
| enum | VarType { Unbound, Uniform, Varying, SOA } |
Public Member Functions | |
| Variability (VarType t=Unbound, int w=0) | |
| bool | operator== (const Variability &v) const |
| bool | operator!= (const Variability &v) const |
| bool | operator== (const VarType &t) const |
| bool | operator!= (const VarType &t) const |
| std::string | GetString () const |
| std::string | MangleString () const |
Public Attributes | |
| VarType | type |
| int | soaWidth |
Types may have uniform, varying, SOA, or unbound variability; this struct is used by Type implementations to record their variability.
| enum Variability::VarType |
| Variability::Variability | ( | VarType | t = Unbound, |
| int | w = 0 |
||
| ) | [inline] |
| std::string Variability::GetString | ( | ) | const |
Definition at line 102 of file type.cpp.
References FATAL, SOA, soaWidth, type, Unbound, Uniform, and Varying.
Referenced by AtomicType::GetString(), EnumType::GetString(), PointerType::GetString(), StructType::GetString(), UndefinedStructType::GetString(), and InitSymbol().
| std::string Variability::MangleString | ( | ) | const |
Definition at line 120 of file type.cpp.
References FATAL, SOA, soaWidth, type, Unbound, Uniform, and Varying.
Referenced by lMangleStruct(), AtomicType::Mangle(), EnumType::Mangle(), and PointerType::Mangle().
| bool Variability::operator!= | ( | const Variability & | v | ) | const [inline] |
| bool Variability::operator!= | ( | const VarType & | t | ) | const [inline] |
| bool Variability::operator== | ( | const Variability & | v | ) | const [inline] |
| bool Variability::operator== | ( | const VarType & | t | ) | const [inline] |
Definition at line 72 of file type.h.
Referenced by AtomicType::GetCDeclaration(), EnumType::GetCDeclaration(), PointerType::GetCDeclaration(), StructType::GetCDeclaration(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), Type::GetSOAWidth(), GetString(), AtomicType::LLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lMangleStructName(), MangleString(), operator!=(), and operator==().
Definition at line 71 of file type.h.
Referenced by AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), GetString(), AtomicType::LLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lMangleStructName(), MangleString(), operator!=(), and operator==().
1.7.5.1