Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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 DDebugInfoMetadata.cpp143 {L->getScope()->getSubprogram(), L->getInlinedAt()}, I); in getMergedLocation()
162 auto IT = ALookup.find({L->getScope()->getSubprogram(), L->getInlinedAt()}); in getMergedLocation()
182 return DILocation::get(C, L1->getLine(), L1->getColumn(), L1->getScope(), in getMergedLocation()
187 if (L1->getScope()->getSubprogram() != L2->getScope()->getSubprogram()) in getMergedLocation()
193 for (; S1; S1 = S1->getScope()) { in getMergedLocation()
199 for (; S2; S2 = S2->getScope()) { in getMergedLocation()
209 auto Scope = GetNearestCommonScope(L1->getScope(), L2->getScope()); in getMergedLocation()
244 return DILocation::get(C, 0, 0, LocA->getScope(), nullptr); in getMergedLocation()
344 DIScope *DIScope::getScope() const { in getScope() function in DIScope
346 return T->getScope(); in getScope()
[all …]
H A DDebugInfo.cpp161 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc()
173 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc()
216 processScope(GV->getScope()); in processCompileUnit()
233 processScope(NS->getScope()); in processCompileUnit()
235 processScope(M->getScope()); in processCompileUnit()
254 processScope(Loc->getScope()); in processLocation()
267 processScope(DT->getScope()); in processType()
306 processScope(LB->getScope()); in processScope()
308 processScope(NS->getScope()); in processScope()
310 processScope(M->getScope()); in processScope()
[all …]
H A DDIBuilder.cpp1088 assert(DL->getScope()->getSubprogram() == in insertDeclare()
1089 VarInfo->getScope()->getSubprogram() && in insertDeclare()
1143 assert(DL->getScope()->getSubprogram() == in insertDbgIntrinsic()
1144 VarInfo->getScope()->getSubprogram() && in insertDbgIntrinsic()
1163 assert(DL->getScope()->getSubprogram() == in insertLabel()
1164 LabelInfo->getScope()->getSubprogram() && in insertLabel()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp126 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
265 if (LHS->getScope() != RHS->getScope()) in dump()
266 return LHS->getScope() < RHS->getScope(); in dump()
401 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
H A DMachOLinkGraphBuilder.cpp74 Scope MachOLinkGraphBuilder::getScope(StringRef Name, uint8_t Type) { in getScope() function in llvm::jitlink::MachOLinkGraphBuilder
322 getLinkage(Desc), getScope(*Name, Type)); in createNormalizedSymbols()
386 getScope(*NSym.Name, NSym.Type), NSym.Desc & MachO::N_NO_DEAD_STRIP); in graphifyRegularSymbols()
/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h534 DIScope *getScope() const;
754 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
1049 getScope(), getBaseType(), getSizeInBits(), in cloneImpl()
1206 getContext(), getTag(), getName(), getFile(), getLine(), getScope(), in cloneImpl()
1751 return getTemporary(getContext(), getScope(), getName(), getLinkageName(), in cloneImpl()
1862 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
1998 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); } in getScope() function
2003 DISubprogram *SP = getScope()->getSubprogram(); in getSubprogramLinkageName()
2025 DIFile *getFile() const { return getScope()->getFile(); } in getFile()
2026 StringRef getFilename() const { return getScope()->getFilename(); } in getFilename()
[all …]
H A DDebugLoc.h81 MDNode *getScope() const;
/freebsd/contrib/llvm-project/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()
/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()
524 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
558 if (AliveScopes.count(DR.getDebugLoc()->getScope())) in removeDeadInstructions()
574 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp68 if (Sym.getScope() == Scope::Default) in getJITSymbolFlagsForSymbol()
99 if (Sym->getScope() == Scope::Local) in scanLinkGraph()
241 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
254 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
440 if (Tgt.getScope() != Scope::Local) { in getBlockImmediateDeps()
469 Sym->getScope() != Scope::Local) { in claimOrExternalizeWeakAndCommonSymbols()
523 if (Sym->getScope() == Scope::Local) in registerDependencies()
561 if (Sym->getScope() == Scope::Local) { in registerDependencies()
620 if (E.getTarget().getScope() == Scope::Local && in computeBlockNonLocalDeps()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h128 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function
129 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp243 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
294 Scope = Scope->getScope();
335 const DIScope *Scope = Ty->getScope(); in getScopeIndex()
399 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
493 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
514 const DIScope *Scope = DL->getScope(); in maybeRecordLocation()
544 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
550 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1127 FuncName = getFullyQualifiedName(SP->getScope(), SP->getName()); in emitDebugInfoForFunction()
1460 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedA in collectVariableInfo()
[all...]
H A DDwarfCompileUnit.cpp160 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
171 DeclContext = SDMDecl->getScope(); in getOrCreateGlobalVariableDIE()
182 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
402 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
406 addGlobalName(Name, NDie, CB->getScope()); in getOrCreateCommonBlock()
1186 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1408 DIE *ContextDIE = getOrCreateContextDIE(IE->getScope()); in getOrCreateImportedEntityDIE()
1669 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
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 DDwarfUnit.cpp561 auto *Context = Ty->getScope(); in createTypeDIE()
628 auto *Context = Ty->getScope(); in getOrCreateTypeDIE()
686 if (const DIScope *S = Context->getScope()) in getParentContextString()
1138 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1150 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1159 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1167 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1192 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE()
1594 auto *Context = CTy->getScope(); in constructEnumTypeDIE()
1751 DIE *ContextDIE = getOrCreateContextDIE(DT->getScope()); in getOrCreateStaticMemberDIE()
H A DDwarfDebug.cpp1416 assert(!isa_and_nonnull<DILocalScope>(IE->getScope()) && in endModule()
1515 S = LV->getScope(); in getRetainedNodeScope()
1517 S = L->getScope(); in getRetainedNodeScope()
1519 S = IE->getScope(); in getRetainedNodeScope()
1626 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1895 Scope = LScopes.findInlinedScope(LocalVar->getScope(), IA); in collectEntityInfo()
1897 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in collectEntityInfo()
1966 Label->getScope()->getNonLexicalBlockFileScope(); in collectEntityInfo()
2076 const MDNode *Scope = DL.getScope(); in beginInstruction()
2105 Scope = PrevInstLoc.getScope(); in beginInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp160 SIAtomicScope getScope() const { in getScope() function in __anone9343ac70111::SIMemOpInfo
2631 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
2636 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2644 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
2649 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
2677 Changed |= CC->enableStoreCacheBypass(MI, MOI.getScope(), in expandStore()
2683 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
2720 MI, MOI.getScope(), OrderingAddrSpace, SIMemOp::LOAD | SIMemOp::STORE, in expandAtomicFence()
2733 Changed |= CC->insertRelease(MI, MOI.getScope(), OrderingAddrSpace, in expandAtomicFence()
2745 Changed |= CC->insertAcquire(MI, MOI.getScope(), OrderingAddrSpace, in expandAtomicFence()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp486 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
488 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
497 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
499 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp217 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
248 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in findFunctionSamples()
250 Name = PrevDIL->getScope()->getSubprogram()->getName(); in findFunctionSamples()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h206 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1380 Record.push_back(VE.getMetadataID(N->getScope())); in writeDILocation()
1448 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIDerivedType()
1468 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDICompositeType()
1533 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDISubprogram()
1560 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlock()
1573 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlockFile()
1585 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDINamespace()
1633 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIGlobalVariable()
1653 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILocalVariable()
1688 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIImportedEntity()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp875 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in readMemprof()
911 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in readMemprof()
913 Name = DIL->getScope()->getSubprogram()->getName(); in readMemprof()

123