Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcharacteristics.h58 class TypeAndShape {
79 bool operator==(const TypeAndShape &) const;
82 static std::optional<TypeAndShape> Characterize(
84 static std::optional<TypeAndShape> Characterize(
86 static std::optional<TypeAndShape> Characterize(
134 TypeAndShape &set_type(DynamicType t) { in set_type()
158 TypeAndShape &Rewrite(FoldingContext &);
199 TypeAndShape type;
268 explicit FunctionResult(TypeAndShape &&);
285 const TypeAndShape *GetTypeAndShape() const { in GetTypeAndShape()
[all …]
H A Dfold.h23 class TypeAndShape; variable
39 characteristics::TypeAndShape Fold(
40 FoldingContext &, characteristics::TypeAndShape &&);
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcharacteristics.cpp59 bool TypeAndShape::operator==(const TypeAndShape &that) const { in operator ==()
64 TypeAndShape &TypeAndShape::Rewrite(FoldingContext &context) { in Rewrite()
70 std::optional<TypeAndShape> TypeAndShape::Characterize( in Characterize()
115 std::optional<TypeAndShape> TypeAndShape::Characterize( in Characterize()
137 std::optional<TypeAndShape> TypeAndShape::Characterize( in Characterize()
146 std::optional<TypeAndShape> TypeAndShape::Characterize( in Characterize()
346 TypeAndShape::Attrs{TypeAndShape::Attr::AssumedShape, in CanBePassedViaImplicitInterface()
1137 bool Distinguishable(const TypeAndShape &, const TypeAndShape &) const;
1139 bool IsTkrCompatible(const TypeAndShape &, const TypeAndShape &) const;
1367 const TypeAndShape &x, const TypeAndShape &y) const { in Distinguishable()
[all …]
H A Dfold.cpp16 characteristics::TypeAndShape Fold( in Fold()
17 FoldingContext &context, characteristics::TypeAndShape &&x) { in Fold()
232 characteristics::TypeAndShape::Characterize(*source, context)}) { in FoldTransfer()
H A Dcall.cpp110 characteristics::TypeAndShape::Attr::AssumedRank)); in Rank()
H A Dintrinsics.cpp1871 characteristics::TypeAndShape typeAndShape{ in Match()
1876 characteristics::TypeAndShape typeAndShape{ in Match()
1897 characteristics::TypeAndShape typeAndShape{resultType.value(), resultRank}; in Match()
2105 characteristics::TypeAndShape typeAndShape{ in HandleNull()
2161 characteristics::TypeAndShape{*type}}; in HandleC_F_Pointer()
2178 characteristics::TypeAndShape{*type, fptrRank}}; in HandleC_F_Pointer()
2205 characteristics::TypeAndShape{shapeType, 1}}; in HandleC_F_Pointer()
H A Dshape.cpp926 if (auto moldTypeAndShape{characteristics::TypeAndShape::Characterize( in operator ()()
938 characteristics::TypeAndShape::Characterize( in operator ()()
H A Dfold-integer.cpp1058 characteristics::TypeAndShape::Characterize(args[0], context)}) { in FoldIntrinsicFunction()
1065 characteristics::TypeAndShape::Characterize(args[0], context)}) { in FoldIntrinsicFunction()
H A Dcheck-expression.cpp400 characteristics::TypeAndShape::Characterize(symbol, context)}) { in NonPointerInitializationExpr()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-call.cpp96 const characteristics::TypeAndShape &dummyType, in CheckCharacterActual()
97 characteristics::TypeAndShape &actualType, in CheckCharacterActual()
132 const characteristics::TypeAndShape &dummyType, in ConvertIntegerActual()
133 characteristics::TypeAndShape &actualType, in ConvertIntegerActual()
167 characteristics::TypeAndShape &actualType, bool isElemental, in CheckExplicitDataArg()
197 characteristics::TypeAndShape::Attr::AssumedShape) && in CheckExplicitDataArg()
224 characteristics::TypeAndShape::Attr::AssumedSize)}; in CheckExplicitDataArg()
226 characteristics::TypeAndShape::Attr::AssumedSize)}; in CheckExplicitDataArg()
323 characteristics::TypeAndShape::Attr::AssumedRank)}; in CheckExplicitDataArg()
325 characteristics::TypeAndShape::Attr::AssumedShape)) { in CheckExplicitDataArg()
[all …]
H A Dpointer-assignment.cpp36 using evaluate::characteristics::TypeAndShape;
48 set_lhsType(TypeAndShape::Characterize(lhs, context));
55 PointerAssignmentChecker &set_lhsType(std::optional<TypeAndShape> &&);
80 std::optional<TypeAndShape> lhsType_;
88 std::optional<TypeAndShape> &&lhsType) { in set_lhsType()
207 } else if (auto rhsType{TypeAndShape::Characterize(d, context_)}) { in Check()
H A Dcompute-offsets.cpp333 if (auto chars{evaluate::characteristics::TypeAndShape::Characterize( in GetSizeAndAlignment()
H A Druntime-type-info.cpp712 auto typeAndShape{evaluate::characteristics::TypeAndShape::Characterize( in DescribeComponent()
1066 evaluate::characteristics::TypeAndShape::Attr::AssumedRank)) { in DescribeSpecialProc()
H A Dexpression.cpp2067 characteristics::TypeAndShape::Attr::AssumedRank)) { in CheckCompatibleArgument()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp121 Fortran::evaluate::characteristics::TypeAndShape(dummy.type.type(), in asImplicitArg()
215 const Fortran::evaluate::characteristics::TypeAndShape *typeAndShape = in walkResultLengths()
546 using TypeAndShape = Fortran::evaluate::characteristics::TypeAndShape; typedef in Fortran::lower::CallInterfaceImpl
678 const Fortran::evaluate::characteristics::TypeAndShape *typeAndShape = in handleImplicitResult()
769 using ShapeAttr = Fortran::evaluate::characteristics::TypeAndShape::Attr; in dummyRequiresBox()
770 using ShapeAttrs = Fortran::evaluate::characteristics::TypeAndShape::Attrs; in dummyRequiresBox()
836 using ShapeAttr = Fortran::evaluate::characteristics::TypeAndShape::Attr; in handleExplicitDummy()
837 const Fortran::evaluate::characteristics::TypeAndShape::Attrs &shapeAttrs = in handleExplicitDummy()
939 const Fortran::evaluate::characteristics::TypeAndShape *typeAndShape = in handleExplicitResult()