/external/llvm-project/flang/lib/Semantics/ |
D | tools.cpp | 157 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 …]
|
D | symbol.cpp | 261 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()
|
D | check-declarations.cpp | 180 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 …]
|
D | resolve-names.cpp | 543 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 …]
|
D | type.cpp | 242 if (auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in Instantiate() 322 if (auto *details{newSymbol.detailsIf<ObjectEntityDetails>()}) { in InstantiateComponent() 607 derivedType->typeSymbol().detailsIf<DerivedTypeDetails>()}; in IsSequenceType()
|
D | check-call.cpp | 55 if (const auto *details{symbol.detailsIf<ObjectEntityDetails>()}) { in CheckImplicitInterfaceArg() 271 ? actualLastSymbol->GetUltimate().detailsIf<ObjectEntityDetails>() in CheckExplicitDataArg() 637 assumed.detailsIf<ObjectEntityDetails>()}) { in CheckExplicitInterfaceArg()
|
D | data-to-inits.cpp | 506 if (const auto *proc{symbol.detailsIf<ProcEntityDetails>()}) { in ConstructInitializer() 512 } else if (const auto *object{symbol.detailsIf<ObjectEntityDetails>()}) { in ConstructInitializer()
|
D | assignment.cpp | 175 if (const auto *assoc{base->detailsIf<AssocEntityDetails>()}) { in CheckForPureContext()
|
D | mod-file.cpp | 384 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()
|
D | resolve-names-utils.cpp | 109 if (auto *details{symbol->detailsIf<GenericDetails>()}) { in Resolve() 527 if (const auto *details{symbol.detailsIf<ObjectEntityDetails>()}) { in InCommonWithBind()
|
D | scope.cpp | 210 if (auto *details{symbol_->detailsIf<SubprogramDetails>()}) { in GetImportKind()
|
D | resolve-directives.cpp | 737 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()
|
D | semantics.cpp | 396 if (const auto *details{symbol.detailsIf<GenericDetails>()}) { in DoDumpSymbols()
|
D | expression.cpp | 234 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()
|
D | runtime-type-info.cpp | 100 if (const auto *tpd{symbol.detailsIf<TypeParamDetails>()}) { in GetValue() 848 const auto *binding{specificOrBinding.detailsIf<ProcBindingDetails>()}; in DescribeSpecialProc()
|
D | check-omp-structure.cpp | 719 symbol->detailsIf<CommonBlockDetails>()}) { in GetSymbolsInObjectList()
|
/external/llvm-project/flang/lib/Evaluate/ |
D | shape.cpp | 27 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()
|
D | tools.cpp | 664 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 …]
|
D | expression.cpp | 220 component.detailsIf<semantics::DerivedTypeDetails>()}) { in CreateParentComponent() 249 if (symbol.detailsIf<semantics::DerivedTypeDetails>()) { in GetParentComponentSymbol()
|
D | call.cpp | 120 symbol->detailsIf<semantics::ProcEntityDetails>()}) { in GetInterfaceSymbol()
|
D | check-expression.cpp | 413 ultimate.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()() 543 symbol.detailsIf<semantics::ObjectEntityDetails>()}) { in operator ()()
|
D | variable.cpp | 606 if (const auto *xObject{x.detailsIf<semantics::ObjectEntityDetails>()}) { in AreSameSymbol() 607 if (const auto *yObject{y.detailsIf<semantics::ObjectEntityDetails>()}) { in AreSameSymbol()
|
D | characteristics.cpp | 264 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/ |
D | symbol.h | 537 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()
|
D | tools.h | 85 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()
|