| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugLoc.cpp | 64 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 D | DroppedVariableStats.cpp | 104 VarID Key{DbgVar->getScope(), DbgLoc->getInlinedAtScope(), DbgVar}; in populateVarIDSetAndInlinedMap() 125 Scope = Scope->getScope(); in isScopeChildOfOrEqualTo()
|
| H A D | DebugInfoMetadata.cpp | 172 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 D | DebugInfo.cpp | 179 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 D | DroppedVariableStatsIR.cpp | 112 if (updateDroppedCount(DbgLoc, DbgLoc->getScope(), DbgValScope, in visitEveryInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | LinkGraphLayer.cpp | 51 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 D | LinkGraphLinkingLayer.cpp | 133 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 D | JITLink.cpp | 127 << ", 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 D | DebugLoc.h | 260 getCol() == Other.getCol() && getScope() == Other.getScope() && 266 LLVM_ABI MDNode *getScope() const;
|
| H A D | DebugInfoMetadata.h | 538 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 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()
|
| H A D | DroppedVariableStatsMIR.cpp | 66 auto *Scope = DbgLoc->getScope(); in visitEveryInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 484 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 D | ADCE.cpp | 433 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 D | Function.h | 147 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 D | InterpFrame.cpp | 95 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 D | SIMemoryLegalizer.cpp | 162 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 D | SampleContextTracker.cpp | 487 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 D | CodeViewDebug.cpp | 245 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 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 | DwarfCompileUnit.cpp | 186 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 D | DwarfUnit.cpp | 583 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 D | MemProfUse.cpp | 195 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 D | SampleProf.cpp | 246 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()
|