| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugLoc.cpp | 34 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 D | DebugInfoMetadata.cpp | 183 if (L1->getScope()->getSubprogram() != L2->getScope()->getSubprogram()) in getMergedLocation() 189 for (; S1; S1 = S1->getScope()) { in getMergedLocation() 205 auto Scope = GetNearestCommonScope(L1->getScope(), L2->getScope()); in getMergedLocation() 340 DIScope *DIScope::getScope() const { in getScope() function in DIScope 342 return T->getScope(); in getScope() 345 return SP->getScope(); in getScope() 348 return LB->getScope(); in getScope() 351 return NS->getScope(); in getScope() 354 return CB->getScope(); in getScope() 357 return M->getScope(); in getScope() [all …]
|
| H A D | DebugInfo.cpp | 157 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc() 212 processScope(GV->getScope()); in processCompileUnit() 229 processScope(NS->getScope()); in processCompileUnit() 231 processScope(M->getScope()); in processCompileUnit() 250 processScope(Loc->getScope()); in processLocation() 262 processScope(DT->getScope()); in processType() 301 processScope(LB->getScope()); in processScope() 303 processScope(NS->getScope()); in processScope() 305 processScope(M->getScope()); in processScope() 312 processScope(SP->getScope()); in processSubprogram() [all …]
|
| H A D | DIBuilder.cpp | 1041 assert(DL->getScope()->getSubprogram() == in insertDeclare() 1042 VarInfo->getScope()->getSubprogram() && in insertDeclare() 1069 assert(DL->getScope()->getSubprogram() == in insertDbgIntrinsic() 1070 VarInfo->getScope()->getSubprogram() && in insertDbgIntrinsic() 1089 assert(DL->getScope()->getSubprogram() == in insertLabel() 1090 LabelInfo->getScope()->getSubprogram() && in insertLabel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 126 << ", 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() 400 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
|
| H A D | MachOLinkGraphBuilder.cpp | 74 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 125 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 D | MIRFSDiscriminator.cpp | 70 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0() 73 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 533 DIScope *getScope() const; 1945 DISubprogram *SP = getScope()->getSubprogram(); in getSubprogramLinkageName() 1979 return getScope(); in getInlinedAtScope() 2282 if (auto *F = dyn_cast<DILexicalBlockFile>(getScope())) in getDiscriminator() 2289 DIScope *Scope = getScope(); in cloneWithDiscriminator() 2297 Scope = LBF->getScope(); in cloneWithDiscriminator() 3302 DILocalScope *getScope() const { 3303 return cast<DILocalScope>(DIVariable::getScope()); 3324 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram(); 3373 DILocalScope *getScope() const { [all …]
|
| H A D | DebugLoc.h | 81 MDNode *getScope() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ObjectLinkingLayer.cpp | 67 if (Sym.getScope() == Scope::Default) in getJITSymbolFlagsForSymbol() 98 if (Sym->getScope() == Scope::Local) in scanLinkGraph() 240 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved() 253 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved() 415 if (Tgt.getScope() != Scope::Local) { in getBlockImmediateDeps() 443 Sym->getScope() != Scope::Local) { in claimOrExternalizeWeakAndCommonSymbols() 492 if (Sym->getScope() == Scope::Local) in computeNamedSymbolDependencies() 518 if (Sym->getScope() == Scope::Local) { in computeNamedSymbolDependencies() 559 if (E.getTarget().getScope() == Scope::Local && in computeBlockNonLocalDeps()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 448 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation() 450 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in formatCallSiteLocation() 452 Name = DIL->getScope()->getSubprogram()->getName(); in formatCallSiteLocation() 475 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks() 477 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks() 479 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 433 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes() 443 collectLiveScopes(*DL.getScope()); in collectLiveScopes() 524 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions() 557 if (AliveScopes.count(DPV.getDebugLoc()->getScope())) in removeDeadInstructions() 573 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Function.h | 125 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function 126 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMemoryLegalizer.cpp | 158 SIAtomicScope getScope() const { in getScope() function in __anon051f72bd0111::SIMemOpInfo 2407 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad() 2415 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad() 2420 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad() 2453 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore() 2494 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicFence() 2507 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandAtomicFence() 2529 Changed |= CC->enableRMWCacheBypass(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw() 2537 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw() 2547 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleContextTracker.cpp | 486 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 294 Scope = Scope->getScope(); in collectParentScopeNames() 335 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName() 399 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram() 514 const DIScope *Scope = DL->getScope(); in maybeRecordLocation() 1607 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt() 2233 Scope = Scope->getScope()) { in getCommonClassOptions() 3265 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo() 3290 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3374 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList() 3414 const DIScope *Scope = DIGV->getScope(); in emitDebugInfoForGlobal() [all …]
|
| H A D | DwarfCompileUnit.cpp | 145 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE() 156 DeclContext = SDMDecl->getScope(); in getOrCreateGlobalVariableDIE() 167 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE() 387 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock() 391 addGlobalName(Name, NDie, CB->getScope()); in getOrCreateCommonBlock() 1171 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE() 1387 DIE *ContextDIE = getOrCreateContextDIE(IE->getScope()); in getOrCreateImportedEntityDIE() 1648 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
|
| H A D | DbgEntityHistoryCalculator.cpp | 154 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 D | DwarfUnit.cpp | 560 auto *Context = Ty->getScope(); in createTypeDIE() 622 auto *Context = Ty->getScope(); in getOrCreateTypeDIE() 670 if (const DIScope *S = Context->getScope()) in getParentContextString() 1105 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace() 1117 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace() 1126 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule() 1134 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule() 1159 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE() 1561 auto *Context = CTy->getScope(); in constructEnumTypeDIE() 1711 DIE *ContextDIE = getOrCreateContextDIE(DT->getScope()); in getOrCreateStaticMemberDIE()
|
| H A D | DwarfDebug.cpp | 1416 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-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 217 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset() 246 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in findFunctionSamples() 248 Name = PrevDIL->getScope()->getSubprogram()->getName(); in findFunctionSamples()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | LexicalScopes.h | 206 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 759 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in readMemprof() 795 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in readMemprof() 797 Name = DIL->getScope()->getSubprogram()->getName(); in readMemprof()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 1381 Record.push_back(VE.getMetadataID(N->getScope())); in writeDILocation() 1449 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIDerivedType() 1469 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDICompositeType() 1534 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDISubprogram() 1561 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlock() 1574 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlockFile() 1586 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDINamespace() 1634 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIGlobalVariable() 1654 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILocalVariable() 1689 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIImportedEntity() [all …]
|