Home
last modified time | relevance | path

Searched refs:getScope (Results 1 – 25 of 63) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDebugLoc.cpp34 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
36 return get()->getScope(); in getScope()
92 *LocToUpdate->getScope(), NewSP, Ctx, Cache); in replaceInlinedAtSubprogram()
103 LocToUpdate->getScope(), UpdatedLoc); in replaceInlinedAtSubprogram()
134 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
148 auto *Scope = cast<DIScope>(getScope()); in print()
H A DDebugInfo.cpp141 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc()
184 processScope(GV->getScope()); in processCompileUnit()
201 processScope(NS->getScope()); in processCompileUnit()
203 processScope(M->getScope()); in processCompileUnit()
219 processScope(Loc->getScope()); in processLocation()
226 processScope(DT->getScope()); in processType()
265 processScope(LB->getScope()); in processScope()
267 processScope(NS->getScope()); in processScope()
269 processScope(M->getScope()); in processScope()
276 processScope(SP->getScope()); in processSubprogram()
[all …]
H A DDebugInfoMetadata.cpp121 DIScope *S = LocA->getScope(); in getMergedLocation()
129 S = S->getScope(); in getMergedLocation()
133 S = L->getScope(); in getMergedLocation()
145 S = LocB->getScope(); in getMergedLocation()
170 S = LocA->getScope(); in getMergedLocation()
273 DIScope *DIScope::getScope() const { in getScope() function in DIScope
275 return T->getScope(); in getScope()
278 return SP->getScope(); in getScope()
281 return LB->getScope(); in getScope()
284 return NS->getScope(); in getScope()
[all …]
H A DDIBuilder.cpp1088 assert(DL->getScope()->getSubprogram() == in insertDeclare()
1089 VarInfo->getScope()->getSubprogram() && in insertDeclare()
1116 assert(DL->getScope()->getSubprogram() == in insertDbgIntrinsic()
1117 VarInfo->getScope()->getSubprogram() && in insertDbgIntrinsic()
1136 assert(DL->getScope()->getSubprogram() == in insertLabel()
1137 LabelInfo->getScope()->getSubprogram() && in insertLabel()
/openbsd-src/gnu/llvm/llvm/tools/opt/
H A DBreakpointPrinter.cpp33 getContextName(NS->getScope(), N); in getContextName()
38 getContextName(TY->getScope(), N); in getContextName()
52 getContextName(SP->getScope(), Name); in runOnModule()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp106 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
245 if (LHS->getScope() != RHS->getScope()) in dump()
246 return LHS->getScope() < RHS->getScope(); in dump()
380 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp47 if (Sym->getScope() == Scope::Local) in scanLinkGraph()
52 if (Sym->getScope() == Scope::Default) in scanLinkGraph()
190 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
196 if (Sym->getScope() == Scope::Default) in notifyResolved()
211 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
216 if (Sym->getScope() == Scope::Default) in notifyResolved()
379 if (Tgt.getScope() != Scope::Local) { in getBlockImmediateDeps()
407 Sym->getScope() != Scope::Local) { in claimOrExternalizeWeakAndCommonSymbols()
411 if (Sym->getScope() == Scope::Default) in claimOrExternalizeWeakAndCommonSymbols()
458 if (Sym->getScope() == Scope::Local) in computeNamedSymbolDependencies()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLexicalScopes.cpp125 DILocalScope *Scope = DL->getScope(); in findLexicalScope()
171 Parent = getOrCreateLexicalScope(Block->getScope()); in getOrCreateRegularScope()
199 Parent = getOrCreateInlinedScope(Block->getScope(), InlinedAt); in getOrCreateInlinedScope()
222 Parent = getOrCreateAbstractScope(Block->getScope()); in getOrCreateAbstractScope()
H A DMIRFSDiscriminator.cpp57 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
60 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
H A DPseudoProbeInserter.cpp131 auto *SP = DL->getScope()->getSubprogram(); in getFuncGUID()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h523 DIScope *getScope() const;
742 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
1002 getContext(), getTag(), getName(), getFile(), getLine(), getScope(), in cloneImpl()
1137 getContext(), getTag(), getName(), getFile(), getLine(), getScope(), in cloneImpl()
1652 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); } in getScope() function
1667 DIFile *getFile() const { return getScope()->getFile(); } in getFile()
1668 StringRef getFilename() const { return getScope()->getFilename(); } in getFilename()
1669 StringRef getDirectory() const { return getScope()->getDirectory(); } in getDirectory()
1670 std::optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource()
1679 return getScope(); in getInlinedAtScope()
[all …]
H A DDebugLoc.h81 MDNode *getScope() const;
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineAdvisor.cpp449 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation()
451 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in formatCallSiteLocation()
453 Name = DIL->getScope()->getSubprogram()->getName(); in formatCallSiteLocation()
476 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
478 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
480 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DFunction.h118 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function
119 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope() function
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp158 SIAtomicScope getScope() const { in getScope() function in __anon623980fe0111::SIMemOpInfo
2136 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
2141 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2149 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2154 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
2181 Changed |= CC->enableStoreCacheBypass(MI, MOI.getScope(), in expandStore()
2187 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
2223 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicFence()
2236 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandAtomicFence()
2258 Changed |= CC->enableRMWCacheBypass(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DADCE.cpp429 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes()
439 collectLiveScopes(*DL.getScope()); in collectLiveScopes()
519 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
553 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp242 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
290 Scope = Scope->getScope(); in collectParentScopeNames()
331 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
395 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
489 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
510 const DIScope *Scope = DL->getScope(); in maybeRecordLocation()
540 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
546 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1121 FuncName = getFullyQualifiedName(SP->getScope(), SP->getName()); in emitDebugInfoForFunction()
1436 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
[all …]
H A DPseudoProbePrinter.cpp35 const DISubprogram *SP = InlinedAt->getScope()->getSubprogram(); in emitPseudoProbe()
H A DDbgEntityHistoryCalculator.cpp151 Scope = LScopes.findInlinedScope(LocalVar->getScope(), InlinedAt); in trimLocationRanges()
153 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in trimLocationRanges()
163 (Scope->getScopeNode() == LocalVar->getScope())) in trimLocationRanges()
H A DDwarfCompileUnit.cpp144 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
155 DeclContext = SDMDecl->getScope(); in getOrCreateGlobalVariableDIE()
166 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
367 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
371 addGlobalName(Name, NDie, CB->getScope()); in getOrCreateCommonBlock()
1120 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1550 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
H A DDwarfDebug.cpp1134 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE()
1136 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
1222 return !isa<DILocalScope>(IE->getScope()); in beginModule()
1609 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1878 Scope = LScopes.findInlinedScope(LocalVar->getScope(), IA); in collectEntityInfo()
1880 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in collectEntityInfo()
1949 Label->getScope()->getNonLexicalBlockFileScope(); in collectEntityInfo()
1973 Scope = LScopes.findLexicalScope(DV->getScope()); in collectEntityInfo()
1975 Scope = LScopes.findLexicalScope(DL->getScope()); in collectEntityInfo()
2057 const MDNode *Scope = DL.getScope(); in beginInstruction()
[all …]
H A DDwarfUnit.cpp560 auto *Context = Ty->getScope(); in createTypeDIE()
622 auto *Context = Ty->getScope(); in getOrCreateTypeDIE()
669 if (const DIScope *S = Context->getScope()) in getParentContextString()
1104 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1116 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1125 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1133 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1158 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE()
1559 auto *Context = CTy->getScope(); in constructEnumTypeDIE()
1709 DIE *ContextDIE = getOrCreateContextDIE(DT->getScope()); in getOrCreateStaticMemberDIE()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp493 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
495 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
503 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
505 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
H A DStripSymbols.cpp324 collectCUsWithScope(Scope->getScope(), LiveCUs, VisitedScopes); in collectCUsWithScope()
333 collectCUsWithScope(Loc->getScope(), LiveCUs, VisitedScopes); in collectCUsForInlinedFuncs()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DSampleProf.cpp217 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
254 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in findFunctionSamples()
256 Name = PrevDIL->getScope()->getSubprogram()->getName(); in findFunctionSamples()

123