CBMC
c_types.cpp File Reference
#include "c_types.h"
#include "config.h"
#include "invariant.h"
#include "pointer_offset_size.h"
#include "std_types.h"
+ Include dependency graph for c_types.cpp:

Go to the source code of this file.

Functions

bitvector_typet c_index_type ()
 
bitvector_typet index_type ()
 
signedbv_typet signed_int_type ()
 
signedbv_typet signed_short_int_type ()
 
unsignedbv_typet unsigned_int_type ()
 
unsignedbv_typet unsigned_short_int_type ()
 
unsignedbv_typet size_type ()
 
signedbv_typet signed_size_type ()
 
signedbv_typet signed_long_int_type ()
 
signedbv_typet signed_long_long_int_type ()
 
unsignedbv_typet unsigned_long_int_type ()
 
unsignedbv_typet unsigned_long_long_int_type ()
 
typet c_bool_type ()
 
bitvector_typet char_type ()
 
unsignedbv_typet unsigned_char_type ()
 
signedbv_typet signed_char_type ()
 
bitvector_typet wchar_t_type ()
 
unsignedbv_typet char16_t_type ()
 
unsignedbv_typet char32_t_type ()
 
floatbv_typet float_type ()
 
floatbv_typet double_type ()
 
floatbv_typet long_double_type ()
 
signedbv_typet pointer_diff_type ()
 
pointer_typet pointer_type (const typet &subtype)
 
reference_typet reference_type (const typet &subtype)
 
empty_typet void_type ()
 
std::string c_type_as_string (const irep_idt &c_type)
 

Function Documentation

◆ c_bool_type()

typet c_bool_type ( )

Definition at line 105 of file c_types.cpp.

◆ c_index_type()

bitvector_typet c_index_type ( )

Definition at line 16 of file c_types.cpp.

◆ c_type_as_string()

std::string c_type_as_string ( const irep_idt c_type)

Definition at line 256 of file c_types.cpp.

◆ char16_t_type()

unsignedbv_typet char16_t_type ( )

Definition at line 162 of file c_types.cpp.

◆ char32_t_type()

unsignedbv_typet char32_t_type ( )

Definition at line 172 of file c_types.cpp.

◆ char_type()

bitvector_typet char_type ( )

Definition at line 111 of file c_types.cpp.

◆ double_type()

floatbv_typet double_type ( )

Definition at line 190 of file c_types.cpp.

◆ float_type()

floatbv_typet float_type ( )

Definition at line 182 of file c_types.cpp.

◆ index_type()

bitvector_typet index_type ( )
Deprecated:
"deprecated since " "2022" "-" "1" "-" "13" "; " "use c_index_type() or array_typet::index_type() instead"

Definition at line 22 of file c_types.cpp.

◆ long_double_type()

floatbv_typet long_double_type ( )

Definition at line 198 of file c_types.cpp.

◆ pointer_diff_type()

signedbv_typet pointer_diff_type ( )

Definition at line 225 of file c_types.cpp.

◆ pointer_type()

pointer_typet pointer_type ( const typet subtype)

Definition at line 240 of file c_types.cpp.

◆ reference_type()

reference_typet reference_type ( const typet subtype)

Definition at line 245 of file c_types.cpp.

◆ signed_char_type()

signedbv_typet signed_char_type ( )

Definition at line 139 of file c_types.cpp.

◆ signed_int_type()

signedbv_typet signed_int_type ( )

Definition at line 27 of file c_types.cpp.

◆ signed_long_int_type()

signedbv_typet signed_long_int_type ( )

Definition at line 77 of file c_types.cpp.

◆ signed_long_long_int_type()

signedbv_typet signed_long_long_int_type ( )

Definition at line 84 of file c_types.cpp.

◆ signed_short_int_type()

signedbv_typet signed_short_int_type ( )

Definition at line 34 of file c_types.cpp.

◆ signed_size_type()

signedbv_typet signed_size_type ( )

Definition at line 71 of file c_types.cpp.

◆ size_type()

unsignedbv_typet size_type ( )

Definition at line 55 of file c_types.cpp.

◆ unsigned_char_type()

unsignedbv_typet unsigned_char_type ( )

Definition at line 132 of file c_types.cpp.

◆ unsigned_int_type()

unsignedbv_typet unsigned_int_type ( )

Definition at line 41 of file c_types.cpp.

◆ unsigned_long_int_type()

unsignedbv_typet unsigned_long_int_type ( )

Definition at line 91 of file c_types.cpp.

◆ unsigned_long_long_int_type()

unsignedbv_typet unsigned_long_long_int_type ( )

Definition at line 98 of file c_types.cpp.

◆ unsigned_short_int_type()

unsignedbv_typet unsigned_short_int_type ( )

Definition at line 48 of file c_types.cpp.

◆ void_type()

empty_typet void_type ( )

Definition at line 250 of file c_types.cpp.

◆ wchar_t_type()

bitvector_typet wchar_t_type ( )

Definition at line 146 of file c_types.cpp.