Home
last modified time | relevance | path

Searched refs:AsGenericExpr (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/flang/lib/Evaluate/
Dtools.cpp33 return AsGenericExpr(Parentheses<T>{std::move(y)}); in Parenthesize()
142 return {AsGenericExpr(std::move(catExpr))}; in Package()
148 return {AsGenericExpr(std::move(*catExpr))}; in Package()
234 NumericOperation<OPR>(messages, AsGenericExpr(std::move(zr)), in MixedComplexLeft()
235 AsGenericExpr(std::move(iry)), defaultRealKind)}) { in MixedComplexLeft()
237 AsGenericExpr(std::move(zi)), defaultRealKind)); in MixedComplexLeft()
245 auto rr{NumericOperation<OPR>(messages, AsGenericExpr(std::move(zr)), in MixedComplexLeft()
246 AsGenericExpr(std::move(iry)), defaultRealKind)}; in MixedComplexLeft()
247 auto ri{NumericOperation<OPR>(messages, AsGenericExpr(std::move(zi)), in MixedComplexLeft()
248 AsGenericExpr(std::move(copy)), defaultRealKind)}; in MixedComplexLeft()
[all …]
Dinitial-image.cpp123 return AsGenericExpr( in Test()
133 return AsGenericExpr( in Test()
142 return AsGenericExpr(Const{std::move(typedValue), std::move(extents_)}); in Test()
179 return AsGenericExpr(NullPointer{}); in Test()
Dfold-complex.cpp43 Expr<SomeType> im{AsGenericExpr(Constant<Part>{Scalar<Part>{}})}; in FoldIntrinsicFunction()
52 : AsGenericExpr(Constant<Part>{Scalar<Part>{}})}; in FoldIntrinsicFunction()
Dfold-logical.cpp69 *args[i] = AsGenericExpr( in FoldIntrinsicFunction()
72 *args[i] = AsGenericExpr(Constant<LargestInt>{std::move(*x)}); in FoldIntrinsicFunction()
Dfold-designator.cpp330 return AsGenericExpr(Designator<PartType>{ComplexPart{ in OffsetToDesignator()
342 return AsGenericExpr(Designator<T>{ in OffsetToDesignator()
Dshape.cpp583 ActualArgument{AsGenericExpr(std::move(*arraySize))}, in operator ()()
584 ActualArgument{AsGenericExpr(ExtentExpr{0})}, in operator ()()
Dintrinsics-library.cpp164 return AsGenericExpr(Constant<TR>(std::move(result))); in ApplyHostFunctionHelper()
Dcheck-expression.cpp283 return AsGenericExpr(std::move(expanded)); in operator ()()
Dfold-implementation.h81 AsGenericExpr(Constant<TA>{args})...}; in GetHostRuntimeWrapper()
/external/llvm-project/flang/lib/Semantics/
Druntime-type-info.cpp227 return evaluate::AsGenericExpr(evaluate::ExtentExpr{n}); in IntToExpr()
264 object.set_init(evaluate::AsGenericExpr(evaluate::Constant<T>{ in SaveNumericPointerTarget()
271 return evaluate::AsGenericExpr( in SaveNumericPointerTarget()
301 evaluate::AsGenericExpr(evaluate::Constant<evaluate::SomeDerived>{ in SaveDerivedPointerTarget()
308 return evaluate::AsGenericExpr( in SaveDerivedPointerTarget()
320 return evaluate::AsGenericExpr( in SaveObjectInit()
377 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeType()
389 evaluate::AsGenericExpr(evaluate::Expr<evaluate::SomeDerived>{ in DescribeType()
563 return evaluate::AsGenericExpr( in IntExpr()
604 object.set_init(evaluate::AsGenericExpr(AsciiExpr{name})); in SaveNameAsPointerTarget()
[all …]
Dexpression.cpp353 return AsGenericExpr(std::move(x)); in AsMaybeExpr()
544 return AsGenericExpr(-std::move(realExpr)); in Analyze()
558 return AsGenericExpr(-std::move(std::get<Expr<SomeComplex>>(result->u))); in Analyze()
581 return AsGenericExpr(Constant<Type<TypeCategory::Character, 1>>{ in AnalyzeString()
585 return AsGenericExpr(Constant<Type<TypeCategory::Character, 2>>{ in AnalyzeString()
589 return AsGenericExpr(Constant<Type<TypeCategory::Character, 4>>{ in AnalyzeString()
655 return AsGenericExpr(std::move(value.value)); in Analyze()
675 ultimate, AsGenericExpr(TypeParamInquiry{std::nullopt, ultimate}))); in Analyze()
832 return AsGenericExpr( in Analyze()
994 AsGenericExpr(TypeParamInquiry{ in Analyze()
[all …]
/external/llvm-project/flang/unittests/Evaluate/
Dfolding.cpp36 func(context, {AsGenericExpr(Constant<T>{x})})) in CallHostRt()
Dintrinsics.cpp63 args.emplace_back(AsGenericExpr(std::move(x))); in Push()
68 args.emplace_back(AsGenericExpr(std::move(x.value))); in Push()
/external/llvm-project/flang/include/flang/Evaluate/
Dtools.h110 common::IfNoLvalue<Expr<SomeType>, A> AsGenericExpr(A &&x) { in AsGenericExpr() function
124 inline Expr<SomeType> AsGenericExpr(Expr<SomeType> &&x) { return std::move(x); } in AsGenericExpr() function
415 return AsGenericExpr(ConvertTo(toCatExpr, std::move(from))); in ConvertTo()
656 return AsGenericExpr(TEMPLATE<T>{std::move(value)}); in Test()
697 return AsGenericExpr(Expr<SomeDerived>{WRAPPER<SomeDerived>{std::move(x)}}); in TypedWrapper()
/external/llvm-project/flang/lib/Lower/
DConvertType.cpp390 auto len = Fortran::evaluate::AsGenericExpr(std::move(*expr)); in genSymbolHelper()