| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | check-expression.h | 33 extern template bool IsConstantExpr(const Expr<SomeInteger> &); 43 extern template bool IsScopeInvariantExpr(const Expr<SomeInteger> &); 51 extern template bool IsActuallyConstant(const Expr<SomeInteger> &); 83 const Expr<SomeInteger> &x, const semantics::Scope &, FoldingContext &); 90 const std::optional<Expr<SomeInteger>> &x, const semantics::Scope &,
|
| H A D | variable.h | 263 std::optional<Expr<SomeInteger>> stat() const; 264 CoarrayRef &set_stat(Expr<SomeInteger> &&); 265 std::optional<Expr<SomeInteger>> team() const; 267 CoarrayRef &set_team(Expr<SomeInteger> &&, bool isTeamNumber = false); 281 std::optional<common::CopyableIndirection<Expr<SomeInteger>>> stat_, team_;
|
| H A D | fold.h | 95 std::optional<std::int64_t> ToInt64(const Expr<SomeInteger> &);
|
| H A D | type.h | 418 using SomeInteger = SomeKind<TypeCategory::Integer>; variable 424 using SomeCategory = std::tuple<SomeInteger, SomeReal, SomeComplex, 505 PREFIX<SomeInteger> SUFFIX; \
|
| H A D | expression.h | 328 struct RealToIntPower : public Operation<RealToIntPower<A>, A, A, SomeInteger> { 329 using Base = Operation<RealToIntPower, A, A, SomeInteger>; 332 using ExponentOperand = SomeInteger;
|
| H A D | tools.h | 982 const Expr<SomeInteger> &);
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | tools.cpp | 113 [&](Expr<SomeInteger> &&ix, in ConvertRealOperands() 123 [&](Expr<SomeInteger> &&ix, in ConvertRealOperands() 138 [&](Expr<SomeInteger> &&ix, in ConvertRealOperands() 192 Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in MixedRealLeft() 373 [](Expr<SomeInteger> &&ix, Expr<SomeInteger> &&iy) { in NumericOperation() 382 [](Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in NumericOperation() 385 [](Expr<SomeInteger> &&ix, Expr<SomeReal> &&ry) { in NumericOperation() 523 [=](Expr<SomeInteger> &&ix, in Relate() 531 [&](Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in Relate() 535 [&](Expr<SomeInteger> &&ix, Expr<SomeReal> &&ry) { in Relate() [all …]
|
| H A D | fold.cpp | 156 if (std::optional<Expr<SomeInteger>> stat{coarrayRef.stat()}) { in FoldOperation() 159 if (std::optional<Expr<SomeInteger>> team{coarrayRef.team()}) { in FoldOperation() 197 if (const auto *intExpr{UnwrapExpr<Expr<SomeInteger>>(arg)}) { in GetInt64Arg() 208 } else if (const auto *intExpr{UnwrapExpr<Expr<SomeInteger>>(arg)}) { in GetInt64ArgOr()
|
| H A D | check-expression.cpp | 152 template bool IsConstantExpr(const Expr<SomeInteger> &); 161 template bool IsScopeInvariantExpr(const Expr<SomeInteger> &); 191 template bool IsActuallyConstant(const Expr<SomeInteger> &); 681 const Expr<SomeInteger> &, const semantics::Scope &, FoldingContext &); 686 template void CheckSpecificationExpr(const std::optional<Expr<SomeInteger>> &,
|
| H A D | fold-integer.cpp | 533 if (const auto *cx{UnwrapExpr<Expr<SomeInteger>>(args[0])}) { in FoldIntrinsicFunction() 769 if (auto *sn{UnwrapExpr<Expr<SomeInteger>>(args[0])}) { in FoldIntrinsicFunction() 926 if (const auto *cx{UnwrapExpr<Expr<SomeInteger>>(args[0])}) { in FoldIntrinsicFunction() 1097 Expr<SomeInteger> intExpr{*paramExpr}; in FoldOperation() 1118 Expr<SomeInteger> expr{*initExpr}; in FoldOperation() 1129 Expr<SomeInteger>{value->GetExplicit().value()})))}; in FoldOperation() 1140 std::optional<std::int64_t> ToInt64(const Expr<SomeInteger> &expr) { in ToInt64() 1146 if (const auto *intExpr{UnwrapExpr<Expr<SomeInteger>>(expr)}) { in ToInt64() 1157 template class ExpressionBase<SomeInteger>;
|
| H A D | variable.cpp | 88 std::optional<Expr<SomeInteger>> CoarrayRef::stat() const { in stat() 96 std::optional<Expr<SomeInteger>> CoarrayRef::team() const { in team() 104 CoarrayRef &CoarrayRef::set_stat(Expr<SomeInteger> &&v) { in set_stat() 110 CoarrayRef &CoarrayRef::set_team(Expr<SomeInteger> &&v, bool isTeamNumber) { in set_team()
|
| H A D | fold-logical.cpp | 84 } else if (auto *x{UnwrapExpr<Expr<SomeInteger>>(args[i])}) { in FoldIntrinsicFunction() 124 if (const auto *ix{UnwrapExpr<Expr<SomeInteger>>(args[0])}) { in FoldIntrinsicFunction()
|
| H A D | call.cpp | 192 UnwrapExpr<Expr<SomeInteger>>(arguments_[1].value())}; in LEN()
|
| H A D | shape.cpp | 890 auto shapeArg{std::get<Expr<SomeInteger>>(shapeExpr->u)}; in operator ()() 905 UnwrapExpr<Expr<SomeInteger>>(call.arguments().at(2))}; in operator ()() 921 UnwrapExpr<Expr<SomeInteger>>(call.arguments().at(2))}) { in operator ()()
|
| H A D | fold-implementation.h | 543 if (const auto *someInteger{UnwrapExpr<Expr<SomeInteger>>(x)}) { in GetIntegerVector() 578 const auto *shiftExpr{UnwrapExpr<Expr<SomeInteger>>(args[1])}; in CSHIFT() 584 ConvertToType<SubscriptInteger>(Expr<SomeInteger>{*shiftExpr}))}; in CSHIFT() 656 const auto *shiftExpr{UnwrapExpr<Expr<SomeInteger>>(args[1])}; in EOSHIFT() 663 ConvertToType<SubscriptInteger>(Expr<SomeInteger>{*shiftExpr}))}; in EOSHIFT() 1095 auto &sx{DEREF(UnwrapExpr<Expr<SomeInteger>>(*resultTypeArg))}; in RewriteSpecificMINorMAX()
|
| H A D | fold-real.cpp | 233 if (const auto *byExpr{UnwrapExpr<Expr<SomeInteger>>(args[1])}) { in FoldIntrinsicFunction()
|
| H A D | intrinsics.cpp | 2344 if (const auto *intExpr{std::get_if<Expr<SomeInteger>>(&expr->u)}) { in CheckForNonPositiveValues()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | expression.cpp | 503 Expr<SomeInteger>{Expr<T>{Constant<T>{std::move(num.value)}}}}; in Test() 860 if (auto *intExpr{std::get_if<Expr<SomeInteger>>(&expr->u)}) { in GetSubstringBound() 969 if (auto *intExpr{std::get_if<Expr<SomeInteger>>(&expr->u)}) { in AsSubscript() 1225 if (auto *intExpr{UnwrapExpr<Expr<SomeInteger>>(coex)}) { in Analyze() 1348 Expr<SomeInteger> *intExpr{UnwrapExpr<Expr<SomeInteger>>(*y)}; in GetSpecificIntExpr() 1520 Expr<SomeInteger>{Expr<ImpliedDoIntType>{ImpliedDoIndex{anonymous}}}}); in Add() 3173 } else if (auto *intExpr{UnwrapExpr<Expr<SomeInteger>>(*kind)}) { in AnalyzeKindSelector()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | type.h | 44 using SomeIntExpr = evaluate::Expr<evaluate::SomeInteger>;
|