Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugLoc.cpp34 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
36 return get()->getScope(); in getScope()
94 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
108 auto *Scope = cast<DIScope>(getScope()); in print()
H A DDebugInfo.cpp168 processScope(GV->getScope()); in processCompileUnit()
185 processScope(NS->getScope()); in processCompileUnit()
187 processScope(M->getScope()); in processCompileUnit()
203 processScope(Loc->getScope()); in processLocation()
210 processScope(DT->getScope()); in processType()
249 processScope(LB->getScope()); in processScope()
251 processScope(NS->getScope()); in processScope()
253 processScope(M->getScope()); in processScope()
260 processScope(SP->getScope()); in processSubprogram()
292 processScope(DV->getScope()); in processVariable()
[all …]
H A DDebugInfoMetadata.cpp117 S = S->getScope(); in getMergedLocation()
119 S = L->getScope(); in getMergedLocation()
124 S = LocB->getScope(); in getMergedLocation()
129 S = S->getScope(); in getMergedLocation()
131 S = L->getScope(); in getMergedLocation()
139 S = LocA->getScope(); in getMergedLocation()
242 return T->getScope(); in getScope()
245 return SP->getScope(); in getScope()
248 return LB->getScope(); in getScope()
251 return NS->getScope(); in getScope()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp47 if (Sym->getScope() == Scope::Local) in scanLinkGraph()
52 if (Sym->getScope() == Scope::Default) in scanLinkGraph()
213 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
219 if (Sym->getScope() == Scope::Default) in notifyResolved()
237 if (Sym->getScope() == Scope::Default) in notifyResolved()
400 if (Tgt.getScope() != Scope::Local) { in getBlockImmediateDeps()
428 Sym->getScope() != Scope::Local) { in claimOrExternalizeWeakAndCommonSymbols()
432 if (Sym->getScope() == Scope::Default) in claimOrExternalizeWeakAndCommonSymbols()
473 if (Sym->getScope() == Scope::Local) in computeNamedSymbolDependencies()
499 if (Sym->getScope() == Scope::Local) { in computeNamedSymbolDependencies()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h486 DIScope *getScope() const;
1619 DIFile *getFile() const { return getScope()->getFile(); } in getFile()
1631 return getScope(); in getInlinedAtScope()
2189 if (auto *F = dyn_cast<DILexicalBlockFile>(getScope())) in getDiscriminator()
2196 DIScope *Scope = getScope(); in cloneWithDiscriminator()
2204 Scope = LBF->getScope(); in cloneWithDiscriminator()
3116 DILocalScope *getScope() const {
3117 return cast<DILocalScope>(DIVariable::getScope());
3138 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
3188 DILocalScope *getScope() const {
[all …]
H A DDebugLoc.h81 MDNode *getScope() const;
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineAdvisor.cpp440 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation()
442 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in formatCallSiteLocation()
444 Name = DIL->getScope()->getSubprogram()->getName(); in formatCallSiteLocation()
467 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
469 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
471 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp158 SIAtomicScope getScope() const { in getScope() function in __anon363febf70111::SIMemOpInfo
2152 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2160 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2165 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
2198 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
2234 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicFence()
2247 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandAtomicFence()
2269 Changed |= CC->enableRMWCacheBypass(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
2277 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
2287 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
[all …]
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVAffinator.cpp87 Loop *SCEVAffinator::getScope() { return BB ? LI.getLoopFor(BB) : nullptr; } in getScope() function in SCEVAffinator
207 auto *Scope = getScope(); in visit()
514 auto *Scope = getScope(); in visitSDivInstruction()
531 auto *Scope = getScope(); in visitSRemInstruction()
549 return visit(SE.getSCEVAtScope(I->getOperand(0), getScope())); in visitUnknown()
H A DScopLocation.cpp32 auto *Scope = cast<DIScope>(DL.getScope()); in getDebugLocation()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DADCE.cpp428 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes()
438 collectLiveScopes(*DL.getScope()); in collectLiveScopes()
518 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
547 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp292 Scope = Scope->getScope(); in collectParentScopeNames()
333 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
397 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
512 const DIScope *Scope = DL->getScope(); in maybeRecordLocation()
1558 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt()
2181 Scope = Scope->getScope()) { in getCommonClassOptions()
3199 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo()
3224 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals()
3308 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList()
3348 const DIScope *Scope = DIGV->getScope(); in emitDebugInfoForGlobal()
[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()
1115 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1545 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
H A DDwarfDebug.cpp1108 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE()
1196 return !isa<DILocalScope>(IE->getScope()); in beginModule()
1583 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1923 Label->getScope()->getNonLexicalBlockFileScope(); in collectEntityInfo()
1947 Scope = LScopes.findLexicalScope(DV->getScope()); in collectEntityInfo()
1949 Scope = LScopes.findLexicalScope(DL->getScope()); in collectEntityInfo()
2020 const MDNode *Scope = DL.getScope(); in beginInstruction()
2049 Scope = PrevInstLoc.getScope(); in beginInstruction()
2073 const MDNode *Scope = DL.getScope(); in beginInstruction()
2245 Scope = DV->getScope(); in endFunctionImpl()
[all …]
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp638 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
641 cast<DISubprogram>(NewIntrin->getVariable()->getScope())); in TEST_F()
650 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
653 cast<DISubprogram>(NewIntrin->getVariable()->getScope())); in TEST_F()
850 EXPECT_EQ(cast<DILexicalBlock>(DbgLoc.getScope()), in TEST()
851 cast<DILexicalBlock>(ClonedDbgLoc.getScope())); in TEST()
1045 EXPECT_EQ(GV->getScope(), SP); in TEST_F()
1076 EXPECT_EQ(GV->getScope(), SP); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp491 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
493 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
501 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
503 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A DIRBindings.cpp70 wrap(Loc.getScope()), in LLVMGoGetCurrentDebugLocation()
/llvm-project-15.0.7/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()

1234