FLANG
|
#include <flang/Lower/HlfirIntrinsics.h>
Public Member Functions | |
PreparedActualArgument (hlfir::Entity actual, std::optional< mlir::Value > isPresent) | |
PreparedActualArgument (hlfir::ElementalAddrOp vectorSubscriptedActual) | |
void | setElementalIndices (mlir::ValueRange &indices) |
hlfir::Entity | getActual (mlir::Location loc, fir::FirOpBuilder &builder) const |
void | derefPointersAndAllocatables (mlir::Location loc, fir::FirOpBuilder &builder) |
void | loadTrivialScalar (mlir::Location loc, fir::FirOpBuilder &builder) |
hlfir::AssociateOp | associateIfArrayExpr (mlir::Location loc, fir::FirOpBuilder &builder) |
bool | isArray () const |
mlir::Value | genShape (mlir::Location loc, fir::FirOpBuilder &builder) |
mlir::Value | genCharLength (mlir::Location loc, fir::FirOpBuilder &builder) |
mlir::Value | getPolymorphicMold (mlir::Location loc) const |
bool | handleDynamicOptional () const |
mlir::Value | getIsPresent () const |
void | resetOptionalAspect () |
This structure holds the initial lowered value of an actual argument that was lowered regardless of the interface, and it holds whether or not it may be absent at runtime and the dummy is optional.
|
inline |
Ensure an array expression argument is fully evaluated in memory before the call. Useful for impure elemental calls.
hlfir::Entity Fortran::lower::PreparedActualArgument::getActual | ( | mlir::Location | loc, |
fir::FirOpBuilder & | builder | ||
) | const |
Get the prepared actual. If this is an array argument in an elemental call, the current element value will be returned.
|
inline |
When the argument is polymorphic, get mold value with the same dynamic type.