Home
last modified time | relevance | path

Searched refs:detailsIf (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/flang/lib/Semantics/
Dtools.cpp157 if (const auto *generic{ultimate.detailsIf<GenericDetails>()}) { in IsGenericDefinedOp()
159 } else if (const auto *misc{ultimate.detailsIf<MiscDetails>()}) { in IsGenericDefinedOp()
204 const auto *details{s->detailsIf<HostAssocDetails>()}; in FollowHostAssoc()
243 if (const auto *procDetails{symbol.detailsIf<ProcEntityDetails>()}) { in IsBindCProcedure()
278 if (const auto *details{symbol.detailsIf<ObjectEntityDetails>()}) { in FindPointerComponent()
427 if (const auto &subpDetails{subp->detailsIf<SubprogramDetails>()}) { in FindFunctionResult()
472 if (const auto *details{symbol.detailsIf<DerivedTypeDetails>()}) { in FindParentTypeSpec()
515 if (const auto *details{root->detailsIf<ObjectEntityDetails>()}) { in IsOrContainsEventOrLockComponent()
533 } else if (auto *details{symbol->detailsIf<SubprogramDetails>()}) { in CanBeTypeBoundProc()
536 } else if (const auto *proc{symbol->detailsIf<ProcEntityDetails>()}) { in CanBeTypeBoundProc()
[all …]
Dsymbol.cpp261 const auto *derived{detailsIf<DerivedTypeDetails>()}; in CanReplaceDetails()
265 const auto *use{detailsIf<UseDetails>()}; in CanReplaceDetails()
559 if (const auto *dtDetails{detailsIf<DerivedTypeDetails>()}) { in GetParentComponent()
589 if (const auto *details{symbol.detailsIf<SubprogramDetails>()}) { in GetFinalForRank()
592 if (const auto *object{arg->detailsIf<ObjectEntityDetails>()}) { in GetFinalForRank()
Dcheck-declarations.cpp180 if (const auto *details{symbol.detailsIf<HostAssocDetails>()}) { in Check()
232 if (const auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in Check()
520 if (const auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in CheckPointerInitialization()
531 } else if (const auto *proc{symbol.detailsIf<ProcEntityDetails>()}) { in CheckPointerInitialization()
744 subprogramDetails = subprogram->detailsIf<SubprogramDetails>(); in CheckSubprogram()
874 if (const auto *details{subroutine.detailsIf<SubprogramDetails>()}) { in CheckFinal()
1233 const auto *object{symbol.detailsIf<ObjectEntityDetails>()}; in WarnMissingFinal()
1243 derivedSym ? derivedSym->detailsIf<DerivedTypeDetails>() : nullptr}) { in WarnMissingFinal()
1329 const auto *subprogram{interface->detailsIf<SubprogramDetails>()}; in CheckPassArg()
1444 overridden->detailsIf<ProcBindingDetails>()}) { in CheckProcBinding()
[all …]
Dresolve-names.cpp543 if (auto *d{symbol->detailsIf<GenericDetails>()}) { in MakeSymbol()
942 } else if (auto *details{symbol.detailsIf<EntityDetails>()}) { in DeclareEntity()
949 } else if (auto *details{symbol.detailsIf<UseDetails>()}) { in DeclareEntity()
953 } else if (auto *details{symbol.detailsIf<SubprogramNameDetails>()}) { in DeclareEntity()
1877 if (const auto *details{prev.detailsIf<UseDetails>()}) { in SayAlreadyDeclared()
2150 } else if (auto *details{symbol.detailsIf<EntityDetails>()}) { in ConvertToObjectEntity()
2152 } else if (auto *useDetails{symbol.detailsIf<UseDetails>()}) { in ConvertToObjectEntity()
2165 } else if (auto *details{symbol.detailsIf<EntityDetails>()}) { in ConvertToProcEntity()
2361 const auto *useDetails{symbol.detailsIf<UseDetails>()}; in ConvertToUseError()
2374 if (auto *useDetails{localSymbol.detailsIf<UseDetails>()}) { in DoAddUse()
[all …]
Dtype.cpp242 if (auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in Instantiate()
322 if (auto *details{newSymbol.detailsIf<ObjectEntityDetails>()}) { in InstantiateComponent()
607 derivedType->typeSymbol().detailsIf<DerivedTypeDetails>()}; in IsSequenceType()
Dcheck-call.cpp55 if (const auto *details{symbol.detailsIf<ObjectEntityDetails>()}) { in CheckImplicitInterfaceArg()
271 ? actualLastSymbol->GetUltimate().detailsIf<ObjectEntityDetails>() in CheckExplicitDataArg()
637 assumed.detailsIf<ObjectEntityDetails>()}) { in CheckExplicitInterfaceArg()
Ddata-to-inits.cpp506 if (const auto *proc{symbol.detailsIf<ProcEntityDetails>()}) { in ConstructInitializer()
512 } else if (const auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in ConstructInitializer()
Dassignment.cpp175 if (const auto *assoc{base->detailsIf<AssocEntityDetails>()}) { in CheckForPureContext()
Dmod-file.cpp384 if (const auto *details{symbol.GetUltimate().detailsIf<GenericDetails>()}) { in IsIntrinsicOp()
455 if (const auto *details{symbol->detailsIf<GenericDetails>()}) { in CollectSymbols()
864 if (const auto *useDetails{symbol.detailsIf<UseDetails>()}) { in Collect()
Dresolve-names-utils.cpp109 if (auto *details{symbol->detailsIf<GenericDetails>()}) { in Resolve()
527 if (const auto *details{symbol.detailsIf<ObjectEntityDetails>()}) { in InCommonWithBind()
Dscope.cpp210 if (auto *details{symbol_->detailsIf<SubprogramDetails>()}) { in GetImportKind()
Dresolve-directives.cpp737 if (const auto *details{symbol.detailsIf<HostAssocDetails>()}) { in CheckMultipleAppearances()
1211 if (const auto *details{symbol.detailsIf<HostAssocDetails>()}) { in CheckMultipleAppearances()
1255 if (const auto *details{symbol.detailsIf<HostAssocDetails>()}) in CheckDataCopyingClause()
Dsemantics.cpp396 if (const auto *details{symbol.detailsIf<GenericDetails>()}) { in DoDumpSymbols()
Dexpression.cpp234 symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in CompleteSubscripts()
988 if (sym->detailsIf<semantics::TypeParamDetails>()) { in Analyze()
1020 } else if (auto *details{sym->detailsIf<semantics::MiscDetails>()}) { in Analyze()
1697 symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in Analyze()
1780 const auto *binding{component.detailsIf<semantics::ProcBindingDetails>()}; in GetBindingResolution()
1894 symbol.detailsIf<semantics::SubprogramNameDetails>()}) { in ResolveForward()
2832 } else if (auto *subp{symbol->detailsIf<semantics::SubprogramDetails>()}) { in Analyze()
Druntime-type-info.cpp100 if (const auto *tpd{symbol.detailsIf<TypeParamDetails>()}) { in GetValue()
848 const auto *binding{specificOrBinding.detailsIf<ProcBindingDetails>()}; in DescribeSpecialProc()
Dcheck-omp-structure.cpp719 symbol->detailsIf<CommonBlockDetails>()}) { in GetSymbolsInObjectList()
/external/llvm-project/flang/lib/Evaluate/
Dshape.cpp27 const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}; in IsImpliedShape()
34 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in IsExplicitShape()
199 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()()
214 symbol.detailsIf<semantics::AssocEntityDetails>()}) { in operator ()()
224 symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()()
262 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in GetExtent()
289 symbol.detailsIf<semantics::AssocEntityDetails>()}) { in GetExtent()
340 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in GetUpperBound()
356 symbol.detailsIf<semantics::AssocEntityDetails>()}) { in GetUpperBound()
370 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in GetUpperBounds()
Dtools.cpp664 if (const auto *details{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in IsAssumedRank()
718 if (const auto *details{x.detailsIf<semantics::AssocEntityDetails>()}) { in operator ()()
747 if (const auto *details{symbol.detailsIf<semantics::AssocEntityDetails>()}) { in ResolveAssociations()
792 const auto *assoc{unhosted->detailsIf<semantics::HostAssocDetails>()}) { in AttachDeclaration()
796 unhosted->detailsIf<semantics::ProcBindingDetails>()}) { in AttachDeclaration()
805 if (const auto *use{symbol.detailsIf<semantics::UseDetails>()}) { in AttachDeclaration()
930 const auto *details{ultimate.detailsIf<semantics::AssocEntityDetails>()}; in GetAssociationRoot()
940 if (const auto *procDetails{symbol.detailsIf<ProcEntityDetails>()}) { in IsPureProcedure()
945 } else if (const auto *details{symbol.detailsIf<ProcBindingDetails>()}) { in IsPureProcedure()
1009 const auto *details{object.detailsIf<ObjectEntityDetails>()}; in FindCommonBlockContaining()
[all …]
Dexpression.cpp220 component.detailsIf<semantics::DerivedTypeDetails>()}) { in CreateParentComponent()
249 if (symbol.detailsIf<semantics::DerivedTypeDetails>()) { in GetParentComponentSymbol()
Dcall.cpp120 symbol->detailsIf<semantics::ProcEntityDetails>()}) { in GetInterfaceSymbol()
Dcheck-expression.cpp413 ultimate.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()()
543 symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()()
Dvariable.cpp606 if (const auto *xObject{x.detailsIf<semantics::ObjectEntityDetails>()}) { in AreSameSymbol()
607 if (const auto *yObject{y.detailsIf<semantics::ObjectEntityDetails>()}) { in AreSameSymbol()
Dcharacteristics.cpp264 if (const auto *obj{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in Characterize()
508 if (const auto *object{symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in Characterize()
/external/llvm-project/flang/include/flang/Semantics/
Dsymbol.h537 template <typename D> D *detailsIf() { return std::get_if<D>(&details_); } in detailsIf() function
538 template <typename D> const D *detailsIf() const { in detailsIf() function
547 const auto *p{detailsIf<D>()}; in get()
729 if (const auto *details{detailsIf<UseDetails>()}) { in GetUltimate()
731 } else if (const auto *details{detailsIf<HostAssocDetails>()}) { in GetUltimate()
Dtools.h85 const auto *subprogram{symbol.detailsIf<SubprogramDetails>()}; in IsStmtFunction()
162 const auto *details{symbol.detailsIf<ObjectEntityDetails>()}; in IsAssumedSizeArray()
166 const auto *details{symbol.detailsIf<ObjectEntityDetails>()}; in IsAssumedRankArray()

12