[flang-commits] [PATCH] D136428: [flang] add hlfir::FortranEntity class

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 21 01:18:25 PDT 2022


jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: bzcheeseman, mehdi_amini, rriddle, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added a subscriber: stephenneuendorffer.

Add hlfir::FortranEntity class and a first helper to convert it to
fir::ExtendedValue.

The hlfir::FortranEntity will be the core class of the new expression
lowering. It is conceptually very similar to what fir::ExtendedValue
is today, except that it is wrapping single mlir::Value: it holds the
SSA value for a lowered Fortran variable or expression value.

Depends on D136328 <https://reviews.llvm.org/D136328>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136428

Files:
  flang/include/flang/Optimizer/Builder/HLFIRTools.h
  flang/lib/Optimizer/Builder/CMakeLists.txt
  flang/lib/Optimizer/Builder/HLFIRTools.cpp
  flang/unittests/Optimizer/Builder/HLFIRToolsTest.cpp
  flang/unittests/Optimizer/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136428.469500.patch
Type: text/x-patch
Size: 19487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221021/841b51e4/attachment-0001.bin>


More information about the flang-commits mailing list