Home
last modified time | relevance | path

Searched refs:ultimate (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcheck-expression.cpp48 return IsNamedConstant(ultimate) || IsImpliedDoIndex(ultimate) || in operator ()()
223 ultimate.name()); in operator ()()
232 ultimate.name()); in operator ()()
236 } else if (!IsSaved(ultimate)) { in operator ()()
240 ultimate.name()); in operator ()()
296 if (IsAllocatable(ultimate)) { in CheckVarOrComponent()
300 ultimate.name()); in CheckVarOrComponent()
308 ultimate.name()); in CheckVarOrComponent()
344 ultimate.details()); in IsInitialProcedureTarget()
518 ultimate.owner().IsModule() || ultimate.owner().IsSubmodule()) { in operator ()()
[all …]
H A Dcall.cpp121 const Symbol &ultimate{symbol->GetUltimate()}; in GetInterfaceSymbol() local
122 if (const auto *proc{ultimate.detailsIf<semantics::ProcEntityDetails>()}) { in GetInterfaceSymbol()
125 ultimate.detailsIf<semantics::ProcBindingDetails>()}) { in GetInterfaceSymbol()
127 } else if (ultimate.has<semantics::SubprogramDetails>()) { in GetInterfaceSymbol()
128 return &ultimate; in GetInterfaceSymbol()
H A Dvariable.cpp262 const Symbol &ultimate{symbol.GetUltimate()}; in SymbolLEN() local
263 if (const auto *assoc{ultimate.detailsIf<semantics::AssocEntityDetails>()}) { in SymbolLEN()
268 if (auto dyType{DynamicType::From(ultimate)}) { in SymbolLEN()
272 } else if (ultimate.owner().IsDerivedType() || in SymbolLEN()
279 if (IsDescriptor(ultimate) && !ultimate.owner().IsDerivedType()) { in SymbolLEN()
H A Dtools.cpp1258 const Symbol &ultimate{symbol.GetUltimate()}; in IsFunction() local
1259 return ultimate.test(Symbol::Flag::Function) || in IsFunction()
1260 (!ultimate.test(Symbol::Flag::Subroutine) && in IsFunction()
1274 ultimate.details())); in IsFunction()
1414 const Symbol &ultimate{ResolveAssociations(symbol)}; in IsAssumedShape() local
1415 const auto *object{ultimate.detailsIf<ObjectEntityDetails>()}; in IsAssumedShape()
1417 !evaluate::IsAllocatableOrPointer(ultimate); in IsAssumedShape()
1421 const Symbol &ultimate{ResolveAssociations(symbol)}; in IsDeferredShape() local
1422 const auto *object{ultimate.detailsIf<ObjectEntityDetails>()}; in IsDeferredShape()
1424 evaluate::IsAllocatableOrPointer(ultimate); in IsDeferredShape()
H A Dcharacteristics.cpp72 const auto &ultimate{symbol.GetUltimate()}; in Characterize() local
96 if (const semantics::DeclTypeSpec * type{ultimate.GetType()}) { in Characterize()
99 std::move(*dyType), GetShape(context, ultimate)}; in Characterize()
100 result.AcquireAttrs(ultimate); in Characterize()
101 result.AcquireLEN(ultimate); in Characterize()
112 ultimate.details()); in Characterize()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtools.cpp195 const Symbol &ultimate{symbol.GetUltimate()}; in IsGenericDefinedOp() local
364 if (IsDummy(ultimate)) { in FindExternallyVisibleObject()
365 if (IsIntentIn(ultimate)) { in FindExternallyVisibleObject()
366 return &ultimate; in FindExternallyVisibleObject()
368 if (IsPointer(ultimate) && IsPureProcedure(ultimate.owner()) && in FindExternallyVisibleObject()
369 IsFunction(ultimate.owner())) { in FindExternallyVisibleObject()
370 return &ultimate; in FindExternallyVisibleObject()
535 if (object.symbol == ultimate) { in FindEquivalenceSet()
1115 if (!IsProcedure(ultimate)) { in ClassifyProcedure()
1124 } else if (IsPointer(ultimate)) { in ClassifyProcedure()
[all …]
H A Drewrite-parse-tree.cpp103 const Symbol &ultimate{symbol->GetUltimate()}; in Post() local
105 ultimate.has<ObjectEntityDetails>() || ReturnsDataPointer(ultimate); in Post()
H A Dcheck-declarations.cpp656 if (ultimate.attrs().test(Attr::INTRINSIC)) { in CheckPointerInitialization()
659 ultimate.name().ToString())}; in CheckPointerInitialization()
665 ultimate.name(), symbol.name()); in CheckPointerInitialization()
671 symbol.name(), ultimate.name()); in CheckPointerInitialization()
672 } else if (IsElementalProcedure(ultimate)) { in CheckPointerInitialization()
675 symbol.name(), ultimate.name()); in CheckPointerInitialization()
1482 const Symbol &ultimate{symbol.GetUltimate()}; in CheckVolatile() local
1483 if (evaluate::IsCoarray(ultimate)) { in CheckVolatile()
1857 const Symbol &ultimate{symbol.GetUltimate()}; in CheckGenericOps() local
1858 if (ultimate.has<DerivedTypeDetails>()) { in CheckGenericOps()
[all …]
H A Dresolve-names.cpp3116 } else if (&specific == &ultimate) { in ResolveSpecificsInGeneric()
3123 ultimate.name(), ultimate.owner().GetName().value(), in ResolveSpecificsInGeneric()
5679 auto *generic{ultimate ? ultimate->detailsIf<GenericDetails>() : nullptr}; in ResolveDerivedType()
6685 if (IsAllocatable(ultimate)) { in Initialization()
6734 if (!context().HasError(ultimate)) { in PointerInitialization()
6735 if (IsPointer(ultimate)) { in PointerInitialization()
6747 context().SetError(ultimate); in PointerInitialization()
6756 if (!context().HasError(ultimate)) { in PointerInitialization()
6757 if (IsProcedurePointer(ultimate)) { in PointerInitialization()
6773 context().SetError(ultimate); in PointerInitialization()
[all …]
H A Dexpression.cpp353 const Symbol &ultimate{symbol->GetUltimate()}; in FixMisparsedSubstringDataRef() local
355 if (!ultimate.IsObjectArray() && in FixMisparsedSubstringDataRef()
774 const Symbol &ultimate{n.symbol->GetUltimate()}; in Analyze() local
775 if (ultimate.has<semantics::TypeParamDetails>()) { in Analyze()
779 ultimate, AsGenericExpr(TypeParamInquiry{std::nullopt, ultimate}))); in Analyze()
2144 const Symbol &ultimate{symbol.GetUltimate()}; in ResolveGeneric() local
2146 if (ultimate.attrs().test(semantics::Attr::INTRINSIC)) { in ResolveGeneric()
2154 return {&ultimate, false}; in ResolveGeneric()
2301 const Symbol &ultimate{DEREF(symbol).GetUltimate()}; in GetCalleeAndArguments() local
2302 CheckForBadRecursion(name.source, ultimate); in GetCalleeAndArguments()
[all …]
H A Dsymbol.cpp433 const Symbol &ultimate{use.GetUltimate()}; in operator <<() local
434 os << sep << ultimate.name() << "->" in operator <<()
435 << ultimate.owner().GetName().value(); in operator <<()
H A Dmod-file.cpp1089 const Symbol &ultimate{useDetails->symbol().GetUltimate()}; in Collect() local
1090 bool needed{useSet_.count(ultimate) > 0}; in Collect()
1091 if (const auto *generic{ultimate.detailsIf<GenericDetails>()}) { in Collect()
1098 } else if (const auto *subp{ultimate.detailsIf<SubprogramDetails>()}) { in Collect()
H A Dcheck-do-forall.cpp157 for (const auto &ultimate : ultimates) { in MightDeallocatePolymorphic() local
158 if (WillDeallocatePolymorphic(ultimate, WillDeallocate)) { in MightDeallocatePolymorphic()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp226 const Fortran::semantics::Symbol &ultimate = symbol.GetUltimate(); in genSymbolType() local
227 if (Fortran::semantics::IsProcedurePointer(ultimate)) in genSymbolType()
229 if (const Fortran::semantics::DeclTypeSpec *type = ultimate.GetType()) { in genSymbolType()
234 translateLenParameters(params, tySpec->category(), ultimate); in genSymbolType()
247 if (ultimate.IsObjectArray()) { in genSymbolType()
249 converter.getFoldingContext()}(ultimate); in genSymbolType()
H A DPFTBuilder.cpp1337 if (skipSymbol(ultimate)) in analyzeAliasesInCurrentScope()
1339 analyzeAliases(ultimate.owner()); in analyzeAliasesInCurrentScope()
1414 semantics::Symbol ultimate = sym.GetUltimate(); in analyze() local
1416 ultimate.detailsIf<semantics::NamelistDetails>()) { in analyze()
1422 if (!ultimate.has<semantics::ObjectEntityDetails>() && in analyze()
1474 if (ultimate.attrs().test(semantics::Attr::TARGET)) in analyze()
1494 const semantics::Symbol &ultimate = sym.GetUltimate(); in findStoreIfAlias() local
1495 const semantics::Scope &scope = ultimate.owner(); in findStoreIfAlias()
1498 if (aliasSyms.find(&ultimate) != aliasSyms.end()) { in findStoreIfAlias()
1501 std::size_t off = ultimate.offset(); in findStoreIfAlias()
[all …]
H A DDumpEvaluateExpr.cpp44 const auto &ultimate{symbol.GetUltimate()}; in show() local
47 ultimate.detailsIf<Fortran::semantics::AssocEntityDetails>()) { in show()
H A DBridge.cpp283 const Fortran::semantics::Symbol &ultimate = sym.GetUltimate(); in collectHostAssociatedVariables() local
285 ultimate.detailsIf<Fortran::semantics::NamelistDetails>(); in collectHostAssociatedVariables()
286 if (ultimate.has<Fortran::semantics::ObjectEntityDetails>() || in collectHostAssociatedVariables()
287 Fortran::semantics::IsProcedurePointer(ultimate) || in collectHostAssociatedVariables()
289 const Fortran::semantics::Scope &ultimateScope = ultimate.owner(); in collectHostAssociatedVariables()
305 escapees.insert(&ultimate); in collectHostAssociatedVariables()
2722 const Fortran::semantics::Symbol &ultimate = sym.GetUltimate(); in startNewFunction() local
2723 if (funit.parentHostAssoc().isAssociated(ultimate)) { in startNewFunction()
2725 localSymbols.lookupSymbol(ultimate); in startNewFunction()
H A DConvertVariable.cpp131 const Fortran::semantics::Symbol &ultimate = sym.GetUltimate(); in declareGlobal() local
132 if (!ultimate.has<Fortran::semantics::ObjectEntityDetails>() && in declareGlobal()
133 !Fortran::semantics::IsProcedurePointer(ultimate)) in declareGlobal()
137 mlir::Attribute{}, isConstant(ultimate)); in declareGlobal()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtraverse.h109 const Symbol &ultimate{symbol.GetUltimate()}; in operator()
111 ultimate.detailsIf<semantics::AssocEntityDetails>()}) { in operator()
/llvm-project-15.0.7/llvm/docs/
H A DDirectXUsage.rst75 both ``DXBC`` and ``DXIL`` outputs, and the ultimate goal is to support both as
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/
H A DTransformDialect.td260 deep pass parameterization, the ultimate form of which is an ad-hoc dialect
/llvm-project-15.0.7/mlir/cmake/modules/
H A DAddMLIR.cmake332 # which excludes it if the ultimate link target is excluding the library.
/llvm-project-15.0.7/clang/docs/analyzer/developer-docs/
H A DInitializerLists.rst79 symbol attached to it should also escape". This sounds like an ultimate freedom,
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl04.rst123 ultimate optimization experience in this setting, but we also want to
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Duser_guide.md225 ultimate result will be statistically stable. As such, faster benchmark

12