Home
last modified time | relevance | path

Searched refs:TypeParamDetails (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp78 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 Dsymbol.cpp244 [](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 Dscope.cpp363 return symbol.has<TypeParamDetails>(); in IsParam()
369 if (const auto *typeParam{symbol.detailsIf<TypeParamDetails>()}) { in IsParam()
H A Druntime-type-info.cpp31 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 Dmod-file.cpp217 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 Dcheck-allocate.cpp363 if (symbol.get<TypeParamDetails>().attr() == common::TypeParamAttr::Kind) { in HaveCompatibleKindParameters()
H A Dresolve-names.cpp4507 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 Dexpression.cpp775 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 Dcheck-omp-structure.cpp2074 } else if (compSymbol->has<TypeParamDetails>()) { in IsDataRefTypeParamInquiry()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsymbol.h374 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 DMangler.cpp175 param->get<Fortran::semantics::TypeParamDetails>(); in mangleName()
H A DConvertType.cpp323 if (param->get<Fortran::semantics::TypeParamDetails>().attr() == in genDerivedType()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcheck-expression.cpp50 ultimate.has<semantics::TypeParamDetails>() || in operator ()()
H A Dtools.cpp1440 const auto *param{symbol.GetUltimate().detailsIf<TypeParamDetails>()}; in IsKindTypeParameter()
1445 const auto *param{symbol.GetUltimate().detailsIf<TypeParamDetails>()}; in IsLenTypeParameter()
H A Dshape.cpp707 [](const semantics::TypeParamDetails &) { return ScalarShape(); }, in operator ()() argument
H A Dcharacteristics.cpp95 std::is_same_v<Ty, semantics::TypeParamDetails>) { in Characterize()
H A Dfold-integer.cpp1112 const auto *details{symbol.detailsIf<semantics::TypeParamDetails>()}; in FoldOperation()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h252 if (const auto *tpd{symbol.detailsIf<semantics::TypeParamDetails>()}) { in ExtractBareLenParameter()