| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | OpenACC.cpp | 143 *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 D | Allocatable.cpp | 223 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 D | OpenMP.cpp | 35 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 D | Bridge.cpp | 73 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 D | IO.cpp | 479 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 D | Runtime.cpp | 55 converter.genExprValue(*Fortran::semantics::GetExpr(*code), stmtCtx); in genStopStatement() 97 const SomeExpr *expr = Fortran::semantics::GetExpr(*quiet); in genStopStatement()
|
| H A D | PFTBuilder.cpp | 575 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 D | check-arithmeticif.cpp | 28 if (const auto *expr{GetExpr(context_, parsedExpr)}) { in Leave()
|
| H A D | check-stop.cpp | 21 if (const auto *expr{GetExpr(context_, stopCode)}) { in Enter()
|
| H A D | check-deallocate.cpp | 39 if (GetExpr(context_, allocateObject)) { in Leave()
|
| H A D | check-nullify.cpp | 44 if (const auto *checkedExpr{GetExpr(context_, pointerObject)}) { in Leave()
|
| H A D | data-to-inits.cpp | 45 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 D | check-select-rank.cpp | 126 return common::visit([](const auto &x) { return GetExpr(x); }, selector.u); in GetExprFromSelector()
|
| H A D | check-io.cpp | 220 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 D | check-io.h | 90 if (const SomeExpr * expr{GetExpr(context_, x)}) { in ENUM_CLASS()
|
| H A D | check-coarray.cpp | 67 if (const auto *expr{GetExpr(context, x)}) { in CheckTeamType()
|
| H A D | check-do-forall.cpp | 505 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 D | assignment.cpp | 252 CheckShape(expr.thing.value().source, GetExpr(context_, expr)); in PushWhereContext()
|
| H A D | check-case.cpp | 244 const auto *x{GetExpr(context_, selectExpr)}; in Enter()
|
| H A D | check-select-type.cpp | 271 return common::visit([](const auto &x) { return GetExpr(x); }, selector.u); in GetExprFromSelector()
|
| H A D | check-allocate.cpp | 190 if (const auto *expr{GetExpr(context, DEREF(parserSourceExpr))}) { in CheckAllocateOptions()
|
| H A D | check-omp-structure.cpp | 53 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 D | expression.cpp | 127 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 D | tools.cpp | 1027 if (const auto *expr{GetExpr(nullptr, expression)}) { in HasCoarray()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | tools.h | 301 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()
|