[flang] DATA statement processing (part 2/4): Initial images
authorpeter klausler <pklausler@nvidia.com>
Thu, 18 Jun 2020 21:37:59 +0000 (14:37 -0700)
committerpeter klausler <pklausler@nvidia.com>
Fri, 19 Jun 2020 00:13:59 +0000 (17:13 -0700)
commit286d7a21593f48ef72d4205036017d326281e3b8
tree3aa1419f14298fdc291d2149dcc2e72cbbae96cb
parent0f92096c0a9aa97a2818a8cc8e23e0bfc5d3831f
[flang] DATA statement processing (part 2/4): Initial images

Summary:
Defines a representation for the initialized memory image of
a variable.  This image is populated by DATA statement
processing as designator elements are put into correspondence
with values, then converted into an initializer in the symbol
table so that lowering can pass the initial image to the
code generator.

Reviewers: tskeith, PeteSteinfeld, sscalpone, jdoerfert, DavidTruby

Reviewed By: tskeith

Subscribers: mgorny, llvm-commits, flang-commits

Tags: #flang, #llvm

Differential Revision: https://reviews.llvm.org/D82131
flang/include/flang/Evaluate/initial-image.h [new file with mode: 0644]
flang/lib/Evaluate/CMakeLists.txt
flang/lib/Evaluate/initial-image.cpp [new file with mode: 0644]