mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
6aa3591e98
STORAGE_SIZE() is a standard inquiry intrinsic (size in bits of an array element of the same type as the argument); SIZEOF() is a common extension that returns the size in bytes of its argument; C_SIZEOF() is a renaming of SIZEOF() in module ISO_C_BINDING. STORAGE_SIZE() and SIZEOF() are implemented via rewrites to expressions; these expressions will be constant when the necessary type parameters and bounds are also constant. Code to calculate the sizes of types (with and without alignment) was isolated into Evaluate/type.* and /characteristics.*. Code in Semantics/compute-offsets.* to calculate sizes and alignments of derived types' scopes was exposed so that it can be called at type instantiation time (earlier than before) so that these inquiry intrinsics could be called from specification expressions. Differential Revision: https://reviews.llvm.org/D93322 |
||
---|---|---|
.. | ||
__fortran_builtins.f90 | ||
__fortran_type_info.f90 | ||
.clang-format | ||
ieee_arithmetic.f90 | ||
ieee_exceptions.f90 | ||
ieee_features.f90 | ||
iso_c_binding.f90 | ||
iso_fortran_env.f90 | ||
omp_lib.f90 | ||
omp_lib.h |