Searched refs:TypeParamDetails (Results 1 – 18 of 18) sorted by relevance
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | type.cpp | 78 attr = it->get().get<TypeParamDetails>().attr(); in CookParameters() 87 attr = it->get().get<TypeParamDetails>().attr(); in CookParameters() 152 const TypeParamDetails &details{symbol.get<TypeParamDetails>()}; in EvaluateParameters() 212 tpSym ? tpSym->detailsIf<TypeParamDetails>() : nullptr}; in Match() 331 const TypeParamDetails &details{symbol.get<TypeParamDetails>()}; in Instantiate() 341 TypeParamDetails instanceDetails{details.attr()}; in Instantiate() 401 if (name.symbol && name.symbol->has<TypeParamDetails>()) { in Post() 417 CHECK(oldSymbol.has<TypeParamDetails>()); in InstantiateComponent()
|
| H A D | symbol.cpp | 244 [](const TypeParamDetails &) { return "TypeParam"; }, in DetailsToString() argument 299 [&](TypeParamDetails &x) { x.set_type(type); }, in SetType() 502 [&](const TypeParamDetails &x) { in operator <<() 655 void TypeParamDetails::set_type(const DeclTypeSpec &type) { in set_type()
|
| H A D | scope.cpp | 363 return symbol.has<TypeParamDetails>(); in IsParam() 369 if (const auto *typeParam{symbol.detailsIf<TypeParamDetails>()}) { in IsParam()
|
| H A D | runtime-type-info.cpp | 31 if (ref->get<TypeParamDetails>().attr() == common::TypeParamAttr::Len) { in FindLenParameterIndex() 350 const auto &tpd{ref->get<TypeParamDetails>()}; in GetSuffixIfTypeKindParameters() 473 const auto &tpd{ref->get<TypeParamDetails>()}; in DescribeType() 508 [&](const TypeParamDetails &) { in DescribeType() argument 765 const auto &tpd{ref->get<TypeParamDetails>()}; in DescribeComponent()
|
| H A D | mod-file.cpp | 217 if (symbol.has<TypeParamDetails>()) { in PutComponents() 618 [&](const TypeParamDetails &) { PutTypeParam(os, symbol); }, in PutEntity() argument 718 auto &details{symbol.get<TypeParamDetails>()}; in PutTypeParam()
|
| H A D | check-allocate.cpp | 363 if (symbol.get<TypeParamDetails>().attr() == common::TypeParamAttr::Kind) { in HaveCompatibleKindParameters()
|
| H A D | resolve-names.cpp | 4507 paramName, TypeParamDetails{common::TypeParamAttr::Len})}; in Pre() 4510 } else if (!symbol->has<TypeParamDetails>()) { in Pre() 4520 if (symbol->has<TypeParamDetails>() && !paramNames.count(name)) { in Pre() 4595 if (Symbol * symbol{MakeTypeSymbol(name, TypeParamDetails{attr})}) { in Post() 4602 symbol->get<TypeParamDetails>().set_init(std::move(*intExpr)); in Post() 5777 if (result.has<TypeParamDetails>()) { in MakeTypeSymbol()
|
| H A D | expression.cpp | 775 if (ultimate.has<semantics::TypeParamDetails>()) { in Analyze() 1126 if (sym->detailsIf<semantics::TypeParamDetails>()) { in Analyze() 1802 } else if (symbol->has<semantics::TypeParamDetails>()) { in Analyze()
|
| H A D | check-omp-structure.cpp | 2074 } else if (compSymbol->has<TypeParamDetails>()) { in IsDataRefTypeParamInquiry()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | symbol.h | 374 class TypeParamDetails { 376 explicit TypeParamDetails(common::TypeParamAttr attr) : attr_{attr} {} in TypeParamDetails() function 377 TypeParamDetails(const TypeParamDetails &) = default; 509 TypeParamDetails, MiscDetails>; 820 [](const TypeParamDetails &x) { return x.type(); }, in GetTypeImpl()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Mangler.cpp | 175 param->get<Fortran::semantics::TypeParamDetails>(); in mangleName()
|
| H A D | ConvertType.cpp | 323 if (param->get<Fortran::semantics::TypeParamDetails>().attr() == in genDerivedType()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | check-expression.cpp | 50 ultimate.has<semantics::TypeParamDetails>() || in operator ()()
|
| H A D | tools.cpp | 1440 const auto *param{symbol.GetUltimate().detailsIf<TypeParamDetails>()}; in IsKindTypeParameter() 1445 const auto *param{symbol.GetUltimate().detailsIf<TypeParamDetails>()}; in IsLenTypeParameter()
|
| H A D | shape.cpp | 707 [](const semantics::TypeParamDetails &) { return ScalarShape(); }, in operator ()() argument
|
| H A D | characteristics.cpp | 95 std::is_same_v<Ty, semantics::TypeParamDetails>) { in Characterize()
|
| H A D | fold-integer.cpp | 1112 const auto *details{symbol.detailsIf<semantics::TypeParamDetails>()}; in FoldOperation()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | tools.h | 252 if (const auto *tpd{symbol.detailsIf<semantics::TypeParamDetails>()}) { in ExtractBareLenParameter()
|