Searched refs:AsGenericExpr (Results 1 – 15 of 15) sorted by relevance
/external/llvm-project/flang/lib/Evaluate/ |
D | tools.cpp | 33 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 …]
|
D | initial-image.cpp | 123 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()
|
D | fold-complex.cpp | 43 Expr<SomeType> im{AsGenericExpr(Constant<Part>{Scalar<Part>{}})}; in FoldIntrinsicFunction() 52 : AsGenericExpr(Constant<Part>{Scalar<Part>{}})}; in FoldIntrinsicFunction()
|
D | fold-logical.cpp | 69 *args[i] = AsGenericExpr( in FoldIntrinsicFunction() 72 *args[i] = AsGenericExpr(Constant<LargestInt>{std::move(*x)}); in FoldIntrinsicFunction()
|
D | fold-designator.cpp | 330 return AsGenericExpr(Designator<PartType>{ComplexPart{ in OffsetToDesignator() 342 return AsGenericExpr(Designator<T>{ in OffsetToDesignator()
|
D | shape.cpp | 583 ActualArgument{AsGenericExpr(std::move(*arraySize))}, in operator ()() 584 ActualArgument{AsGenericExpr(ExtentExpr{0})}, in operator ()()
|
D | intrinsics-library.cpp | 164 return AsGenericExpr(Constant<TR>(std::move(result))); in ApplyHostFunctionHelper()
|
D | check-expression.cpp | 283 return AsGenericExpr(std::move(expanded)); in operator ()()
|
D | fold-implementation.h | 81 AsGenericExpr(Constant<TA>{args})...}; in GetHostRuntimeWrapper()
|
/external/llvm-project/flang/lib/Semantics/ |
D | runtime-type-info.cpp | 227 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 …]
|
D | expression.cpp | 353 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/ |
D | folding.cpp | 36 func(context, {AsGenericExpr(Constant<T>{x})})) in CallHostRt()
|
D | intrinsics.cpp | 63 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/ |
D | tools.h | 110 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/ |
D | ConvertType.cpp | 390 auto len = Fortran::evaluate::AsGenericExpr(std::move(*expr)); in genSymbolHelper()
|