llvm-project/flang/lib/Optimizer/Dialect
Jean Perier a398981fb0 [flang] Add fir.declare operation
Add fir.declare operation whose purpose was described in https://reviews.llvm.org/D134285.
It uses the FortranVariableInterfaceOp for most of its logic (including the verifier).
The rational is that all these aspects/logic will be shared by hlfir.designate and
hlfir.associate.

Its codegen and lowering will be added in later patches.

Differential Revision: https://reviews.llvm.org/D136181
2022-10-19 11:06:58 +02:00
..
CMakeLists.txt [flang] Introduce FortranVariableOpInterface for ops creating variable 2022-10-19 08:56:47 +02:00
FIRAttr.cpp [flang] Add an enum attribute to carry Fortran attributes 2022-10-17 15:42:42 +02:00
FIRDialect.cpp [flang] Remove 'using namespace mlir;` from header files 2022-03-09 10:19:51 +00:00
FIROps.cpp [flang] Add optional tdesc operand to fir.embox for polymorphic entities 2022-10-13 11:41:15 +02:00
FIRType.cpp [flang] Allow conversion from boxed derived type to fir.class 2022-10-10 08:59:09 +02:00
FortranVariableInterface.cpp [flang] Add fir.declare operation 2022-10-19 11:06:58 +02:00
Inliner.cpp [flang][NFC] Move current inliner files in Dialect directory 2022-01-20 13:34:44 +01:00