Searched refs:KindExpr (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/flang/include/flang/Semantics/ |
D | type.h | 48 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()
|
D | scope.h | 190 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/ |
D | type.cpp | 381 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()
|
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()
|
D | semantics.cpp | 210 return globalScope_.MakeNumericType(category, KindExpr{kind}); in MakeNumericType() 216 return globalScope_.MakeLogicalType(KindExpr{kind}); in MakeLogicalType()
|
D | runtime-type-info.cpp | 255 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()
|
D | data-to-inits.cpp | 448 TypeCategory::Integer, KindExpr{minElementBytes})}; in CombineSomeEquivalencedInits()
|
D | resolve-names.cpp | 360 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/ |
D | tools.h | 403 using KindExpr = std::decay_t<decltype(toKindExpr)>; in ConvertTo() 405 ConvertToType<ResultType<KindExpr>>(std::move(from))); in ConvertTo()
|