Lines Matching defs:gen
47 hlfir::EntityWithAttributes result = gen(designatorNode);
76 gen(const CharacterDesignators &designatorVariant,
89 gen(const RealDesignators &designatorVariant,
102 gen(const OtherDesignators &designatorVariant,
171 gen(const Fortran::evaluate::DataRef &dataRef) {
173 Fortran::common::visitors{[&](const auto &x) { return gen(x); }},
179 /// function) before the top level "gen" generates an hlfir.declare for the
278 gen(const Fortran::evaluate::SymbolRef &symbolRef) {
288 gen(Fortran::semantics::GetCrayPointer(symbolRef));
315 gen(const Fortran::semantics::Symbol &symbol) {
317 return gen(symref);
321 gen(const Fortran::evaluate::Component &component) {
330 gen(const Fortran::evaluate::ArrayRef &arrayRef) {
337 gen(const Fortran::evaluate::CoarrayRef &coarrayRef) {
346 gen(const Fortran::evaluate::ComplexPart &complexPart) {
365 gen(const Fortran::evaluate::Substring &substring) {
470 hlfir::derefPointersAndAllocatables(loc, getBuilder(), gen(symbolRef));
693 partInfo.base = gen(component.base());
895 // gen(Designator<T>.u).
903 return gen(std::get<Fortran::evaluate::Designator<
912 return gen(
968 static hlfir::EntityWithAttributes gen(mlir::Location loc, \
1005 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1019 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1033 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1046 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1068 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1151 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1166 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1188 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1203 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1218 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1239 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1270 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1282 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1303 hlfir::EntityWithAttributes gen(mlir::Location loc,
1340 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1355 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1373 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1395 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1408 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1418 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1430 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1454 static hlfir::EntityWithAttributes gen(mlir::Location loc,
1492 hlfir::EntityWithAttributes gen(const Fortran::evaluate::Expr<T> &expr) {
1504 return Fortran::common::visit([&](const auto &x) { return gen(x); },
1510 gen(const Fortran::evaluate::BOZLiteralConstant &expr) {
1514 hlfir::EntityWithAttributes gen(const Fortran::evaluate::NullPointer &expr) {
1520 gen(const Fortran::evaluate::ProcedureDesignator &proc) {
1525 hlfir::EntityWithAttributes gen(const Fortran::evaluate::ProcedureRef &expr) {
1537 gen(const Fortran::evaluate::Designator<T> &designator) {
1540 .gen(designator.u);
1545 gen(const Fortran::evaluate::FunctionRef<T> &expr) {
1555 hlfir::EntityWithAttributes gen(const Fortran::evaluate::Constant<T> &expr) {
1575 gen(const Fortran::evaluate::ArrayConstructor<T> &arrayCtor) {
1576 return Fortran::lower::ArrayConstructorBuilder<T>::gen(
1582 gen(const Fortran::evaluate::Operation<D, R, O> &op) {
1587 auto left = hlfir::loadTrivialScalar(loc, builder, gen(op.left()));
1593 return unaryOp.gen(loc, builder, op.derived(), left);
1614 return unaryOp.gen(l, b, op.derived(), leftVal);
1627 gen(const Fortran::evaluate::Operation<D, R, LO, RO> &op) {
1632 auto left = hlfir::loadTrivialScalar(loc, builder, gen(op.left()));
1633 auto right = hlfir::loadTrivialScalar(loc, builder, gen(op.right()));
1639 return binaryOp.gen(loc, builder, op.derived(), left, right);
1660 return binaryOp.gen(l, b, op.derived(), leftVal, rightVal);
1677 gen(const Fortran::evaluate::Relational<Fortran::evaluate::SomeType> &op) {
1678 return Fortran::common::visit([&](const auto &x) { return gen(x); }, op.u);
1681 hlfir::EntityWithAttributes gen(const Fortran::evaluate::TypeParamInquiry &) {
1686 gen(const Fortran::evaluate::DescriptorInquiry &desc) {
1719 gen(const Fortran::evaluate::ImpliedDoIndex &var) {
1745 gen(const Fortran::evaluate::StructureConstructor &ctor) {
1917 hlfir::Entity rhs = gen(expr);
1989 .gen(expr);
2008 return HlfirBuilder(loc, converter, symMap, stmtCtx).gen(expr);
2027 HlfirBuilder(loc, converter, symMap, stmtCtx).gen(expr);
2049 HlfirBuilder(loc, converter, symMap, stmtCtx).gen(expr);
2069 HlfirBuilder(loc, converter, symMap, stmtCtx).gen(expr);
2078 HlfirDesignatorBuilder(loc, converter, symMap, stmtCtx).gen(dataRef);
2091 HlfirBuilder(loc, converter, symMap, localStmtCtx).gen(expr);