Home
last modified time | relevance | path

Searched refs:KindExpr (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/flang/include/flang/Semantics/
Dtype.h48 using KindExpr = SubscriptIntExpr; variable
120 const KindExpr &kind() const { return kind_; } in kind()
128 IntrinsicTypeSpec(TypeCategory, KindExpr &&);
132 KindExpr kind_;
139 NumericTypeSpec(TypeCategory category, KindExpr &&kind) in NumericTypeSpec()
147 explicit LogicalTypeSpec(KindExpr &&kind) in LogicalTypeSpec()
153 CharacterTypeSpec(ParamValue &&length, KindExpr &&kind) in CharacterTypeSpec()
Dscope.h190 const DeclTypeSpec &MakeNumericType(TypeCategory, KindExpr &&kind);
191 const DeclTypeSpec &MakeLogicalType(KindExpr &&kind);
193 ParamValue &&length, KindExpr &&kind = KindExpr{0});
/external/llvm-project/flang/lib/Semantics/
Dtype.cpp381 KindExpr copy{Fold(common::Clone(intrinsic.kind()))}; in InstantiateIntrinsicType()
396 return scope_.MakeNumericType(intrinsic.category(), KindExpr{kind}); in InstantiateIntrinsicType()
398 return scope_.MakeLogicalType(KindExpr{kind}); in InstantiateIntrinsicType()
401 ParamValue{spec.characterTypeSpec().length()}, KindExpr{kind}); in InstantiateIntrinsicType()
547 IntrinsicTypeSpec::IntrinsicTypeSpec(TypeCategory category, KindExpr &&kind) in IntrinsicTypeSpec()
552 static std::string KindAsFortran(const KindExpr &kind) { in KindAsFortran()
Dscope.cpp175 TypeCategory category, KindExpr &&kind) { in MakeNumericType()
178 const DeclTypeSpec &Scope::MakeLogicalType(KindExpr &&kind) { in MakeLogicalType()
195 ParamValue &&length, KindExpr &&kind) { in MakeCharacterType()
Dsemantics.cpp210 return globalScope_.MakeNumericType(category, KindExpr{kind}); in MakeNumericType()
216 return globalScope_.MakeLogicalType(KindExpr{kind}); in MakeLogicalType()
Druntime-type-info.cpp255 DeclTypeSpec{NumericTypeSpec{T::category, KindExpr{T::kind}}})}) { in SaveNumericPointerTarget()
258 object.set_type(scope.MakeNumericType(T::category, KindExpr{T::kind})); in SaveNumericPointerTarget()
596 ParamValue{len, common::TypeParamAttr::Len}, KindExpr{1}}})}) { in SaveNameAsPointerTarget()
600 ParamValue{len, common::TypeParamAttr::Len}, KindExpr{1})); in SaveNameAsPointerTarget()
Ddata-to-inits.cpp448 TypeCategory::Integer, KindExpr{minElementBytes})}; in CombineSomeEquivalencedInits()
Dresolve-names.cpp360 KindExpr GetKindParamExpr(
874 std::optional<KindExpr> kind;
1672 KindExpr DeclTypeSpecVisitor::GetKindParamExpr( in GetKindParamExpr()
2179 KindExpr value{GetKindParamExpr(category, kind)}; in MakeNumericType()
2189 KindExpr value{GetKindParamExpr(TypeCategory::Logical, kind)}; in MakeLogicalType()
3544 KindExpr{context().GetDefaultKind(TypeCategory::Character)}; in Post()
5421 KindExpr{type.kind()}); in ToDeclTypeSpec()
5425 KindExpr{type.kind()}); in ToDeclTypeSpec()
/external/llvm-project/flang/include/flang/Evaluate/
Dtools.h403 using KindExpr = std::decay_t<decltype(toKindExpr)>; in ConvertTo()
405 ConvertToType<ResultType<KindExpr>>(std::move(from))); in ConvertTo()