Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp64 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
66 return get()->getScope(); in getScope()
122 *LocToUpdate->getScope(), NewSP, Ctx, Cache); in replaceInlinedAtSubprogram()
133 LocToUpdate->getScope(), UpdatedLoc); in replaceInlinedAtSubprogram()
165 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
200 auto *Scope = cast<DIScope>(getScope()); in print()
H A DDroppedVariableStats.cpp104 VarID Key{DbgVar->getScope(), DbgLoc->getInlinedAtScope(), DbgVar}; in populateVarIDSetAndInlinedMap()
125 Scope = Scope->getScope(); in isScopeChildOfOrEqualTo()
H A DDebugInfoMetadata.cpp172 DIScope *S1 = L1->getScope(); in getNearestMatchingScope()
173 DIScope *S2 = L2->getScope(); in getNearestMatchingScope()
176 for (; S1; S1 = S1->getScope()) { in getNearestMatchingScope()
184 for (; S2; S2 = S2->getScope()) { in getNearestMatchingScope()
274 {L->getScope()->getSubprogram(), L->getInlinedAt()}, I); in getMergedLocation()
293 auto IT = ALookup.find({L->getScope()->getSubprogram(), L->getInlinedAt()}); in getMergedLocation()
316 return DILocation::get(C, L1->getLine(), L1->getColumn(), L1->getScope(), in getMergedLocation()
322 if (L1->getScope()->getSubprogram() != L2->getScope()->getSubprogram()) in getMergedLocation()
423 return DILocation::get(C, 0, 0, LocA->getScope(), nullptr, false, in getMergedLocation()
524 DIScope *DIScope::getScope() const { in getScope() function in DIScope
[all …]
H A DDebugInfo.cpp179 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc()
191 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc()
234 processScope(GV->getScope()); in processCompileUnit()
263 processScope(Loc->getScope()); in processLocation()
276 processScope(DT->getScope()); in processType()
304 processScope(NS->getScope()); in processImportedEntity()
306 processScope(M->getScope()); in processImportedEntity()
327 processScope(LB->getScope()); in processScope()
329 processScope(NS->getScope()); in processScope()
331 processScope(M->getScope()); in processScope()
[all …]
H A DDroppedVariableStatsIR.cpp112 if (updateDroppedCount(DbgLoc, DbgLoc->getScope(), DbgValScope, in visitEveryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLinkGraphLayer.cpp51 if (Sym->getScope() == Scope::Local) in getInterface()
81 if (Sym.getScope() == Scope::Default) in getJITSymbolFlagsForSymbol()
83 else if (Sym.getScope() == Scope::SideEffectsOnly) in getJITSymbolFlagsForSymbol()
H A DLinkGraphLinkingLayer.cpp133 if (Sym->getScope() < Scope::SideEffectsOnly) { in notifyResolved()
145 if (Sym->getScope() < Scope::SideEffectsOnly) { in notifyResolved()
271 Sym->getScope() != Scope::Local) { in claimOrExternalizeWeakAndCommonSymbols()
333 if (Sym->getScope() != Scope::Local) in registerDependencies()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp127 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
295 if (LHS->getScope() != RHS->getScope()) in dump()
296 return LHS->getScope() < RHS->getScope(); in dump()
444 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h260 getCol() == Other.getCol() && getScope() == Other.getScope() &&
266 LLVM_ABI MDNode *getScope() const;
H A DDebugInfoMetadata.h538 LLVM_ABI DIScope *getScope() const;
760 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
1329 getContext(), getTag(), getRawName(), getFile(), getLine(), getScope(), in cloneImpl()
1492 getScope(), getRawSizeInBits(), getAlignInBits(), in cloneImpl()
1668 getContext(), getTag(), getRawName(), getFile(), getLine(), getScope(), in cloneImpl()
2302 return getTemporary(getContext(), getScope(), getName(), getLinkageName(), in cloneImpl()
2418 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
2561 return get(getContext(), getLine(), getColumn(), getScope(), getInlinedAt(), in getWithoutAtom()
2586 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); } in getScope() function
2591 DISubprogram *SP = getScope()->getSubprogram(); in getSubprogramLinkageName()
[all …]
/freebsd/contrib/llvm-project/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.cpp70 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0()
73 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0()
H A DDroppedVariableStatsMIR.cpp66 auto *Scope = DbgLoc->getScope(); in visitEveryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp484 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation()
486 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in formatCallSiteLocation()
488 Name = DIL->getScope()->getSubprogram()->getName(); in formatCallSiteLocation()
511 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
513 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
515 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp433 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes()
443 collectLiveScopes(*DL.getScope()); in collectLiveScopes()
522 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
556 if (AliveScopes.count(DR.getDebugLoc()->getScope())) in removeDeadInstructions()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunction.h147 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function
148 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope() function
H A DInterpFrame.cpp95 for (auto &Local : Func->getScope(Idx).locals()) { in initScope()
101 for (auto &Local : Func->getScope(Idx).locals_reverse()) { in destroy()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp162 SIAtomicScope getScope() const { in getScope() function in __anone9343ac70111::SIMemOpInfo
2613 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
2618 Changed |= CC->insertWait(MI, MOI.getScope(), MOI.getOrderingAddrSpace(), in expandLoad()
2626 MI, MOI.getScope(), MOI.getInstrAddrSpace(), SIMemOp::LOAD, in expandLoad()
2628 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
2656 Changed |= CC->enableStoreCacheBypass(MI, MOI.getScope(), in expandStore()
2662 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
2700 MI, MOI.getScope(), OrderingAddrSpace, SIMemOp::LOAD | SIMemOp::STORE, in expandAtomicFence()
2714 Changed |= CC->insertRelease(MI, MOI.getScope(), OrderingAddrSpace, in expandAtomicFence()
2726 Changed |= CC->insertAcquire(MI, MOI.getScope(), OrderingAddrSpace, in expandAtomicFence()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp487 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
489 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
498 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
500 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp245 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
296 Scope = Scope->getScope(); in collectParentScopeNames()
337 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
401 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
495 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
516 const DIScope *Scope = DL->getScope(); in maybeRecordLocation()
546 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
552 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1134 FuncName = getFullyQualifiedName(SP->getScope(), SP->getName()); in emitDebugInfoForFunction()
1474 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
[all …]
H A DDbgEntityHistoryCalculator.cpp154 Scope = LScopes.findInlinedScope(LocalVar->getScope(), InlinedAt); in trimLocationRanges()
156 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in trimLocationRanges()
166 (Scope->getScopeNode() == LocalVar->getScope())) in trimLocationRanges()
H A DDwarfCompileUnit.cpp186 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
197 DeclContext = SDMDecl->getScope(); in getOrCreateGlobalVariableDIE()
208 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
426 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
430 addGlobalName(Name, NDie, CB->getScope()); in getOrCreateCommonBlock()
1219 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1441 DIE *ContextDIE = getOrCreateContextDIE(IE->getScope()); in getOrCreateImportedEntityDIE()
1720 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
H A DDwarfUnit.cpp583 auto *Context = Ty->getScope(); in createTypeDIE()
654 auto *Context = Ty->getScope(); in getOrCreateTypeDIE()
719 if (const DIScope *S = Context->getScope()) in getParentContextString()
781 DIE *ContextDIE = getOrCreateContextDIE(BTy->getScope()); in constructTypeDIE()
1289 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1301 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1310 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1318 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1343 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE()
1821 auto *Context = CTy->getScope(); in constructEnumTypeDIE()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfUse.cpp195 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in extractCallsFromIR()
492 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in readMemprof()
526 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in readMemprof()
528 Name = DIL->getScope()->getSubprogram()->getName(); in readMemprof()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp246 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
277 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in findFunctionSamples()
279 Name = PrevDIL->getScope()->getSubprogram()->getName(); in findFunctionSamples()

123