clang
8.0.0
|
ValueTypes are data types that can actually be held in registers. More...
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
Public Types | |
enum | BaseType : unsigned char { BT_Void = 0, BT_Bool, BT_Int, BT_Float, BT_String, BT_Pointer, BT_ValueRef } |
enum | SizeType : unsigned char { ST_0 = 0, ST_1, ST_8, ST_16, ST_32, ST_64, ST_128 } |
Public Member Functions | |
ValueType (BaseType B, SizeType Sz, bool S, unsigned char VS) | |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
template<> | |
ValueType | getValueType () |
Static Public Member Functions | |
static SizeType | getSizeType (unsigned nbytes) |
template<class T > | |
static ValueType | getValueType () |
Public Attributes | |
BaseType | Base |
SizeType | Size |
bool | Signed |
unsigned char | VectSize |
ValueTypes are data types that can actually be held in registers.
All variables and expressions must have a value type. Pointer types are further subdivided into the various heap-allocated types, such as functions, records, etc. Structured types that are passed by value (e.g. complex numbers) require special handling; they use BT_ValueRef, and size ST_0.
Definition at line 154 of file ThreadSafetyTIL.h.
enum clang::threadSafety::til::ValueType::BaseType : unsigned char |
Enumerator | |
---|---|
BT_Void | |
BT_Bool | |
BT_Int | |
BT_Float | |
BT_String | |
BT_Pointer | |
BT_ValueRef |
Definition at line 155 of file ThreadSafetyTIL.h.
enum clang::threadSafety::til::ValueType::SizeType : unsigned char |
Enumerator | |
---|---|
ST_0 | |
ST_1 | |
ST_8 | |
ST_16 | |
ST_32 | |
ST_64 | |
ST_128 |
Definition at line 165 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 175 of file ThreadSafetyTIL.h.
Referenced by getValueType().
|
inlinestatic |
Definition at line 191 of file ThreadSafetyTIL.h.
References ST_0, ST_128, ST_16, ST_32, ST_64, and ST_8.
Referenced by getValueType().
|
inlinestatic |
|
inline |
Definition at line 203 of file ThreadSafetyTIL.h.
References BT_Void, ST_0, and ValueType().
|
inline |
Definition at line 208 of file ThreadSafetyTIL.h.
References BT_Bool, ST_1, and ValueType().
|
inline |
Definition at line 213 of file ThreadSafetyTIL.h.
References BT_Int, ST_8, and ValueType().
|
inline |
Definition at line 218 of file ThreadSafetyTIL.h.
References BT_Int, ST_8, and ValueType().
|
inline |
Definition at line 223 of file ThreadSafetyTIL.h.
References BT_Int, ST_16, and ValueType().
|
inline |
Definition at line 228 of file ThreadSafetyTIL.h.
References BT_Int, ST_16, and ValueType().
|
inline |
Definition at line 233 of file ThreadSafetyTIL.h.
References BT_Int, ST_32, and ValueType().
|
inline |
Definition at line 238 of file ThreadSafetyTIL.h.
References BT_Int, ST_32, and ValueType().
|
inline |
Definition at line 243 of file ThreadSafetyTIL.h.
References BT_Int, ST_64, and ValueType().
|
inline |
Definition at line 248 of file ThreadSafetyTIL.h.
References BT_Int, ST_64, and ValueType().
|
inline |
Definition at line 253 of file ThreadSafetyTIL.h.
References BT_Float, ST_32, and ValueType().
|
inline |
Definition at line 258 of file ThreadSafetyTIL.h.
References BT_Float, ST_64, and ValueType().
|
inline |
Definition at line 263 of file ThreadSafetyTIL.h.
References BT_Float, ST_128, and ValueType().
|
inline |
Definition at line 268 of file ThreadSafetyTIL.h.
References BT_String, getSizeType(), and ValueType().
|
inline |
Definition at line 273 of file ThreadSafetyTIL.h.
References BT_Pointer, getSizeType(), and ValueType().
BaseType clang::threadSafety::til::ValueType::Base |
Definition at line 183 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printLiteral().
bool clang::threadSafety::til::ValueType::Signed |
Definition at line 185 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printLiteral().
SizeType clang::threadSafety::til::ValueType::Size |
Definition at line 184 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printLiteral().
unsigned char clang::threadSafety::til::ValueType::VectSize |
Definition at line 188 of file ThreadSafetyTIL.h.