Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dvariable.cpp165 std::optional<Expr<SomeCharacter>> Substring::Fold(FoldingContext &context) { in Fold()
192 std::optional<Expr<SomeCharacter>> strings; // a Constant<Character> in Fold()
197 Expr<SomeCharacter>(Expr<Ascii>(Constant<Ascii>{std::move(*str)})); in Fold()
203 if (const auto *value{UnwrapExpr<Expr<SomeCharacter>>(folded)}) { in Fold()
209 std::optional<Expr<SomeCharacter>> result; in Fold()
212 [&](const auto &expr) -> std::optional<Expr<SomeCharacter>> { in Fold()
216 return Expr<SomeCharacter>{Expr<Type>{*substr}}; in Fold()
264 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(assoc->expr())}) { in SymbolLEN()
H A Dexpression.cpp214 bool Expr<SomeCharacter>::operator==(const Expr<SomeCharacter> &that) const { in operator ==()
317 int Expr<SomeCharacter>::GetKind() const { in GetKind()
323 std::optional<Expr<SubscriptInteger>> Expr<SomeCharacter>::LEN() const { in LEN()
H A Dfold-character.cpp17 if (auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(expr)}) { in GetConstantLength()
146 template class ExpressionBase<SomeCharacter>;
H A Dfold-logical.cpp188 auto *cx0{UnwrapExpr<Expr<SomeCharacter>>(args[0])}; in FoldIntrinsicFunction()
189 auto *cx1{UnwrapExpr<Expr<SomeCharacter>>(args[1])}; in FoldIntrinsicFunction()
H A Dcall.cpp190 UnwrapExpr<Expr<SomeCharacter>>(arguments_[0].value())}; in LEN()
H A Dtools.cpp484 [&](Expr<SomeCharacter> &&) { in Negation() argument
566 [&](Expr<SomeCharacter> &&cx, Expr<SomeCharacter> &&cy) { in Relate()
641 if (auto *cx{UnwrapExpr<Expr<SomeCharacter>>(x)}) { in ConvertToType()
649 return Expr<SomeCharacter>{ in ConvertToType()
H A Dfold-integer.cpp583 auto *someChar{UnwrapExpr<Expr<SomeCharacter>>(args[0])}; in FoldIntrinsicFunction()
669 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()
799 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()
817 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()
H A Dfold-designator.cpp329 std::get_if<Expr<SomeCharacter>>(&result->u)}) { in OffsetToDesignator()
H A Dcharacteristics.cpp127 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(assoc.expr())}) { in Characterize()
H A Dfold-implementation.h339 if (std::optional<Expr<SomeCharacter>> folded{ in Folding()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtype.h421 using SomeCharacter = SomeKind<TypeCategory::Character>; variable
425 SomeCharacter, SomeLogical, SomeDerived>;
508 PREFIX<SomeCharacter> SUFFIX; \
H A Dexpression.h768 template <> class Expr<SomeCharacter> : public ExpressionBase<SomeCharacter> {
770 using Result = SomeCharacter;
H A Dcharacteristics.h103 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(x)}) { in Characterize()
H A Dvariable.h339 std::optional<Expr<SomeCharacter>> Fold(FoldingContext &);
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp225 std::get<evaluate::Expr<evaluate::SomeCharacter>>(expr.u).LEN(); in GetType()
H A Dexpression.cpp914 if (auto *charExpr{std::get_if<Expr<SomeCharacter>>(&string->u)}) { in Analyze()
1425 if (Expr<SomeCharacter> * charExpr{UnwrapExpr<Expr<SomeCharacter>>(*x)}) { in Push()
2841 std::move(std::get<Expr<SomeCharacter>>(analyzer.MoveExpr(0).u).u), in Analyze()
2842 std::move(std::get<Expr<SomeCharacter>>(analyzer.MoveExpr(1).u).u)); in Analyze()
H A Dresolve-names.cpp6294 evaluate::UnwrapExpr<evaluate::Expr<evaluate::SomeCharacter>>( in SetTypeFromAssociation()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp397 std::get<Fortran::evaluate::Expr<Fortran::evaluate::SomeCharacter>>( in getCharacterLength()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DBoxAnalyzer.h501 Fortran::evaluate::Expr<Fortran::evaluate::SomeCharacter>>( in charLenVariable()