Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DDebugLoc.cpp35 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
37 return get()->getScope(); in getScope()
95 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
109 auto *Scope = cast<DIScope>(getScope()); in print()
DDebugInfoMetadata.cpp112 DIScope *S = LocA->getScope(); in getMergedLocation()
116 S = S->getScope(); in getMergedLocation()
118 S = L->getScope(); in getMergedLocation()
123 S = LocB->getScope(); in getMergedLocation()
128 S = S->getScope(); in getMergedLocation()
130 S = L->getScope(); in getMergedLocation()
138 S = LocA->getScope(); in getMergedLocation()
237 DIScope *DIScope::getScope() const { in getScope() function in DIScope
239 return T->getScope(); in getScope()
242 return SP->getScope(); in getScope()
[all …]
DDebugInfo.cpp169 processScope(GV->getScope()); in processCompileUnit()
186 processScope(NS->getScope()); in processCompileUnit()
188 processScope(M->getScope()); in processCompileUnit()
204 processScope(Loc->getScope()); in processLocation()
211 processScope(DT->getScope()); in processType()
250 processScope(LB->getScope()); in processScope()
252 processScope(NS->getScope()); in processScope()
254 processScope(M->getScope()); in processScope()
261 processScope(SP->getScope()); in processSubprogram()
293 processScope(DV->getScope()); in processVariable()
[all …]
DDIBuilder.cpp986 assert(DL->getScope()->getSubprogram() == in insertDeclare()
987 VarInfo->getScope()->getSubprogram() && in insertDeclare()
1009 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
1010 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
1031 assert(DL->getScope()->getSubprogram() == in insertLabel()
1032 LabelInfo->getScope()->getSubprogram() && in insertLabel()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/opt/
DBreakpointPrinter.cpp33 getContextName(NS->getScope(), N); in getContextName()
38 getContextName(TY->getScope(), N); in getContextName()
52 getContextName(SP->getScope(), Name); in runOnModule()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLink.cpp109 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
244 if (LHS->getScope() != RHS->getScope()) in dump()
245 return LHS->getScope() < RHS->getScope(); in dump()
379 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DInlineAdvisor.cpp397 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in getCallSiteLocation()
399 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in getCallSiteLocation()
401 Name = DIL->getScope()->getSubprogram()->getName(); in getCallSiteLocation()
423 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
425 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
427 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h491 DIScope *getScope() const;
707 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
955 getScope(), getBaseType(), getSizeInBits(), in cloneImpl()
1104 getScope(), getBaseType(), getSizeInBits(), in cloneImpl()
1609 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); } in getScope() function
1624 DIFile *getFile() const { return getScope()->getFile(); } in getFile()
1625 StringRef getFilename() const { return getScope()->getFilename(); } in getFilename()
1626 StringRef getDirectory() const { return getScope()->getDirectory(); } in getDirectory()
1627 Optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource()
1636 return getScope(); in getInlinedAtScope()
[all …]
DDebugLoc.h81 MDNode *getScope() const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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()
DMIRFSDiscriminator.cpp55 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
58 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
DPseudoProbeInserter.cpp126 auto *SP = DL->getScope()->getSubprogram(); in getFuncGUID()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp53 if (Sym->getScope() == Scope::Local) in scanLinkGraph()
58 if (Sym->getScope() == Scope::Default) in scanLinkGraph()
210 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
216 if (Sym->getScope() == Scope::Default) in notifyResolved()
390 if (Tgt.getScope() != Scope::Local) { in getBlockImmediateDeps()
421 if (Sym->getScope() == Scope::Default) in claimOrExternalizeWeakAndCommonSymbols()
462 if (Sym->getScope() == Scope::Local) in computeNamedSymbolDependencies()
488 if (Sym->getScope() == Scope::Local) { in computeNamedSymbolDependencies()
529 if (E.getTarget().getScope() == Scope::Local) { in computeBlockNonLocalDeps()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DSIMemoryLegalizer.cpp158 SIAtomicScope getScope() const { in getScope() function in __anon00e9b7df0111::SIMemOpInfo
1661 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
1666 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
1674 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
1679 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
1706 Changed |= CC->enableStoreCacheBypass(MI, MOI.getScope(), in expandStore()
1712 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
1748 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicFence()
1761 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandAtomicFence()
1783 Changed |= CC->enableRMWCacheBypass(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp249 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
297 Scope = Scope->getScope(); in collectParentScopeNames()
338 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
393 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
487 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
508 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
538 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
544 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1040 FuncName = getFullyQualifiedName(SP->getScope(), SP->getName()); in emitDebugInfoForFunction()
1351 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
[all …]
DPseudoProbePrinter.cpp33 const DISubprogram *SP = InlinedAt->getScope()->getSubprogram(); in emitPseudoProbe()
DDwarfUnit.cpp554 auto *Context = Ty->getScope(); in createTypeDIE()
618 auto *Context = Ty->getScope(); in getOrCreateTypeDIE()
665 if (const DIScope *S = Context->getScope()) in getParentContextString()
1052 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1064 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1073 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1081 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1106 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE()
1512 auto *Context = CTy->getScope(); in constructEnumTypeDIE()
1668 DIE *ContextDIE = getOrCreateContextDIE(DT->getScope()); in getOrCreateStaticMemberDIE()
DDbgEntityHistoryCalculator.cpp152 Scope = LScopes.findInlinedScope(LocalVar->getScope(), InlinedAt); in trimLocationRanges()
154 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in trimLocationRanges()
164 (Scope->getScopeNode() == LocalVar->getScope())) in trimLocationRanges()
DDwarfCompileUnit.cpp143 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
156 DeclContext = SDMDecl->getScope(); in getOrCreateGlobalVariableDIE()
167 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
336 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
343 addGlobalName(Name, NDie, CB->getScope()); in getOrCreateCommonBlock()
1104 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1521 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
DDwarfDebug.cpp1116 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE()
1118 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
1204 return !isa<DILocalScope>(IE->getScope()); in beginModule()
1589 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1858 Scope = LScopes.findInlinedScope(LocalVar->getScope(), IA); in collectEntityInfo()
1860 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in collectEntityInfo()
1929 Label->getScope()->getNonLexicalBlockFileScope(); in collectEntityInfo()
1953 Scope = LScopes.findLexicalScope(DV->getScope()); in collectEntityInfo()
1955 Scope = LScopes.findLexicalScope(DL->getScope()); in collectEntityInfo()
2026 const MDNode *Scope = DL.getScope(); in beginInstruction()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DADCE.cpp429 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes()
439 collectLiveScopes(*DL.getScope()); in collectLiveScopes()
519 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
548 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DSampleContextTracker.cpp432 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
434 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
442 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
444 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ProfileData/
DSampleProf.cpp202 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
235 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
DFunction.h97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DLexicalScopes.h206 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()

123