Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp175 TypeCategory category, KindExpr &&kind) { in MakeNumericType()
178 const DeclTypeSpec &Scope::MakeLogicalType(KindExpr &&kind) { in MakeLogicalType()
195 ParamValue &&length, KindExpr &&kind) { in MakeCharacterType()
216 return &MakeNumericType(dyType->category(), KindExpr{dyType->kind()}); in GetType()
220 ParamValue{*lenParam}, KindExpr{dyType->kind()}); in GetType()
231 KindExpr{dyType->kind()}); in GetType()
236 return &MakeLogicalType(KindExpr{dyType->kind()}); in GetType()
H A Dtype.cpp518 KindExpr copy{Fold(common::Clone(intrinsic.kind()))}; in InstantiateIntrinsicType()
534 return scope_.MakeNumericType(intrinsic.category(), KindExpr{kind}); in InstantiateIntrinsicType()
536 return scope_.MakeLogicalType(KindExpr{kind}); in InstantiateIntrinsicType()
540 KindExpr{kind}); in InstantiateIntrinsicType()
686 IntrinsicTypeSpec::IntrinsicTypeSpec(TypeCategory category, KindExpr &&kind) in IntrinsicTypeSpec()
691 static std::string KindAsFortran(const KindExpr &kind) { in KindAsFortran()
H A Dsemantics.cpp307 return globalScope_.MakeNumericType(category, KindExpr{kind}); in MakeNumericType()
313 return globalScope_.MakeLogicalType(KindExpr{kind}); in MakeLogicalType()
H A Druntime-type-info.cpp270 DeclTypeSpec{NumericTypeSpec{T::category, KindExpr{T::kind}}})}) { in SaveNumericPointerTarget()
273 object.set_type(scope.MakeNumericType(T::category, KindExpr{T::kind})); in SaveNumericPointerTarget()
688 ParamValue{len, common::TypeParamAttr::Len}, KindExpr{1}}})}) { in SaveNameAsPointerTarget()
692 ParamValue{len, common::TypeParamAttr::Len}, KindExpr{1})); in SaveNameAsPointerTarget()
H A Ddata-to-inits.cpp763 TypeCategory::Integer, KindExpr{minElementBytes})}; in CombineEquivalencedInitialization()
H A Dresolve-names.cpp363 KindExpr GetKindParamExpr(
1022 std::optional<KindExpr> kind;
1852 KindExpr DeclTypeSpecVisitor::GetKindParamExpr( in GetKindParamExpr()
2502 KindExpr value{GetKindParamExpr(category, kind)}; in MakeNumericType()
2512 KindExpr value{GetKindParamExpr(TypeCategory::Logical, kind)}; in MakeLogicalType()
4319 KindExpr{context().GetDefaultKind(TypeCategory::Character)}; in Post()
6392 KindExpr{type.kind()}); in ToDeclTypeSpec()
6396 KindExpr{type.kind()}); in ToDeclTypeSpec()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h48 using KindExpr = SubscriptIntExpr; variable
128 const KindExpr &kind() const { return kind_; } in kind()
136 IntrinsicTypeSpec(TypeCategory, KindExpr &&);
140 KindExpr kind_;
147 NumericTypeSpec(TypeCategory category, KindExpr &&kind) in NumericTypeSpec()
155 explicit LogicalTypeSpec(KindExpr &&kind) in LogicalTypeSpec()
161 CharacterTypeSpec(ParamValue &&length, KindExpr &&kind) in CharacterTypeSpec()
H A Dscope.h206 const DeclTypeSpec &MakeNumericType(TypeCategory, KindExpr &&kind);
207 const DeclTypeSpec &MakeLogicalType(KindExpr &&kind);
209 ParamValue &&length, KindExpr &&kind = KindExpr{0});
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h547 using KindExpr = std::decay_t<decltype(toKindExpr)>; in ConvertTo()
549 ConvertToType<ResultType<KindExpr>>(std::move(from))); in ConvertTo()