Home
last modified time | relevance | path

Searched refs:parentScope (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassTiming.cpp60 TimingScope *parentScope; in runBeforePipeline() local
64 parentScope = in runBeforePipeline()
67 parentScope = &rootScope; in runBeforePipeline()
69 parentScope = &activeTimers.back(); in runBeforePipeline()
75 activeTimers.push_back(parentScope->nest(timerId, [name] { in runBeforePipeline()
94 auto &parentScope = activeTimers.empty() ? rootScope : activeTimers.back(); in runBeforePass() local
99 parentScope.nest(pass->getThreadingSiblingOrThis(), in runBeforePass()
106 parentScope.nest(pass->getThreadingSiblingOrThis(), in runBeforePass()
131 auto &parentScope = activeTimers.empty() ? rootScope : activeTimers.back(); in runBeforeAnalysis() local
132 activeTimers.push_back(parentScope.nest( in runBeforeAnalysis()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dmod-file.cpp1008 Scope *parentScope; // the scope this module/submodule goes into in Read() local
1021 parentScope = &topScope; in Read()
1023 parentScope = Read(*parent, false /*not intrinsic*/, ancestor, silent); in Read()
1025 parentScope = ancestor; in Read()
1027 auto pair{parentScope->try_emplace(name, UnknownDetails{})}; in Read()
H A Dcheck-do-forall.cpp556 const Scope &parentScope{ in GatherLocals() local
564 if (const Symbol * symbol{parentScope.FindSymbol(name.source)}) { in GatherLocals()
H A Druntime-type-info.cpp950 if (const Scope * parentScope{dtScope.GetDerivedTypeParent()}) { in CollectBindings() local
951 result = CollectBindings(*parentScope); in CollectBindings()
H A Dtools.cpp490 if (const Scope * parentScope{parentDerived->typeSymbol().scope()}) { in FindOverriddenBinding() local
491 return parentScope->FindComponent(symbol.name()); in FindOverriddenBinding()
H A Dexpression.cpp1104 parentScope{parentType->derivedTypeSpec().scope()}) { in CreateComponent() local
1107 component, *parentScope); in CreateComponent()
2203 if (const auto *parentScope{symbol.owner().GetDerivedTypeParent()}) { in ResolveGeneric() local
2204 if (const Symbol * extended{parentScope->FindComponent(symbol.name())}) { in ResolveGeneric()
H A Dresolve-names.cpp2944 Scope *parentScope{nullptr}; in BeginSubmodule() local
2949 parentScope = FindModule(*parentName, false /*not intrinsic*/, ancestor); in BeginSubmodule()
2951 parentScope = ancestor; in BeginSubmodule()
2954 if (parentScope) { in BeginSubmodule()
2955 PushScope(*parentScope); in BeginSubmodule()
2962 parentScope = &currScope(); in BeginSubmodule()
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp1329 const semantics::Scope *parentScope = &scope; in analyzeAliasesInCurrentScope() local
1330 while (!parentScope->IsGlobal()) { in analyzeAliasesInCurrentScope()
1331 parentScope = &parentScope->parent(); in analyzeAliasesInCurrentScope()
1332 if (parentScope->IsModule()) in analyzeAliasesInCurrentScope()
1333 analyzeAliases(*parentScope); in analyzeAliasesInCurrentScope()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp65 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()
67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
/llvm-project-15.0.7/mlir/lib/IR/
H A DAsmPrinter.cpp962 UsedNamesScopeTy *parentScope; in SSANameState() local
963 std::tie(region, nextValueID, nextArgumentID, nextConflictID, parentScope) = in SSANameState()
968 while (usedNames.getCurScope() != parentScope) { in SSANameState()
970 assert((usedNames.getCurScope() != nullptr || parentScope == nullptr) && in SSANameState()