Searched refs:SomeDerived (Results 1 – 17 of 17) sorted by relevance
/external/llvm-project/flang/lib/Evaluate/ |
D | expression.cpp | 142 bool ArrayConstructor<SomeDerived>::operator==( in operator ==() 200 bool Expr<SomeDerived>::operator==(const Expr<SomeDerived> &that) const { in operator ==() 231 Constant<SomeDerived> constResult{std::move(structureConstructor)}; in CreateParentComponent() 232 Expr<SomeDerived> result{std::move(constResult)}; in CreateParentComponent() 270 if (const Expr<SomeDerived> *derivedExpr{ in Find() 271 std::get_if<Expr<SomeDerived>>(&parentExpr->u)}) { in Find() 272 if (const Constant<SomeDerived> *constExpr{ in Find() 273 std::get_if<Constant<SomeDerived>>(&derivedExpr->u)}) { in Find()
|
D | constant.cpp | 270 Constant<SomeDerived>::Constant(const StructureConstructor &x) in Constant() 273 Constant<SomeDerived>::Constant(StructureConstructor &&x) in Constant() 276 Constant<SomeDerived>::Constant(const semantics::DerivedTypeSpec &spec, in Constant() 289 Constant<SomeDerived>::Constant(const semantics::DerivedTypeSpec &spec, in Constant() 294 Constant<SomeDerived>::GetScalarValue() const { in GetScalarValue() 302 StructureConstructor Constant<SomeDerived>::At( in At() 307 auto Constant<SomeDerived>::Reshape(ConstantSubscripts &&dims) const in Reshape() 312 std::size_t Constant<SomeDerived>::CopyFrom(const Constant<SomeDerived> &source, in CopyFrom()
|
D | fold.cpp | 58 Expr<SomeDerived> FoldOperation( in FoldOperation() 84 return Expr<SomeDerived>{Constant<SomeDerived>{std::move(ctor)}}; in FoldOperation() 86 return Expr<SomeDerived>{std::move(ctor)}; in FoldOperation() 210 template class ExpressionBase<SomeDerived>;
|
D | fold-implementation.h | 55 std::optional<Constant<T>> ApplyComponent(Constant<SomeDerived> &&, 141 Expr<SomeDerived> FoldOperation(FoldingContext &, StructureConstructor &&); 230 } else if constexpr (std::is_same_v<T, SomeDerived>) { in ApplySubscripts() 240 Constant<SomeDerived> &&structures, const Symbol &component, in ApplyComponent() 299 if (std::optional<Constant<SomeDerived>> structures{std::visit( in GetConstantComponent() 302 return Folder<SomeDerived>{context_}.GetNamedConstant(symbol); in GetConstantComponent() 305 return Folder<SomeDerived>{context_}.Folding(aRef); in GetConstantComponent() 308 return Folder<SomeDerived>{context_}.GetConstantComponent(base); in GetConstantComponent() 311 return std::optional<Constant<SomeDerived>>{}; in GetConstantComponent() 684 if constexpr (!std::is_same_v<T, SomeDerived>) { in FoldOperation() [all …]
|
D | initial-image.cpp | 17 const Constant<SomeDerived> &x) -> Result { in Add()
|
D | formatting.cpp | 424 llvm::raw_ostream &ArrayConstructor<SomeDerived>::AsFortran( in AsFortran() 506 std::string SomeDerived::AsFortran() const { in AsFortran()
|
D | check-expression.cpp | 79 bool operator()(const Constant<SomeDerived> &) const { return true; } in operator ()()
|
D | tools.cpp | 27 std::is_same_v<T, Expr<SomeDerived>>) { in Parenthesize() 446 [&](Expr<SomeDerived> &&) { in Negation() argument
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | constant.h | 201 class Constant<SomeDerived> 202 : public ConstantBase<SomeDerived, StructureConstructorValues> { 204 using Result = SomeDerived; 206 using Base = ConstantBase<SomeDerived, StructureConstructorValues>; 225 extern template class ConstantBase<SomeDerived, StructureConstructorValues>; 230 template class ConstantBase<SomeDerived, StructureConstructorValues>; \
|
D | type.h | 392 using SomeDerived = SomeKind<TypeCategory::Derived>; variable 394 SomeCharacter, SomeLogical, SomeDerived>; 397 common::CombineTuples<AllIntrinsicTypes, std::tuple<SomeDerived>>; 467 PREFIX<SomeDerived> SUFFIX; 475 PREFIX<SomeDerived> SUFFIX; \
|
D | expression.h | 475 class ArrayConstructor<SomeDerived> 476 : public ArrayConstructorValues<SomeDerived> { 478 using Result = SomeDerived; 685 using Result = SomeDerived; 728 template <> class Expr<SomeDerived> : public ExpressionBase<SomeDerived> { 730 using Result = SomeDerived;
|
D | fold.h | 54 if constexpr (!std::is_same_v<T, SomeDerived>) {
|
D | initial-image.h | 83 Result Add(ConstantSubscript, std::size_t, const Constant<SomeDerived> &);
|
D | tools.h | 51 std::is_same_v<T, SomeDerived>) { in operator() 697 return AsGenericExpr(Expr<SomeDerived>{WRAPPER<SomeDerived>{std::move(x)}}); in TypedWrapper() 718 std::is_same_v<T, SomeDerived>) { in operator()
|
D | variable.h | 379 IsSpecificIntrinsicType<Result> || std::is_same_v<Result, SomeDerived>);
|
/external/llvm-project/flang/lib/Semantics/ |
D | runtime-type-info.cpp | 236 return SomeExpr{evaluate::Expr<evaluate::SomeDerived>{std::move(x)}}; in StructureExpr() 301 evaluate::AsGenericExpr(evaluate::Constant<evaluate::SomeDerived>{ in SaveDerivedPointerTarget() 309 evaluate::Designator<evaluate::SomeDerived>{symbol}); in SaveDerivedPointerTarget() 321 evaluate::Designator<evaluate::SomeDerived>{symbol}); in SaveObjectInit() 377 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeType() 378 evaluate::Designator<evaluate::SomeDerived>{*parentDescObject}})); in DescribeType() 389 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeType() 390 evaluate::Designator<evaluate::SomeDerived>{ in DescribeType() 652 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeComponent() 653 evaluate::Designator<evaluate::SomeDerived>{ in DescribeComponent()
|
D | expression.cpp | 947 static NamedEntity IgnoreAnySubscripts(Designator<SomeDerived> &&designator) { in IgnoreAnySubscripts() 986 if (auto *dtExpr{UnwrapExpr<Expr<SomeDerived>>(*base)}) { in Analyze() 989 if (auto *designator{UnwrapExpr<Designator<SomeDerived>>(*dtExpr)}) { in Analyze() 1711 return AsMaybeExpr(Expr<SomeDerived>{std::move(result)}); in Analyze() 1751 static void AddPassArg(ActualArguments &actuals, const Expr<SomeDerived> &expr, in AddPassArg() 1800 if (auto *dtExpr{UnwrapExpr<Expr<SomeDerived>>(*base)}) { in AnalyzeProcedureComponentRef() 1828 Expr<SomeDerived>{Designator<SomeDerived>{std::move(*dataRef)}}, in AnalyzeProcedureComponentRef()
|