Home
last modified time | relevance | path

Searched refs:stmtCtx (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Lower/
H A DConvertExpr.h48 StatementContext &stmtCtx);
71 StatementContext &stmtCtx);
80 StatementContext &stmtCtx);
96 StatementContext &stmtCtx);
110 SymMap &symMap, StatementContext &stmtCtx);
123 StatementContext &stmtCtx);
131 StatementContext &stmtCtx);
175 StatementContext &stmtCtx);
186 StatementContext &stmtCtx);
193 StatementContext &stmtCtx);
[all …]
H A DAbstractConverter.h130 StatementContext &stmtCtx) { in genExprAddr() argument
131 return genExprAddr(*expr, stmtCtx, &loc); in genExprAddr()
134 StatementContext &stmtCtx) { in genExprAddr() argument
135 return genExprAddr(expr, stmtCtx, &loc); in genExprAddr()
145 StatementContext &stmtCtx) { in genExprValue() argument
146 return genExprValue(*expr, stmtCtx, &loc); in genExprValue()
149 StatementContext &stmtCtx) { in genExprValue() argument
150 return genExprValue(expr, stmtCtx, &loc); in genExprValue()
158 StatementContext &stmtCtx) = 0;
H A DIterationSpace.h186 StatementContext &stmtContext() { return stmtCtx; }
193 stmtCtx.finalize();
208 StatementContext stmtCtx;
365 StatementContext &stmtContext() { return stmtCtx; }
524 void finalizeContext() { stmtCtx.finalize(); }
552 StatementContext stmtCtx;
H A DAllocatable.h67 StatementContext &stmtCtx);
H A DCustomIntrinsicCall.h95 Fortran::lower::StatementContext &stmtCtx);
H A DVectorSubscripts.h148 Fortran::lower::StatementContext &stmtCtx,
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenACC.cpp214 Fortran::lower::StatementContext stmtCtx; in createLoopOp() local
379 Fortran::lower::StatementContext stmtCtx; in createParallelOp() local
391 addWaitAttr, stmtCtx); in createParallelOp()
549 Fortran::lower::StatementContext stmtCtx; in genACCDataOp() local
682 Fortran::lower::StatementContext stmtCtx; in genACCEnterDataOp() local
697 addWaitAttr, stmtCtx); in genACCEnterDataOp()
757 Fortran::lower::StatementContext stmtCtx; in genACCExitDataOp() local
772 addWaitAttr, stmtCtx); in genACCExitDataOp()
841 stmtCtx); in genACCInitShutdownOp()
886 addWaitAttr, stmtCtx); in genACCUpdateOp()
[all …]
H A DIO.cpp199 stmtCtx.finalizeAndPop(); in genEndIO()
672 Fortran::lower::StatementContext stmtCtx; in genIoLoop() local
1517 strTy, lenTy, stmtCtx); in getFormat()
1526 strTy, lenTy, stmtCtx); in getFormat()
1593 stmtCtx.pushScope(); in genIOUnitNumber()
1631 Fortran::lower::StatementContext stmtCtx; in genBasicIOStmt() local
1651 stmtCtx); in genBasicIOStmt()
1776 stmtCtx); in genWaitStatement()
1971 stmtCtx.finalize(); in genDataTransferStmt()
2117 stmtCtx)); in genInquireSpec()
[all …]
H A DCustomIntrinsicCall.cpp121 Fortran::lower::StatementContext &stmtCtx) { in lowerMinOrMax() argument
130 builder, loc, name, resultType, args, stmtCtx)); in lowerMinOrMax()
146 resultType, args, stmtCtx); in lowerMinOrMax()
157 builder, loc, name, resultType, args, stmtCtx)); in lowerMinOrMax()
192 Fortran::lower::StatementContext &stmtCtx) { in lowerIshftc() argument
218 stmtCtx); in lowerIshftc()
245 Fortran::lower::StatementContext &stmtCtx) { in lowerCustomIntrinsic() argument
248 numOperands, stmtCtx); in lowerCustomIntrinsic()
251 numOperands, stmtCtx); in lowerCustomIntrinsic()
H A DBridge.cpp537 stmtCtx.finalize(); in copyHostAssociateVar()
778 stmtCtx.finalize(); in genFIRConditionalBranch()
787 stmtCtx.finalize(); in genFIRConditionalBranch()
877 stmtCtx); in genIfCondition()
878 stmtCtx.finalize(); in genIfCondition()
922 stmtCtx.finalize(); in genFIR()
934 stmtCtx.finalize(); in genFIR()
954 stmtCtx); in genFIR()
955 stmtCtx.finalize(); in genFIR()
1291 stmtCtx.finalize(); in genFIRIncrementLoopBegin()
[all …]
H A DConvertVariable.cpp163 Fortran::lower::StatementContext stmtCtx; in genExtAddrInInitializer() local
185 Fortran::lower::StatementContext stmtCtx; in genInitialDataTarget() local
265 Fortran::lower::StatementContext &stmtCtx) { in genDefaultInitializerValue() argument
531 Fortran::lower::StatementContext stmtCtx; in instantiateGlobal() local
611 Fortran::lower::StatementContext stmtCtx; in instantiateLocal() local
699 Fortran::lower::StatementContext stmtCtx; in defineGlobalAggregateStore() local
803 Fortran::lower::StatementContext stmtCtx; in instantiateAlias() local
996 Fortran::lower::StatementContext stmtCtx; in finalizeCommonBlockDefinition() local
1072 Fortran::lower::StatementContext stmtCtx; in instantiateCommon() local
1119 Fortran::lower::StatementContext &stmtCtx) { in lowerExplicitLowerBounds() argument
[all …]
H A DAllocatable.cpp58 Fortran::lower::StatementContext stmtCtx; in init() local
62 ? fir::getBase(converter.genExprAddr(loc, statExpr, stmtCtx)) in init()
67 converter.genExprAddr(loc, errMsgExpr, stmtCtx)) in init()
336 Fortran::lower::StatementContext stmtCtx; in genInlinedAllocation() local
347 loc, Fortran::semantics::GetExpr(*lbExpr), stmtCtx)); in genInlinedAllocation()
401 Fortran::lower::StatementContext stmtCtx; in genSimpleAllocation() local
408 loc, Fortran::semantics::GetExpr(*lbExpr), stmtCtx)); in genSimpleAllocation()
412 loc, Fortran::semantics::GetExpr(std::get<1>(bounds)), stmtCtx)); in genSimpleAllocation()
439 Fortran::lower::StatementContext stmtCtx; in lowerAllocateLengthParameters() local
442 fir::getBase(converter.genExprValue(loc, lenExpr, stmtCtx))); in lowerAllocateLengthParameters()
[all …]
H A DOpenMP.cpp517 Fortran::lower::StatementContext stmtCtx; in genAllocateClause() local
601 Fortran::lower::StatementContext &stmtCtx, in getIfClauseOperand() argument
624 Fortran::lower::StatementContext stmtCtx; in createCombinedParallelOp() local
673 Fortran::lower::StatementContext stmtCtx; in genOMP() local
910 Fortran::lower::StatementContext stmtCtx; in genOMP() local
943 Fortran::lower::StatementContext stmtCtx; in genOMP() local
945 *Fortran::semantics::GetExpr(bounds->lower), stmtCtx))); in genOMP()
947 *Fortran::semantics::GetExpr(bounds->upper), stmtCtx))); in genOMP()
1306 Fortran::lower::StatementContext stmtCtx; in genOmpAtomicUpdateStatement() local
1373 Fortran::lower::StatementContext stmtCtx; in genOmpAtomicWrite() local
[all …]
H A DVectorSubscripts.cpp29 Fortran::lower::StatementContext &stmtCtx) in VectorSubscriptBoxBuilder() argument
30 : converter{converter}, stmtCtx{stmtCtx}, loc{loc} {} in VectorSubscriptBoxBuilder()
162 loweredBase = converter.genExprAddr(baseExpr, stmtCtx); in genRankedArrayRefSubscriptAndBase()
180 ignoreEvConvert(expr.value()), stmtCtx); in genRankedArrayRefSubscriptAndBase()
220 return fir::getBase(converter.genExprValue(toEvExpr(expr), stmtCtx)); in genScalarValue()
237 Fortran::lower::StatementContext &stmtCtx; member in __anon94fef3ca0111::VectorSubscriptBoxBuilder
250 Fortran::lower::StatementContext &stmtCtx, in genVectorSubscriptBox() argument
252 return VectorSubscriptBoxBuilder(loc, converter, stmtCtx).gen(expr); in genVectorSubscriptBox()
H A DConvertExpr.cpp643 builder{converter.getFirOpBuilder()}, stmtCtx{stmtCtx}, symMap{symMap},
3902 stmtCtx.pushScope(); in lowerLazyArrayExpression()
3904 stmtCtx.finalizeAndPop(); in lowerLazyArrayExpression()
4735 stmtCtx.attachCleanup( in createAndLoadSomeArrayTemp()
4799 stmtCtx.pushScope(); in getElementCtx()
4802 return stmtCtx; in getElementCtx()
6553 stmtCtx.pushScope(); in genArrayCtorInitializer()
6661 stmtCtx.attachCleanup( in genarr()
7312 stmtCtx{stmtCtx}, symMap{symMap} {}
7319 stmtCtx{stmtCtx}, symMap{symMap}, semant{sem} {}
[all …]
H A DIntrinsicCall.cpp157 assert(stmtCtx); in genFuncDim()
160 stmtCtx->attachCleanup( in genFuncDim()
166 assert(stmtCtx); in genFuncDim()
169 stmtCtx->attachCleanup( in genFuncDim()
295 assert(stmtCtx); in genExtremumVal()
298 stmtCtx->attachCleanup( in genExtremumVal()
364 assert(stmtCtx); in genExtremumloc()
366 stmtCtx->attachCleanup( in genExtremumloc()
400 assert(stmtCtx); in genExtremumloc()
418 : builder{builder}, loc{loc}, stmtCtx{stmtCtx} {} in IntrinsicLibrary()
[all …]
H A DRuntime.cpp47 Fortran::lower::StatementContext stmtCtx; in genStopStatement() local
55 converter.genExprValue(*Fortran::semantics::GetExpr(*code), stmtCtx); in genStopStatement()
99 mlir::Value q = fir::getBase(converter.genExprValue(*expr, stmtCtx)); in genStopStatement()