| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugLoc.cpp | 35 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()
|
| H A D | DebugInfoMetadata.cpp | 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() 239 return T->getScope(); in getScope() 242 return SP->getScope(); in getScope() 245 return LB->getScope(); in getScope() 248 return NS->getScope(); in getScope() [all …]
|
| H A D | DebugInfo.cpp | 169 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 …]
|
| H A D | DIBuilder.cpp | 986 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-13.1/contrib/llvm-project/llvm/tools/opt/ |
| H A D | BreakpointPrinter.cpp | 33 getContextName(NS->getScope(), N); in getContextName() 38 getContextName(TY->getScope(), N); in getContextName() 52 getContextName(SP->getScope(), Name); in runOnModule()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 109 << ", 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-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 397 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-13.1/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 | 55 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash() 58 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
|
| H A D | PseudoProbeInserter.cpp | 126 auto *SP = DL->getScope()->getSubprogram(); in getFuncGUID()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 491 DIScope *getScope() const; 1624 DIFile *getFile() const { return getScope()->getFile(); } in getFile() 1636 return getScope(); in getInlinedAtScope() 2180 if (auto *F = dyn_cast<DILexicalBlockFile>(getScope())) in getDiscriminator() 2187 DIScope *Scope = getScope(); in cloneWithDiscriminator() 2195 Scope = LBF->getScope(); in cloneWithDiscriminator() 3106 DILocalScope *getScope() const { 3107 return cast<DILocalScope>(DIVariable::getScope()); 3123 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram(); 3176 DILocalScope *getScope() const { [all …]
|
| H A D | DebugLoc.h | 81 MDNode *getScope() const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ObjectLinkingLayer.cpp | 53 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-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMemoryLegalizer.cpp | 158 SIAtomicScope getScope() const { in getScope() function in __anon418845fb0111::SIMemOpInfo 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() 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() 1791 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw() 1801 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 429 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 297 Scope = Scope->getScope(); in collectParentScopeNames() 338 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName() 393 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram() 508 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation() 1484 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt() 2074 Scope = Scope->getScope()) { in getCommonClassOptions() 3075 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo() 3100 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3184 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList() 3224 const DIScope *Scope = DIGV->getScope(); in emitDebugInfoForGlobal() [all …]
|
| H A D | PseudoProbePrinter.cpp | 33 const DISubprogram *SP = InlinedAt->getScope()->getSubprogram(); in emitPseudoProbe()
|
| H A D | DbgEntityHistoryCalculator.cpp | 152 Scope = LScopes.findInlinedScope(LocalVar->getScope(), InlinedAt); in trimLocationRanges() 154 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in trimLocationRanges() 164 (Scope->getScopeNode() == LocalVar->getScope())) in trimLocationRanges()
|
| H A D | DwarfUnit.cpp | 554 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()
|
| H A D | DwarfCompileUnit.cpp | 143 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()
|
| H A D | DwarfDebug.cpp | 1116 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE() 1204 return !isa<DILocalScope>(IE->getScope()); in beginModule() 1589 if (DL->getScope() == PredDL->getScope()) in validThroughout() 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() 2055 Scope = PrevInstLoc.getScope(); in beginInstruction() 2079 const MDNode *Scope = DL.getScope(); in beginInstruction() 2223 Scope = DV->getScope(); in endFunctionImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleContextTracker.cpp | 432 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-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Function.h | 97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 202 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset() 235 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | LexicalScopes.h | 206 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()
|