33 result.
set(ID_C_c_type, ID_signed_int);
40 result.
set(ID_C_c_type, ID_signed_short_int);
47 result.
set(ID_C_c_type, ID_unsigned_int);
54 result.
set(ID_C_c_type, ID_unsigned_short_int);
83 result.
set(ID_C_c_type, ID_signed_long_int);
90 result.
set(ID_C_c_type, ID_signed_long_long_int);
97 result.
set(ID_C_c_type, ID_unsigned_long_int);
104 result.
set(ID_C_c_type, ID_unsigned_long_long_int);
124 result.
set(ID_C_c_type, ID_char);
125 return std::move(result);
130 result.
set(ID_C_c_type, ID_char);
131 return std::move(result);
138 result.
set(ID_C_c_type, ID_unsigned_char);
145 result.
set(ID_C_c_type, ID_signed_char);
154 result.
set(ID_C_c_type, ID_wchar_t);
155 return std::move(result);
160 result.
set(ID_C_c_type, ID_wchar_t);
161 return std::move(result);
171 result.
set(ID_C_c_type, ID_char16_t);
181 result.
set(ID_C_c_type, ID_char32_t);
189 result.
set(ID_C_c_type, ID_float);
197 result.
set(ID_C_c_type, ID_double);
221 INVARIANT(
false,
"width of long double");
223 result.
set(ID_C_c_type, ID_long_double);
240 INVARIANT(
false,
"width of pointer difference");
260 if(c_type==ID_signed_int)
262 else if(c_type==ID_signed_short_int)
263 return "signed short int";
264 else if(c_type==ID_unsigned_int)
265 return "unsigned int";
266 else if(c_type==ID_unsigned_short_int)
267 return "unsigned short int";
268 else if(c_type==ID_signed_long_int)
269 return "signed long int";
270 else if(c_type==ID_signed_long_long_int)
271 return "signed long long int";
272 else if(c_type==ID_unsigned_long_int)
273 return "unsigned long int";
274 else if(c_type==ID_unsigned_long_long_int)
275 return "unsigned long long int";
276 else if(c_type==ID_bool)
278 else if(c_type==ID_char)
280 else if(c_type==ID_unsigned_char)
281 return "unsigned char";
282 else if(c_type==ID_signed_char)
283 return "signed char";
284 else if(c_type==ID_wchar_t)
286 else if(c_type==ID_char16_t)
288 else if(c_type==ID_char32_t)
290 else if(c_type==ID_float)
292 else if(c_type==ID_double)
294 else if(c_type==ID_long_double)
295 return "long double";
296 else if(c_type==ID_gcc_float128)
298 else if(c_type==ID_unsigned_int128)
299 return "unsigned __int128";
300 else if(c_type==ID_signed_int128)
301 return "signed __int128";
The type of an expression, extends irept.
struct configt::ansi_ct ansi_c
Fixed-width bit-vector with unsigned binary interpretation.
pointer_typet pointer_type(const typet &subtype)
Fixed-width bit-vector with IEEE floating-point interpretation.
unsignedbv_typet unsigned_int_type()
bitvector_typet enum_constant_type()
return type of enum constants
unsignedbv_typet char32_t_type()
unsignedbv_typet size_type()
signedbv_typet pointer_diff_type()
signedbv_typet signed_size_type()
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.
static ieee_float_spect double_precision()
class floatbv_typet to_type() const
std::size_t long_long_int_width
reference_typet reference_type(const typet &subtype)
The pointer type These are both 'bitvector_typet' (they have a width) and 'type_with_subtypet' (they ...
static ieee_float_spect quadruple_precision()
Fixed-width bit-vector with two's complement interpretation.
static ieee_float_spect single_precision()
signedbv_typet signed_long_int_type()
bitvector_typet index_type()
dstringt has one field, an unsigned integer no which is an index into a static table of strings...
std::size_t pointer_width
unsignedbv_typet char16_t_type()
Base class of fixed-width bit-vector types.
std::string c_type_as_string(const irep_idt &c_type)
signedbv_typet signed_short_int_type()
std::size_t wchar_t_width
floatbv_typet long_double_type()
floatbv_typet float_type()
bitvector_typet wchar_t_type()
unsignedbv_typet unsigned_short_int_type()
floatbv_typet double_type()
unsignedbv_typet unsigned_long_long_int_type()
signedbv_typet signed_int_type()
unsignedbv_typet unsigned_char_type()
unsignedbv_typet unsigned_long_int_type()
signedbv_typet signed_long_long_int_type()
std::size_t long_int_width
signedbv_typet signed_char_type()
bitvector_typet char_type()
std::size_t short_int_width
void set(const irep_namet &name, const irep_idt &value)
std::size_t long_double_width