Searched refs:KindExpr (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | scope.cpp | 175 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 D | type.cpp | 518 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 D | semantics.cpp | 307 return globalScope_.MakeNumericType(category, KindExpr{kind}); in MakeNumericType() 313 return globalScope_.MakeLogicalType(KindExpr{kind}); in MakeLogicalType()
|
| H A D | runtime-type-info.cpp | 270 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 D | data-to-inits.cpp | 763 TypeCategory::Integer, KindExpr{minElementBytes})}; in CombineEquivalencedInitialization()
|
| H A D | resolve-names.cpp | 363 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 D | type.h | 48 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 D | scope.h | 206 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 D | tools.h | 547 using KindExpr = std::decay_t<decltype(toKindExpr)>; in ConvertTo() 549 ConvertToType<ResultType<KindExpr>>(std::move(from))); in ConvertTo()
|