Intel® Implicit SPMD Program Compiler (Intel® ISPC)
1.13.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 |
std::string Variability::GetString | ( | ) | const |
Definition at line 85 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(), Type::HasUnboundVariability(), InitSymbol(), PointerType::IsFrozenSlice(), and operator!=().
std::string Variability::MangleString | ( | ) | const |
Definition at line 104 of file type.cpp.
References FATAL, SOA, soaWidth, type, Unbound, Uniform, and Varying.
Referenced by lMangleStruct(), AtomicType::Mangle(), EnumType::Mangle(), PointerType::Mangle(), and operator!=().
|
inline |
|
inline |
Definition at line 62 of file type.h.
References GetString(), MangleString(), and type.
|
inline |
|
inline |
int Variability::soaWidth |
Definition at line 68 of file type.h.
Referenced by AtomicType::GetCDeclaration(), EnumType::GetCDeclaration(), PointerType::GetCDeclaration(), StructType::GetCDeclaration(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), GetString(), lGetAtomicLLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lMangleStructName(), MangleString(), operator!=(), and operator==().
VarType Variability::type |
Definition at line 67 of file type.h.
Referenced by CastType(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), GetString(), Type::HasUnboundVariability(), lGetAtomicLLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lMangleStructName(), MangleString(), operator!=(), and operator==().