| /llvm-project-15.0.7/flang/include/flang/Optimizer/Support/ |
| H A D | Utils.h | 30 return {static_cast<fir::KindTy>(defKinds.GetDefaultKind( in fromDefaultKinds() 33 defKinds.GetDefaultKind(Fortran::common::TypeCategory::Complex)), in fromDefaultKinds() 36 defKinds.GetDefaultKind(Fortran::common::TypeCategory::Integer)), in fromDefaultKinds() 38 defKinds.GetDefaultKind(Fortran::common::TypeCategory::Logical)), in fromDefaultKinds() 40 defKinds.GetDefaultKind(Fortran::common::TypeCategory::Real))}; in fromDefaultKinds()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | semantics.cpp | 146 context_.defaultKinds().GetDefaultKind(TypeCategory::Integer)) { in CheckAssignGotoName() 298 int SemanticsContext::GetDefaultKind(TypeCategory category) const { in GetDefaultKind() function in Fortran::semantics::SemanticsContext 299 return defaultKinds_.GetDefaultKind(category); in GetDefaultKind() 305 kind = GetDefaultKind(category); in MakeNumericType() 311 kind = GetDefaultKind(TypeCategory::Logical); in MakeLogicalType()
|
| H A D | check-io.cpp | 68 switch (context_.GetDefaultKind(TypeCategory::Character)) { in Enter() 227 context_.defaultKinds().GetDefaultKind(type->category()) && in Enter() 250 context_.defaultKinds().GetDefaultKind(type->category())) { in Enter() 277 switch (context_.GetDefaultKind(TypeCategory::Character)) { in Enter() 316 int defaultKind{context_.GetDefaultKind(TypeCategory::Integer)}; in Enter()
|
| H A D | expression.cpp | 595 int defaultKind{defaults.GetDefaultKind(TypeCategory::Real)}; in Analyze() 712 int kind{GetDefaultKind(TypeCategory::Character)}; in Analyze() 720 GetDefaultKind(TypeCategory::Logical))}; in Analyze() 1267 return GetDefaultKind(TypeCategory::Integer); in IntegerTypeSpecKind() 1379 exprAnalyzer_.GetDefaultKind(TypeCategory::Integer), in Push() 2785 context.GetDefaultKind(TypeCategory::Real)); in NumericBinaryHelper() 2822 std::move(im), GetDefaultKind(TypeCategory::Real))); in Analyze() 3161 int defaultKind{GetDefaultKind(category)}; in AnalyzeKindSelector() 3193 return context_.GetDefaultKind(category); in GetDefaultKind() 3198 return {category, GetDefaultKind(category)}; in GetDefaultKindOfType() [all …]
|
| H A D | resolve-names-utils.cpp | 686 kind.value() == context_.GetDefaultKind(TypeCategory::Character); in IsCharacterSequenceType() 696 return *kind == context_.GetDefaultKind(TypeCategory::Integer); in IsDefaultKindNumericType() 699 return *kind == context_.GetDefaultKind(TypeCategory::Real) || in IsDefaultKindNumericType()
|
| H A D | compute-offsets.cpp | 285 int kind{context_.defaultKinds().GetDefaultKind(TypeCategory::Character)}; in ComputeOffset()
|
| H A D | type.cpp | 519 int kind{context().GetDefaultKind(intrinsic.category())}; in InstantiateIntrinsicType()
|
| H A D | check-declarations.cpp | 890 return kind == context_.GetDefaultKind(category) || in IsResultOkToDiffer() 1985 kind && *kind == context_.GetDefaultKind(TypeCategory::Integer)) { in CheckDioDummyIsDefaultInteger()
|
| H A D | tools.cpp | 402 dynamicType->kind() == context.GetDefaultKind(dynamicType->category()); in ExprTypeKindIsDefault()
|
| H A D | resolve-names.cpp | 2398 if (!kind || *kind != context().GetDefaultKind(TypeCategory::Integer)) { in ImplicitlyTypeForwardRef() 4319 KindExpr{context().GetDefaultKind(TypeCategory::Character)}; in Post()
|
| /llvm-project-15.0.7/flang/include/flang/Common/ |
| H A D | default-kinds.h | 43 int GetDefaultKind(TypeCategory) const;
|
| /llvm-project-15.0.7/flang/lib/Common/ |
| H A D | default-kinds.cpp | 68 int IntrinsicTypeDefaultKinds::GetDefaultKind(TypeCategory category) const { in GetDefaultKind() function in Fortran::common::IntrinsicTypeDefaultKinds
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics.cpp | 1412 argOk = type->kind() == defaults.GetDefaultKind(TypeCategory::Integer); in Match() 1415 argOk = type->kind() == defaults.GetDefaultKind(TypeCategory::Real); in Match() 1421 argOk = type->kind() == defaults.GetDefaultKind(TypeCategory::Character); in Match() 1424 argOk = type->kind() == defaults.GetDefaultKind(TypeCategory::Logical); in Match() 1643 defaults.GetDefaultKind(TypeCategory::Integer)}; in Match() 1649 DynamicType{*category, defaults.GetDefaultKind(TypeCategory::Real)}; in Match() 1660 defaults.GetDefaultKind(TypeCategory::Logical)}; in Match() 1709 int kind{defaults.GetDefaultKind(*category)}; in Match() 1877 DynamicType{category, defaults.GetDefaultKind(category)}}; in Match() 2543 : defaults.GetDefaultKind(category)}; in GetReturnType() [all …]
|
| H A D | fold-integer.cpp | 964 context.defaults().GetDefaultKind(TypeCategory::Character)}; in FoldIntrinsicFunction()
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | intrinsics.cpp | 147 MATCH(4, defaults.GetDefaultKind(TypeCategory::Integer)); in TestIntrinsics() 148 MATCH(4, defaults.GetDefaultKind(TypeCategory::Real)); in TestIntrinsics()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | semantics.h | 76 int GetDefaultKind(TypeCategory) const;
|
| H A D | expression.h | 130 int GetDefaultKind(common::TypeCategory);
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Bridge.cpp | 422 &getMLIRContext(), tc, bridge.getDefaultKinds().GetDefaultKind(tc), in genType()
|