Home
last modified time | relevance | path

Searched refs:SomeInteger (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcheck-expression.h33 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 Dvariable.h263 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 Dfold.h95 std::optional<std::int64_t> ToInt64(const Expr<SomeInteger> &);
H A Dtype.h418 using SomeInteger = SomeKind<TypeCategory::Integer>; variable
424 using SomeCategory = std::tuple<SomeInteger, SomeReal, SomeComplex,
505 PREFIX<SomeInteger> SUFFIX; \
H A Dexpression.h328 struct RealToIntPower : public Operation<RealToIntPower<A>, A, A, SomeInteger> {
329 using Base = Operation<RealToIntPower, A, A, SomeInteger>;
332 using ExponentOperand = SomeInteger;
H A Dtools.h982 const Expr<SomeInteger> &);
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp113 [&](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 Dfold.cpp156 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 Dcheck-expression.cpp152 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 Dfold-integer.cpp533 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 Dvariable.cpp88 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 Dfold-logical.cpp84 } 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 Dcall.cpp192 UnwrapExpr<Expr<SomeInteger>>(arguments_[1].value())}; in LEN()
H A Dshape.cpp890 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 Dfold-implementation.h543 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 Dfold-real.cpp233 if (const auto *byExpr{UnwrapExpr<Expr<SomeInteger>>(args[1])}) { in FoldIntrinsicFunction()
H A Dintrinsics.cpp2344 if (const auto *intExpr{std::get_if<Expr<SomeInteger>>(&expr->u)}) { in CheckForNonPositiveValues()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dexpression.cpp503 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 Dtype.h44 using SomeIntExpr = evaluate::Expr<evaluate::SomeInteger>;