17#ifndef FORTRAN_LOWER_CONVERTEXPRTOHLFIR_H
18#define FORTRAN_LOWER_CONVERTEXPRTOHLFIR_H
20#include "flang/Lower/StatementContext.h"
21#include "flang/Lower/Support/Utils.h"
22#include "flang/Optimizer/Builder/FIRBuilder.h"
23#include "flang/Optimizer/Builder/HLFIRTools.h"
24#include "flang/Optimizer/Dialect/FIRDialect.h"
36class AbstractConverter;
47 auto [exv, exvCleanup] =
48 hlfir::translateToExtendedValue(loc, builder, entity, contiguityHint);
65 mlir::Type fortranType);
101 mlir::Type fortranType);
Definition: AbstractConverter.h:82
Definition: StatementContext.h:46
void attachCleanup(CleanupFunction cuf)
Append a cleanup function to the "list" of cleanup functions.
Definition: StatementContext.h:69
Definition: SymbolMap.h:146
Definition: BoxValue.h:478
Definition: FIRBuilder.h:55
Definition: BoxValue.h:360
Definition: HLFIRTools.h:192
Definition: HLFIRTools.h:51
Definition: AbstractConverter.h:59
fir::MutableBoxValue convertExprToMutableBox(mlir::Location loc, Fortran::lower::AbstractConverter &, const Fortran::lower::SomeExpr &, Fortran::lower::SymMap &)
Definition: ConvertExprToHLFIR.cpp:2082
fir::ExtendedValue convertExprToAddress(mlir::Location loc, Fortran::lower::AbstractConverter &, const Fortran::lower::SomeExpr &, Fortran::lower::SymMap &, Fortran::lower::StatementContext &)
Definition: ConvertExprToHLFIR.cpp:2044
hlfir::ElementalAddrOp convertVectorSubscriptedExprToElementalAddr(mlir::Location loc, Fortran::lower::AbstractConverter &, const Fortran::lower::SomeExpr &, Fortran::lower::SymMap &, Fortran::lower::StatementContext &)
Definition: ConvertExprToHLFIR.cpp:2100
fir::ExtendedValue convertExprToValue(mlir::Location loc, Fortran::lower::AbstractConverter &, const Fortran::lower::SomeExpr &, Fortran::lower::SymMap &, Fortran::lower::StatementContext &)
Lower an evaluate::Expr to a fir::ExtendedValue value.
Definition: ConvertExprToHLFIR.cpp:2064
fir::ExtendedValue convertExprToBox(mlir::Location loc, Fortran::lower::AbstractConverter &, const Fortran::lower::SomeExpr &, Fortran::lower::SymMap &, Fortran::lower::StatementContext &)
Definition: ConvertExprToHLFIR.cpp:2022
Definition: AbstractConverter.h:27
Definition: variable.h:300