Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugLoc.cpp35 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 DDebugInfoMetadata.cpp112 DIScope *S = LocA->getScope(); in getMergedLocation()
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()
237 DIScope *DIScope::getScope() const { in getScope() function in DIScope
239 return T->getScope(); in getScope()
242 return SP->getScope(); in getScope()
[all …]
H A DDebugInfo.cpp169 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/opt/
H A DBreakpointPrinter.cpp33 getContextName(NS->getScope(), N); in getContextName()
38 getContextName(TY->getScope(), N); in getContextName()
52 getContextName(SP->getScope(), Name); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp109 << ", 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()
376 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp54 if (Sym->getScope() == Scope::Local) in scanLinkGraph()
59 if (Sym->getScope() == Scope::Default) in scanLinkGraph()
211 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
217 if (Sym->getScope() == Scope::Default) in notifyResolved()
352 if (Sym->getScope() == Scope::Default) in claimOrExternalizeWeakAndCommonSymbols()
393 if (Sym->getScope() == Scope::Local) in computeNamedSymbolDependencies()
404 if (TargetSym.getScope() != Scope::Local) { in computeNamedSymbolDependencies()
441 assert(Local->getScope() == Scope::Local && in computeNamedSymbolDependencies()
473 if (Sym->getScope() == Scope::Local) { in computeLocalDeps()
479 if (TargetSym.getScope() != Scope::Local) in computeLocalDeps()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineAdvisor.cpp394 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in getCallSiteLocation()
396 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in getCallSiteLocation()
398 Name = DIL->getScope()->getSubprogram()->getName(); in getCallSiteLocation()
420 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
422 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
424 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h491 DIScope *getScope() const;
707 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() function
955 getScope(), getBaseType(), getSizeInBits(), in cloneImpl()
1104 getScope(), getBaseType(), getSizeInBits(), in cloneImpl()
1609 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); } in getScope() function
1624 DIFile *getFile() const { return getScope()->getFile(); } in getFile()
1625 StringRef getFilename() const { return getScope()->getFilename(); } in getFilename()
1626 StringRef getDirectory() const { return getScope()->getDirectory(); } in getDirectory()
1627 Optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource()
1636 return getScope(); in getInlinedAtScope()
[all …]
H A DDebugLoc.h81 MDNode *getScope() const;
/netbsd-src/external/apache2/llvm/dist/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.cpp53 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
56 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp158 SIAtomicScope getScope() const { in getScope() function in __anon45e28bb20111::SIMemOpInfo
1587 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
1592 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
1600 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
1605 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandLoad()
1632 Changed |= CC->enableStoreCacheBypass(MI, MOI.getScope(), in expandStore()
1638 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandStore()
1674 Changed |= CC->insertRelease(MI, MOI.getScope(), in expandAtomicFence()
1687 Changed |= CC->insertAcquire(MI, MOI.getScope(), in expandAtomicFence()
1709 Changed |= CC->enableRMWCacheBypass(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp432 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
434 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
437 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in getContextFor()
443 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
445 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp249 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
297 Scope = Scope->getScope(); in collectParentScopeNames()
338 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
393 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
487 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
508 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
538 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
544 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1040 FuncName = getFullyQualifiedName(SP->getScope(), SP->getName()); in emitDebugInfoForFunction()
1351 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
[all …]
H A DDwarfUnit.cpp553 auto *Context = Ty->getScope(); in createTypeDIE()
617 auto *Context = Ty->getScope(); in getOrCreateTypeDIE()
664 if (const DIScope *S = Context->getScope()) in getParentContextString()
1048 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1060 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1069 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1077 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1102 Minimal ? &getUnitDie() : getOrCreateContextDIE(SP->getScope()); in getOrCreateSubprogramDIE()
1506 auto *Context = CTy->getScope(); in constructEnumTypeDIE()
1653 DIE *ContextDIE = getOrCreateContextDIE(DT->getScope()); in getOrCreateStaticMemberDIE()
H A DDwarfCompileUnit.cpp143 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()
1095 ContextDIE = getOrCreateContextDIE(SP->getScope()); in constructAbstractSubprogramScopeDIE()
1511 auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope(); in applySubprogramAttributesToDefinition()
H A DDwarfDebug.cpp1129 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE()
1131 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
1217 return !isa<DILocalScope>(IE->getScope()); in beginModule()
1600 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1808 Scope = LScopes.findInlinedScope(LocalVar->getScope(), IA); in collectEntityInfo()
1810 Scope = LScopes.findLexicalScope(LocalVar->getScope()); in collectEntityInfo()
1879 Label->getScope()->getNonLexicalBlockFileScope(); in collectEntityInfo()
1903 Scope = LScopes.findLexicalScope(DV->getScope()); in collectEntityInfo()
1905 Scope = LScopes.findLexicalScope(DL->getScope()); in collectEntityInfo()
1976 const MDNode *Scope = DL.getScope(); in beginInstruction()
[all …]
H A DDbgEntityHistoryCalculator.cpp152 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 DPseudoProbePrinter.cpp58 const DISubprogram *SP = InlinedAt->getScope()->getSubprogram(); in emitPseudoProbe()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DADCE.cpp429 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()
/netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/examples/
H A DurlTest.cpp24 std::cout << "Scope: " << url.getScope() << std::endl; in main()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A DIRBindings.cpp70 wrap(Loc.getScope()), in LLVMGoGetCurrentDebugLocation()
/netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/
H A DLDAPUrl.h53 int getScope() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DSampleProf.cpp210 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
237 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DFunction.h97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() function

123