Searched refs:SomeKind (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | type.h | 364 template <TypeCategory CATEGORY> struct SomeKind { struct 373 SomeKind<TypeCategory::Real>, SomeKind<TypeCategory::Complex>>; 375 SomeKind<TypeCategory::Real>, SomeKind<TypeCategory::Complex>, 376 SomeKind<TypeCategory::Character>, SomeKind<TypeCategory::Logical>>; 387 template <> class SomeKind<TypeCategory::Derived> { 392 constexpr SomeKind() {} // CLASS(*) in SomeKind() function 395 constexpr explicit SomeKind(const DynamicType &dt) in SomeKind() function 396 : SomeKind(dt.GetDerivedTypeSpec()) {} in SomeKind() 397 CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS(SomeKind) in CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS() argument 411 bool operator==(const SomeKind &) const; [all …]
|
| H A D | tools.h | 122 Expr<SomeKind<CATEGORY>> AsCategoryExpr(Expr<SomeKind<CATEGORY>> &&x) { in AsCategoryExpr() 606 Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { in AsSameKindExprs() 667 Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { in PromoteAndCombine() 768 template <TypeCategory C> Expr<SomeKind<C>> operator-(Expr<SomeKind<C>> &&x) { 774 Expr<SomeKind<CAT>> operator+( 775 Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { 780 Expr<SomeKind<CAT>> operator-( 781 Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { 786 Expr<SomeKind<CAT>> operator*( 787 Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { [all …]
|
| H A D | expression.h | 209 struct Convert : public Operation<Convert<TO, FROMCAT>, TO, SomeKind<FROMCAT>> { 218 using Operand = SomeKind<FROMCAT>; 760 class Expr<SomeKind<CAT>> : public ExpressionBase<SomeKind<CAT>> { 762 using Result = SomeKind<CAT>; 812 explicit Expr(const Expr<Type<CAT, KIND>> &x) : u{Expr<SomeKind<CAT>>{x}} {} 816 : u{Expr<SomeKind<CAT>>{std::move(x)}} {} 820 u = Expr<SomeKind<CAT>>{x}; 826 u = Expr<SomeKind<CAT>>{std::move(x)};
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | expression.cpp | 206 bool Expr<SomeKind<CAT>>::operator==(const Expr<SomeKind<CAT>> &that) const { in operator ==() 311 template <TypeCategory CAT> int Expr<SomeKind<CAT>>::GetKind() const { in GetKind()
|
| H A D | tools.cpp | 176 std::optional<Expr<SomeType>> Package(Expr<SomeKind<CAT>> &&catExpr) { in Package() 181 std::optional<Expr<SomeKind<CAT>>> &&catExpr) { in Package() 271 Expr<SomeKind<RCAT>> &&iry, [[maybe_unused]] int defaultRealKind) { in MixedComplexLeft() 329 parser::ContextualMessages &messages, Expr<SomeKind<LCAT>> &&irx, in MixedComplexRight() 511 RelationalOperator opr, Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { in PromoteAndRelate() 1033 if (const auto *someExpr{UnwrapExpr<Expr<SomeKind<FROM>>>(*sized)}) { in DataConstantConversionHelper()
|
| H A D | type.cpp | 467 bool SomeKind<TypeCategory::Derived>::operator==( in operator ==() 468 const SomeKind<TypeCategory::Derived> &that) const { in operator ==()
|
| H A D | fold-implementation.h | 1295 std::optional<Expr<SomeKind<CAT>>>> 1296 AsFlatArrayConstructor(const Expr<SomeKind<CAT>> &expr) { in AsFlatArrayConstructor() 1298 [&](const auto &kindExpr) -> std::optional<Expr<SomeKind<CAT>>> { in AsFlatArrayConstructor() 1300 return Expr<SomeKind<CAT>>{std::move(*flattened)}; in AsFlatArrayConstructor()
|
| H A D | formatting.cpp | 244 static bool IsNegatedScalarConstant(const Expr<SomeKind<CAT>> &expr) { in IsNegatedScalarConstant()
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | folding.cpp | 25 Expr<SomeKind<T::category>> exprSomeKind{exprFullyTyped}; in Run()
|