Searched refs:SomeKind (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/flang/include/flang/Evaluate/ |
D | type.h | 338 template <TypeCategory CATEGORY> struct SomeKind { struct 340 constexpr bool operator==(const SomeKind &) const { return true; } 343 using NumericCategoryTypes = std::tuple<SomeKind<TypeCategory::Integer>, 344 SomeKind<TypeCategory::Real>, SomeKind<TypeCategory::Complex>>; 345 using AllIntrinsicCategoryTypes = std::tuple<SomeKind<TypeCategory::Integer>, 346 SomeKind<TypeCategory::Real>, SomeKind<TypeCategory::Complex>, 347 SomeKind<TypeCategory::Character>, SomeKind<TypeCategory::Logical>>; 356 template <> class SomeKind<TypeCategory::Derived> { 361 constexpr SomeKind() {} // CLASS(*) in SomeKind() function 362 constexpr explicit SomeKind(const semantics::DerivedTypeSpec &dts) in SomeKind() function [all …]
|
D | tools.h | 105 Expr<SomeKind<CATEGORY>> AsCategoryExpr(Expr<SomeKind<CATEGORY>> &&x) { in AsCategoryExpr() 119 common::IfNoLvalue<Expr<SomeKind<ResultType<A>::category>>, A> AsCategoryExpr( in AsCategoryExpr() 121 return Expr<SomeKind<ResultType<A>::category>>{AsExpr(std::move(x))}; in AsCategoryExpr() 161 std::is_same_v<Ty, Expr<SomeKind<ResultType<A>::category>>>) { 336 Expr<TO> ConvertToType(Expr<SomeKind<FROMCAT>> &&x) { in ConvertToType() 366 return ConvertToType<TO, FROMCAT>(Expr<SomeKind<FROMCAT>>{std::move(x)}); in ConvertToType() 399 common::IfNoLvalue<Expr<SomeKind<TC>>, FROM> ConvertTo( in ConvertTo() 400 const Expr<SomeKind<TC>> &to, FROM &&from) { in ConvertTo() 423 using Result = std::optional<Expr<SomeKind<TOCAT>>>; 438 common::IfNoLvalue<Expr<SomeKind<TOCAT>>, VALUE> ConvertToKind( in ConvertToKind() [all …]
|
D | expression.h | 202 struct Convert : public Operation<Convert<TO, FROMCAT>, TO, SomeKind<FROMCAT>> { 211 using Operand = SomeKind<FROMCAT>; 741 class Expr<SomeKind<CAT>> : public ExpressionBase<SomeKind<CAT>> { 743 using Result = SomeKind<CAT>; 793 explicit Expr(const Expr<Type<CAT, KIND>> &x) : u{Expr<SomeKind<CAT>>{x}} {} 797 : u{Expr<SomeKind<CAT>>{std::move(x)}} {} 801 u = Expr<SomeKind<CAT>>{x}; 807 u = Expr<SomeKind<CAT>>{std::move(x)};
|
/external/llvm-project/flang/include/flang/Lower/ |
D | ConvertType.h | 45 struct SomeKind; 91 const evaluate::Designator<evaluate::SomeKind<TC>> &) { in translateDesignatorToFIRType()
|
/external/llvm-project/flang/lib/Evaluate/ |
D | expression.cpp | 196 bool Expr<SomeKind<CAT>>::operator==(const Expr<SomeKind<CAT>> &that) const { in operator ==() 301 template <TypeCategory CAT> int Expr<SomeKind<CAT>>::GetKind() const { in GetKind()
|
D | tools.cpp | 141 std::optional<Expr<SomeType>> Package(Expr<SomeKind<CAT>> &&catExpr) { in Package() 146 std::optional<Expr<SomeKind<CAT>>> &&catExpr) { in Package() 226 Expr<SomeKind<RCAT>> &&iry, int defaultRealKind) { in MixedComplexLeft() 284 parser::ContextualMessages &messages, Expr<SomeKind<LCAT>> &&irx, in MixedComplexRight() 471 RelationalOperator opr, Expr<SomeKind<CAT>> &&x, Expr<SomeKind<CAT>> &&y) { in PromoteAndRelate()
|
D | type.cpp | 433 bool SomeKind<TypeCategory::Derived>::operator==( in operator ==() 434 const SomeKind<TypeCategory::Derived> &that) const { in operator ==()
|
D | fold-implementation.h | 841 std::optional<Expr<SomeKind<CAT>>>> 842 AsFlatArrayConstructor(const Expr<SomeKind<CAT>> &expr) { in AsFlatArrayConstructor() 844 [&](const auto &kindExpr) -> std::optional<Expr<SomeKind<CAT>>> { in AsFlatArrayConstructor() 846 return Expr<SomeKind<CAT>>{std::move(*flattened)}; in AsFlatArrayConstructor()
|
D | formatting.cpp | 239 static bool IsNegatedScalarConstant(const Expr<SomeKind<CAT>> &expr) { in IsNegatedScalarConstant()
|
/external/llvm-project/flang/unittests/Evaluate/ |
D | folding.cpp | 24 Expr<SomeKind<T::category>> exprSomeKind{exprFullyTyped}; in Run()
|
/external/llvm-project/flang/lib/Lower/ |
D | ConvertType.cpp | 191 mlir::Type gen(const A<Fortran::evaluate::SomeKind<TC>> &) { in gen() 211 gen(const Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TC>> &expr) { in gen()
|