Lines Matching refs:stmtCtx
392 Fortran::lower::StatementContext &stmtCtx) override final { in genExprBox() argument
394 stmtCtx); in genExprBox()
534 Fortran::lower::StatementContext stmtCtx; in copyHostAssociateVar() local
536 stmtCtx); in copyHostAssociateVar()
537 stmtCtx.finalize(); in copyHostAssociateVar()
635 Fortran::lower::StatementContext &stmtCtx) { in createFIRExpr() argument
636 return fir::getBase(genExprValue(*expr, stmtCtx, &loc)); in createFIRExpr()
713 Fortran::lower::StatementContext stmtCtx; in genLoopVariableAddress() local
715 genExprAddr(Fortran::evaluate::AsGenericExpr(sym).value(), stmtCtx)); in genLoopVariableAddress()
775 Fortran::lower::StatementContext stmtCtx; in genFIRConditionalBranch() local
777 createFIRExpr(toLocation(), Fortran::semantics::GetExpr(expr), stmtCtx); in genFIRConditionalBranch()
778 stmtCtx.finalize(); in genFIRConditionalBranch()
784 Fortran::lower::StatementContext stmtCtx; in genFIRConditionalBranch() local
786 createFIRExpr(toLocation(), Fortran::semantics::GetExpr(expr), stmtCtx); in genFIRConditionalBranch()
787 stmtCtx.finalize(); in genFIRConditionalBranch()
872 Fortran::lower::StatementContext stmtCtx; in genIfCondition() local
877 stmtCtx); in genIfCondition()
878 stmtCtx.finalize(); in genIfCondition()
897 Fortran::lower::StatementContext stmtCtx; in genFIR() local
904 localSymbols, stmtCtx, /*isUserDefAssignment=*/false); in genFIR()
922 stmtCtx.finalize(); in genFIR()
927 Fortran::lower::StatementContext stmtCtx; in genFIR() local
933 stmtCtx); in genFIR()
934 stmtCtx.finalize(); in genFIR()
949 Fortran::lower::StatementContext stmtCtx; in genFIR() local
954 stmtCtx); in genFIR()
955 stmtCtx.finalize(); in genFIR()
1185 Fortran::lower::StatementContext stmtCtx; in genFIRIncrementLoopBegin() local
1188 createFIRExpr(loc, expr, stmtCtx)); in genFIRIncrementLoopBegin()
1231 Fortran::lower::StatementContext stmtCtx; in genFIRIncrementLoopBegin() local
1232 mlir::Value maskCond = createFIRExpr(loc, info.maskExpr, stmtCtx); in genFIRIncrementLoopBegin()
1233 stmtCtx.finalize(); in genFIRIncrementLoopBegin()
1289 Fortran::lower::StatementContext stmtCtx; in genFIRIncrementLoopBegin() local
1290 mlir::Value maskCond = createFIRExpr(loc, info.maskExpr, stmtCtx); in genFIRIncrementLoopBegin()
1291 stmtCtx.finalize(); in genFIRIncrementLoopBegin()
1455 Fortran::lower::StatementContext &stmtCtx = in genFIR() local
1458 return fir::getBase(genExprValue(e, stmtCtx)); in genFIR()
1483 Fortran::lower::StatementContext &stmtCtx = in genFIR() local
1486 return fir::getBase(genExprValue(e, stmtCtx)); in genFIR()
1538 genExprValue(*Fortran::semantics::GetExpr(mask.value()), stmtCtx); in genFIR()
1691 Fortran::lower::StatementContext stmtCtx; in genFIR() local
1697 fir::ExtendedValue exv = genExprAddr(*expr, stmtCtx, &loc); in genFIR()
1712 selector = createFIRExpr(loc, expr, stmtCtx); in genFIR()
1729 loc, selectType, createFIRExpr(toLocation(), expr, stmtCtx))); in genFIR()
1785 stmtCtx.finalize(); in genFIR()
1798 stmtCtx.finalize(); in genFIR()
1817 if (stmtCtx.workListIsEmpty() || skipFinalization) in genFIR()
1820 stmtCtx.finalize(); in genFIR()
1826 stmtCtx.finalizeAndKeep(); in genFIR()
1861 assert(stmtCtx.workListIsEmpty() && "statement context must be empty"); in genFIR()
1866 Fortran::lower::StatementContext &stmtCtx) { in genAssociateSelector() argument
1869 localSymbols, stmtCtx) in genAssociateSelector()
1870 : genExprAddr(selector, stmtCtx); in genAssociateSelector()
1874 Fortran::lower::StatementContext stmtCtx; in genFIR() local
1887 localSymbols.addSymbol(sym, genAssociateSelector(selector, stmtCtx)); in genFIR()
1892 stmtCtx.finalize(); in genFIR()
2102 Fortran::lower::StatementContext &stmtCtx) { in genInitializerExprValue() argument
2104 toLocation(), *this, expr, localSymbols, stmtCtx); in genInitializerExprValue()
2125 Fortran::lower::StatementContext &stmtCtx, in genArrayAssignment() argument
2133 localSymbols, stmtCtx); in genArrayAssignment()
2144 *lbounds, ubounds, localSymbols, stmtCtx); in genArrayAssignment()
2152 localSymbols, stmtCtx); in genArrayAssignment()
2188 Fortran::lower::StatementContext stmtCtx; in genAssignment() local
2221 genArrayAssignment(assign, stmtCtx); in genAssignment()
2229 ? genExprValue(assign.rhs, stmtCtx) in genAssignment()
2230 : genExprAddr(assign.rhs, stmtCtx); in genAssignment()
2249 return genExprAddr(assign.lhs, stmtCtx); in genAssignment()
2296 : stmtCtx; in genAssignment()
2319 fir::getBase(genExprValue(toEvExpr(lbExpr), stmtCtx))); in genAssignment()
2323 genArrayAssignment(assign, stmtCtx, lbounds); in genAssignment()
2328 lbounds, stmtCtx); in genAssignment()
2352 fir::getBase(genExprValue(toEvExpr(lbExpr), stmtCtx))); in genAssignment()
2354 fir::getBase(genExprValue(toEvExpr(ubExpr), stmtCtx))); in genAssignment()
2359 genArrayAssignment(assign, stmtCtx, lbounds, ubounds); in genAssignment()
2373 *this, assign.rhs, localSymbols, stmtCtx) in genAssignment()
2374 : genExprAddr(assign.rhs, stmtCtx); in genAssignment()
2458 Fortran::lower::StatementContext stmtCtx; in genFIR() local
2541 Fortran::lower::StatementContext stmtCtx; in genFIR() local
2546 loc, builder->getIndexType(), createFIRExpr(loc, expr, stmtCtx)); in genFIR()
2750 Fortran::lower::StatementContext stmtCtx; in startNewFunction() local
2752 stmtCtx, primaryFuncResultStorage); in startNewFunction()