llvm-project/flang/unittests
Valentin Clement 52e239794f
[flang] Add AllocatableInit functions for use in allocate lowering
`AllocatableInitIntrinsic`, `AllocatableInitCharacter` and
`AllocatableInitDerived` are meant to be used to initialize a
descriptor when it is instantiated and not to be used multiple
times in a scope.
Add `AllocatableInitDerivedForAllocate`, `AllocatableInitCharacterForAllocate`
and `AllocatableInitDerivedForAllocate` to be used for the allocation
in allocate statement.
These new functions are meant to be used on an initialized descriptor
and will return directly if the descriptor is allocated so the
error handling is done by the call to `AllocatableAllocate`.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D146290
2023-03-20 10:00:43 +01:00
..
Common
Decimal
Evaluate
Frontend [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
Optimizer Break circular dependency between FIR dialect and utilities 2023-03-09 15:24:51 -08:00
Runtime [flang] Add AllocatableInit functions for use in allocate lowering 2023-03-20 10:00:43 +01:00
CMakeLists.txt