| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | expression.cpp | 110 DynamicType Parentheses<SomeDerived>::GetType() const { in GetType() 152 bool ArrayConstructor<SomeDerived>::operator==( in operator ==() 210 bool Expr<SomeDerived>::operator==(const Expr<SomeDerived> &that) const { in operator ==() 241 Constant<SomeDerived> constResult{std::move(structureConstructor)}; in CreateParentComponent() 242 Expr<SomeDerived> result{std::move(constResult)}; in CreateParentComponent() 280 if (const Expr<SomeDerived> *derivedExpr{ in Find() 281 std::get_if<Expr<SomeDerived>>(&parentExpr->u)}) { in Find() 282 if (const Constant<SomeDerived> *constExpr{ in Find() 283 std::get_if<Constant<SomeDerived>>(&derivedExpr->u)}) { in Find()
|
| H A D | constant.cpp | 312 Constant<SomeDerived>::Constant(const StructureConstructor &x) in Constant() 315 Constant<SomeDerived>::Constant(StructureConstructor &&x) in Constant() 318 Constant<SomeDerived>::Constant(const semantics::DerivedTypeSpec &spec, in Constant() 331 Constant<SomeDerived>::Constant(const semantics::DerivedTypeSpec &spec, in Constant() 336 Constant<SomeDerived>::GetScalarValue() const { in GetScalarValue() 344 StructureConstructor Constant<SomeDerived>::At( in At() 349 auto Constant<SomeDerived>::Reshape(ConstantSubscripts &&dims) const in Reshape() 354 std::size_t Constant<SomeDerived>::CopyFrom(const Constant<SomeDerived> &source, in CopyFrom()
|
| H A D | fold.cpp | 67 Expr<SomeDerived> FoldOperation( in FoldOperation() 97 return Expr<SomeDerived>{Constant<SomeDerived>{std::move(ctor)}}; in FoldOperation() 99 return Expr<SomeDerived>{std::move(ctor)}; in FoldOperation() 276 template class ExpressionBase<SomeDerived>;
|
| H A D | fold-implementation.h | 55 std::optional<Constant<T>> ApplyComponent(Constant<SomeDerived> &&, 136 Expr<SomeDerived> FoldOperation(FoldingContext &, StructureConstructor &&); 244 } else if constexpr (std::is_same_v<T, SomeDerived>) { in ApplySubscripts() 254 Constant<SomeDerived> &&structures, const Symbol &component, in ApplyComponent() 313 if (std::optional<Constant<SomeDerived>> structures{common::visit( in GetConstantComponent() 316 return Folder<SomeDerived>{context_}.GetNamedConstant(symbol); in GetConstantComponent() 319 return Folder<SomeDerived>{context_}.Folding(aRef); in GetConstantComponent() 325 return std::optional<Constant<SomeDerived>>{}; in GetConstantComponent() 1141 if constexpr (!std::is_same_v<T, SomeDerived>) { in FoldOperation() 1170 if constexpr (std::is_same_v<T, SomeDerived>) { in FoldArray() [all …]
|
| H A D | initial-image.cpp | 17 const Constant<SomeDerived> &x, FoldingContext &context) -> Result { in Add()
|
| H A D | formatting.cpp | 429 llvm::raw_ostream &ArrayConstructor<SomeDerived>::AsFortran( in AsFortran() 513 std::string SomeDerived::AsFortran() const { in AsFortran()
|
| H A D | tools.cpp | 48 } else if constexpr (std::is_same_v<T, Expr<SomeDerived>>) { in Parenthesize() 49 return AsGenericExpr(Parentheses<SomeDerived>{std::move(x)}); in Parenthesize() 494 [&](Expr<SomeDerived> &&) { in Negation() argument
|
| H A D | check-expression.cpp | 82 bool operator()(const Constant<SomeDerived> &) const { return true; } in operator ()()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | constant.h | 209 class Constant<SomeDerived> 210 : public ConstantBase<SomeDerived, StructureConstructorValues> { 212 using Result = SomeDerived; 214 using Base = ConstantBase<SomeDerived, StructureConstructorValues>; 233 extern template class ConstantBase<SomeDerived, StructureConstructorValues>; 238 template class ConstantBase<SomeDerived, StructureConstructorValues>; \
|
| H A D | expression.h | 233 struct Parentheses<SomeDerived> 234 : public Operation<Parentheses<SomeDerived>, SomeDerived, SomeDerived> { 236 using Result = SomeDerived; 237 using Operand = SomeDerived; 238 using Base = Operation<Parentheses, SomeDerived, SomeDerived>; 493 class ArrayConstructor<SomeDerived> 494 : public ArrayConstructorValues<SomeDerived> { 496 using Result = SomeDerived; 704 using Result = SomeDerived; 747 template <> class Expr<SomeDerived> : public ExpressionBase<SomeDerived> { [all …]
|
| H A D | type.h | 423 using SomeDerived = SomeKind<TypeCategory::Derived>; variable 425 SomeCharacter, SomeLogical, SomeDerived>; 428 common::CombineTuples<AllIntrinsicTypes, std::tuple<SomeDerived>>; 502 PREFIX<SomeDerived> SUFFIX; 510 PREFIX<SomeDerived> SUFFIX; \
|
| H A D | fold.h | 60 if constexpr (!std::is_same_v<T, SomeDerived>) {
|
| H A D | initial-image.h | 92 Result Add(ConstantSubscript, std::size_t, const Constant<SomeDerived> &,
|
| H A D | tools.h | 51 std::is_same_v<T, SomeDerived>) { in operator() 851 return AsGenericExpr(Expr<SomeDerived>{WRAPPER<SomeDerived>{std::move(x)}}); in TypedWrapper() 873 std::is_same_v<T, SomeDerived>) { in operator()
|
| H A D | variable.h | 387 IsSpecificIntrinsicType<Result> || std::is_same_v<Result, SomeDerived>);
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | runtime-type-info.cpp | 240 return SomeExpr{evaluate::Expr<evaluate::SomeDerived>{std::move(x)}}; in StructureExpr() 316 evaluate::AsGenericExpr(evaluate::Constant<evaluate::SomeDerived>{ in SaveDerivedPointerTarget() 324 evaluate::Designator<evaluate::SomeDerived>{symbol}); in SaveDerivedPointerTarget() 337 evaluate::Designator<evaluate::SomeDerived>{symbol}); in SaveObjectInit() 456 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeType() 457 evaluate::Designator<evaluate::SomeDerived>{ in DescribeType() 759 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeComponent() 760 evaluate::Designator<evaluate::SomeDerived>{ in DescribeComponent()
|
| H A D | expression.cpp | 1073 static NamedEntity IgnoreAnySubscripts(Designator<SomeDerived> &&designator) { in IgnoreAnySubscripts() 1124 if (auto *dtExpr{UnwrapExpr<Expr<SomeDerived>>(*base)}) { in Analyze() 1127 if (auto *designator{UnwrapExpr<Designator<SomeDerived>>(*dtExpr)}) { in Analyze() 1907 return AsMaybeExpr(Expr<SomeDerived>{std::move(result)}); in Analyze() 1947 static void AddPassArg(ActualArguments &actuals, const Expr<SomeDerived> &expr, in AddPassArg() 2003 if (auto *dtExpr{UnwrapExpr<Expr<SomeDerived>>(*base)}) { in AnalyzeProcedureComponentRef() 2038 Expr<SomeDerived>{Designator<SomeDerived>{std::move(*dataRef)}}, in AnalyzeProcedureComponentRef()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | Mangler.h | 87 const Fortran::evaluate::Constant<Fortran::evaluate::SomeDerived> &x) { in mangleArrayLiteral()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 1697 const Fortran::evaluate::Constant<Fortran::evaluate::SomeDerived> &con) { in genArrayLit() 1742 const Fortran::evaluate::Constant<Fortran::evaluate::SomeDerived> &con) { in genval()
|