Home
last modified time | relevance | path

Searched refs:GetExpr (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenACC.cpp143 *Fortran::semantics::GetExpr(*asyncClauseValue), stmtCtx)); in genAsyncClause()
178 *Fortran::semantics::GetExpr(ifClause->v), stmtCtx)); in genIfClause()
203 *Fortran::semantics::GetExpr(*waitDevnumValue), stmtCtx)); in genWaitClause()
241 *Fortran::semantics::GetExpr(*expr), stmtCtx)); in createLoopOp()
255 *Fortran::semantics::GetExpr(*workerClause->v), stmtCtx)); in createLoopOp()
262 *Fortran::semantics::GetExpr(*vectorClause->v), stmtCtx)); in createLoopOp()
274 *Fortran::semantics::GetExpr(*expr), stmtCtx))); in createLoopOp()
396 *Fortran::semantics::GetExpr(numGangsClause->v), stmtCtx)); in createParallelOp()
401 *Fortran::semantics::GetExpr(numWorkersClause->v), stmtCtx)); in createParallelOp()
420 *Fortran::semantics::GetExpr(*optCondition), stmtCtx)); in createParallelOp()
[all …]
H A DAllocatable.cpp223 const Fortran::lower::SomeExpr *expr = Fortran::semantics::GetExpr(allocObj); in genMutableBoxValue()
286 statExpr = Fortran::semantics::GetExpr(statVar); in visitAllocateOptions()
289 errMsgExpr = Fortran::semantics::GetExpr(errMsgVar); in visitAllocateOptions()
295 sourceExpr = Fortran::semantics::GetExpr(source.v.value()); in visitAllocateOptions()
298 moldExpr = Fortran::semantics::GetExpr(mold.v.value()); in visitAllocateOptions()
347 loc, Fortran::semantics::GetExpr(*lbExpr), stmtCtx)); in genInlinedAllocation()
355 loc, Fortran::semantics::GetExpr(std::get<1>(shapeSpec.t)), stmtCtx)); in genInlinedAllocation()
408 loc, Fortran::semantics::GetExpr(*lbExpr), stmtCtx)); in genSimpleAllocation()
412 loc, Fortran::semantics::GetExpr(std::get<1>(bounds)), stmtCtx)); in genSimpleAllocation()
535 statExpr = Fortran::semantics::GetExpr(statVar); in genDeallocateStmt()
[all …]
H A DOpenMP.cpp35 const auto *expr = Fortran::semantics::GetExpr(collapseClause->v); in getCollapseValue()
530 *Fortran::semantics::GetExpr(allocatorValue->v), stmtCtx)); in genAllocateClause()
729 *Fortran::semantics::GetExpr(finalClause->v), stmtCtx)); in genOMP()
740 *Fortran::semantics::GetExpr(priorityClause->v), stmtCtx)); in genOMP()
945 *Fortran::semantics::GetExpr(bounds->lower), stmtCtx))); in genOMP()
947 *Fortran::semantics::GetExpr(bounds->upper), stmtCtx))); in genOMP()
950 *Fortran::semantics::GetExpr(bounds->step), stmtCtx))); in genOMP()
1156 const auto *expr = Fortran::semantics::GetExpr(hintClause->v); in genOMP()
1351 *Fortran::semantics::GetExpr(assignmentStmtExpr), stmtCtx)); in genOmpAtomicUpdateStatement()
1375 *Fortran::semantics::GetExpr(assignmentStmtExpr), stmtCtx)); in genOmpAtomicWrite()
[all …]
H A DBridge.cpp73 upperExpr{Fortran::semantics::GetExpr(upper)},
875 Fortran::semantics::GetExpr( in genIfCondition()
931 Fortran::semantics::GetExpr( in genFIR()
1058 info.maskExpr = Fortran::semantics::GetExpr(
1463 Fortran::semantics::GetExpr(std::get<1>(ctrl.t)); in genFIR()
1724 Fortran::semantics::GetExpr(caseValue.thing); in genFIR()
2075 Fortran::semantics::GetExpr(pointerObject); in genFIR()
2426 implicitIterSpace.append(Fortran::semantics::GetExpr( in genFIR()
2439 implicitIterSpace.append(Fortran::semantics::GetExpr( in genFIR()
2461 implicitIterSpace.append(Fortran::semantics::GetExpr( in genFIR()
[all …]
H A DIO.cpp479 const auto *expr = Fortran::semantics::GetExpr(pExpr); in genOutputItemList()
625 const auto *expr = Fortran::semantics::GetExpr(pVar); in genInputItemList()
838 auto *expr = Fortran::semantics::GetExpr(syntax);
1138 return Fortran::semantics::GetExpr(f->v); in getExpr()
1199 ioMsgExpr = Fortran::semantics::GetExpr( in lowerErrorSpec()
1264 auto *expr = Fortran::semantics::GetExpr(*e); in formatIsActuallyNamelist()
1488 auto e = Fortran::semantics::GetExpr(*pExpr); in genFormat()
2044 const auto *varExpr = Fortran::semantics::GetExpr( in genInquireSpec()
2074 const auto *varExpr = Fortran::semantics::GetExpr( in genInquireSpec()
2114 Fortran::semantics::GetExpr( in genInquireSpec()
[all …]
H A DRuntime.cpp55 converter.genExprValue(*Fortran::semantics::GetExpr(*code), stmtCtx); in genStopStatement()
97 const SomeExpr *expr = Fortran::semantics::GetExpr(*quiet); in genStopStatement()
H A DPFTBuilder.cpp575 if (semantics::ExprHasTypeCategory(*semantics::GetExpr(*expr), in analyzeIoBranches()
1787 if (const auto *expr = Fortran::semantics::GetExpr(nullptr, x)) in Pre()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-arithmeticif.cpp28 if (const auto *expr{GetExpr(context_, parsedExpr)}) { in Leave()
H A Dcheck-stop.cpp21 if (const auto *expr{GetExpr(context_, stopCode)}) { in Enter()
H A Dcheck-deallocate.cpp39 if (GetExpr(context_, allocateObject)) { in Leave()
H A Dcheck-nullify.cpp44 if (const auto *checkedExpr{GetExpr(context_, pointerObject)}) { in Leave()
H A Ddata-to-inits.cpp45 const SomeExpr *operator*() const { return GetExpr(context_, GetConstant()); } in operator *()
143 if (const auto *expr{GetExpr(exprAnalyzer_.context(), var)}) { in Scan()
170 GetExpr(exprAnalyzer_.context(), bounds.lower.thing.thing)}; in Scan()
172 GetExpr(exprAnalyzer_.context(), bounds.upper.thing.thing)}; in Scan()
174 ? GetExpr(exprAnalyzer_.context(), bounds.step->thing.thing) in Scan()
H A Dcheck-select-rank.cpp126 return common::visit([](const auto &x) { return GetExpr(x); }, selector.u); in GetExprFromSelector()
H A Dcheck-io.cpp220 const SomeExpr *expr{GetExpr(context_, format)}; in Enter()
310 const auto *expr{GetExpr(context_, spec)}; in Enter()
555 if (const auto *expr{GetExpr(context_, *var)}) { in Enter()
586 if (const auto *expr{GetExpr(context_, *x)}) { in Enter()
H A Dcheck-io.h90 if (const SomeExpr * expr{GetExpr(context_, x)}) { in ENUM_CLASS()
H A Dcheck-coarray.cpp67 if (const auto *expr{GetExpr(context, x)}) { in CheckTeamType()
H A Dcheck-do-forall.cpp505 if (const SomeExpr * expr{GetExpr(context_, scalarExpression)}) { in CheckDoExpression()
576 if (const auto *expr{GetExpr(context_, expression)}) { in GatherSymbolsFromExpression()
1026 if (const SomeExpr * expr{GetExpr(context_, parsedExpr)}) { in Leave()
H A Dassignment.cpp252 CheckShape(expr.thing.value().source, GetExpr(context_, expr)); in PushWhereContext()
H A Dcheck-case.cpp244 const auto *x{GetExpr(context_, selectExpr)}; in Enter()
H A Dcheck-select-type.cpp271 return common::visit([](const auto &x) { return GetExpr(x); }, selector.u); in GetExprFromSelector()
H A Dcheck-allocate.cpp190 if (const auto *expr{GetExpr(context, DEREF(parserSourceExpr))}) { in CheckAllocateOptions()
H A Dcheck-omp-structure.cpp53 const auto *lhs{GetExpr(context_, var)}; in Pre()
54 const auto *rhs{GetExpr(context_, expr)}; in Pre()
68 if (const auto *e{GetExpr(context_, expr)}) { in Pre()
1556 if (const auto *e{GetExpr(context_, expr)}) { in CheckAtomicUpdateAssignmentStmt()
H A Dexpression.cpp127 const Expr<SomeType> &GetExpr(std::size_t i) const { in GetExpr() function in Fortran::evaluate::ArgumentAnalyzer
183 return evaluate::IsBOZLiteral(GetExpr(i)); in IsBOZLiteral()
3568 const Expr<SomeType> &lhs{GetExpr(0)}; in TryDefinedAssignment()
3569 const Expr<SomeType> &rhs{GetExpr(1)}; in TryDefinedAssignment()
H A Dtools.cpp1027 if (const auto *expr{GetExpr(nullptr, expression)}) { in HasCoarray()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtools.h301 const SomeExpr *GetExpr(SemanticsContext *context, const T &x) { in GetExpr() function
305 const SomeExpr *GetExpr(SemanticsContext &context, const T &x) { in GetExpr() function
308 template <typename T> const SomeExpr *GetExpr(const T &x) { in GetExpr() function
317 if (const auto *expr{GetExpr(nullptr, x)}) { in GetIntValue()

12