llvm-project/flang/docs
peter klausler 6aa3591e98 [flang] Implement STORAGE_SIZE(), SIZEOF(), C_SIZEOF()
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
2020-12-15 17:26:20 -08:00
..
_static
_templates [Flang] Add GettingInvolved documentation page and sidebar. 2020-09-15 18:43:59 +05:30
_themes/llvm-theme
ArrayComposition.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
BijectiveInternalNameUniquing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++17.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++style.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
CMakeLists.txt
Calls.md [docs][flang] Fix typos 2020-09-21 11:05:58 +05:30
Character.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ControlFlowGraph.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Directives.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
DoConcurrent.md [flang] Document DO CONCURRENT's problems (NFC) 2020-11-12 15:30:43 -08:00
Extensions.md [flang] Implement STORAGE_SIZE(), SIZEOF(), C_SIZEOF() 2020-12-15 17:26:20 -08:00
FortranForCProgrammers.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
FortranIR.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
GettingInvolved.md [Flang][Docs] Update call information and add two more calls 2020-11-25 11:52:35 -06:00
IORuntimeInternals.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ImplementingASemanticCheck.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Intrinsics.md [flang] Tighten rules to resolve procedure as intrinsic procedure 2020-10-26 11:25:40 +01:00
LabelResolution.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ModFiles.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-4.5-grammar.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-semantics.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OptionComparison.md Update OptionComparison.md 2020-11-20 10:33:21 -08:00
Overview.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ParserCombinators.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Parsing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Preprocessing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
PullRequestChecklist.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ReleaseNotes.md [flang] Convert release notes to markdown 2020-09-08 08:47:33 +01:00
RuntimeDescriptor.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
RuntimeTypeInfo.md [flang] Implement derived type description table encoding 2020-12-08 10:26:58 -08:00
Semantics.md [flang] Improve initializer semantics, esp. for component default values 2020-12-07 14:40:41 -08:00
conf.py [Flang][Docs] Fix warnings when building docs. 2020-11-10 22:24:49 +05:30
doxygen-mainpage.dox [flang] Fix link to old repo location in doxygen mainpage. NFC. 2020-09-07 16:43:08 +01:00
doxygen.cfg.in
f2018-grammar.md [flang] Correct handling of null pointer initializers 2020-11-18 13:57:25 -08:00
flang-c-style.el [Flang] Move markdown files(.MD) from documentation/ to docs/ 2020-08-18 15:14:15 +05:30
index.md [flang] Document DO CONCURRENT's problems (NFC) 2020-11-12 15:30:43 -08:00