Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugLoc.cpp36 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
38 return get()->getScope(); in getScope()
110 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
124 auto *Scope = cast<DIScope>(getScope()); in print()
H A DDebugInfoMetadata.cpp88 DIScope *S = LocA->getScope(); in getMergedLocation()
92 S = S->getScope().resolve(); in getMergedLocation()
94 S = L->getScope(); in getMergedLocation()
99 S = LocB->getScope(); in getMergedLocation()
106 S = L->getScope(); in getMergedLocation()
114 S = LocA->getScope(); in getMergedLocation()
215 return T->getScope(); in getScope()
218 return SP->getScope(); in getScope()
221 return LB->getScope(); in getScope()
224 return NS->getScope(); in getScope()
[all …]
H A DDebugInfo.cpp84 processScope(GV->getScope()); in processCompileUnit()
101 processScope(NS->getScope()); in processCompileUnit()
103 processScope(M->getScope()); in processCompileUnit()
121 processScope(Loc->getScope()); in processLocation()
128 processScope(DT->getScope().resolve()); in processType()
167 processScope(LB->getScope()); in processScope()
169 processScope(NS->getScope()); in processScope()
171 processScope(M->getScope()); in processScope()
210 processScope(DV->getScope()); in processDeclare()
225 processScope(DV->getScope()); in processValue()
[all …]
H A DDIBuilder.cpp918 assert(DL->getScope()->getSubprogram() == in insertDeclare()
919 VarInfo->getScope()->getSubprogram() && in insertDeclare()
940 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
941 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
961 assert(DL->getScope()->getSubprogram() == in insertLabel()
962 LabelInfo->getScope()->getSubprogram() && in insertLabel()
/freebsd-12.1/contrib/llvm/tools/opt/
H A DBreakpointPrinter.cpp34 getContextName(NS->getScope(), N); in getContextName()
39 getContextName(TY->getScope().resolve(), N); in getContextName()
53 getContextName(SP->getScope().resolve(), Name); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp155 SIAtomicScope getScope() const { in getScope() function in __anoncef23e4c0111::SIMemOpInfo
875 Changed |= CC->enableLoadCacheBypass(MI, MOI.getScope(), in expandLoad()
880 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
888 Changed |= CC->insertWait(MI, MOI.getScope(), in expandLoad()
893 Changed |= CC->insertCacheInvalidate(MI, MOI.getScope(), in expandLoad()
919 Changed |= CC->insertWait(MI, MOI.getScope(), in expandStore()
956 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicFence()
965 Changed |= CC->insertCacheInvalidate(MI, MOI.getScope(), in expandAtomicFence()
986 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
997 Changed |= CC->insertWait(MI, MOI.getScope(), in expandAtomicCmpxchgOrRmw()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h462 DIScopeRef getScope() const;
1496 DIFile *getFile() const { return getScope()->getFile(); }
1508 return getScope();
2008 if (auto *F = dyn_cast<DILexicalBlockFile>(getScope()))
2015 DIScope *Scope = getScope();
2023 Scope = LBF->getScope();
2722 DILocalScope *getScope() const {
2723 return cast<DILocalScope>(DIVariable::getScope());
2739 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
2792 DILocalScope *getScope() const {
[all …]
H A DDebugLoc.h96 MDNode *getScope() const;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLexicalScopes.cpp124 DILocalScope *Scope = DL->getScope(); in findLexicalScope()
170 Parent = getOrCreateLexicalScope(Block->getScope()); in getOrCreateRegularScope()
198 Parent = getOrCreateInlinedScope(Block->getScope(), InlinedAt); in getOrCreateInlinedScope()
221 Parent = getOrCreateAbstractScope(Block->getScope()); in getOrCreateAbstractScope()
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DSampleProf.cpp166 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
179 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DADCE.cpp427 collectLiveScopes(cast<DILocalScope>(*LS.getScope())); in collectLiveScopes()
437 collectLiveScopes(*DL.getScope()); in collectLiveScopes()
513 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
538 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp668 if (isa<DILocalScope>(N->getScope())) in constructAndAddImportedEntityDIE()
670 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
761 return !isa<DILocalScope>(IE->getScope()); in beginModule()
1288 if (DL->getScope() == PredDL->getScope()) in validThroughout()
1409 Scope = LScopes.findLexicalScope(DV->getScope()); in collectEntityInfo()
1411 Scope = LScopes.findLexicalScope(DL->getScope()); in collectEntityInfo()
1452 const MDNode *Scope = DL.getScope(); in beginInstruction()
1481 Scope = PrevInstLoc.getScope(); in beginInstruction()
1505 const MDNode *Scope = DL.getScope(); in beginInstruction()
1612 Scope = DV->getScope(); in endFunctionImpl()
[all …]
H A DCodeViewDebug.cpp276 Scope = Scope->getScope().resolve(); in getQualifiedNameComponents()
312 const DIScope *Scope = Ty->getScope().resolve(); in getFullyQualifiedName()
347 const DIScope *Scope = SP->getScope().resolve(); in getFuncIdForSubprogram()
462 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
498 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
1265 Scope = LScopes.findLexicalScope(DIVar->getScope()); in collectVariableInfo()
1382 if (DIScope *Scope = T->getScope().resolve()) { in shouldEmitUdt()
1413 Ty->getScope().resolve(), QualifiedNameComponents); in addToUDTs()
1948 const DIScope *ImmediateScope = Ty->getScope().resolve(); in getCommonClassOptions()
1961 Scope = Scope->getScope().resolve()) { in getCommonClassOptions()
[all …]
H A DDwarfUnit.cpp607 auto *Context = resolve(Ty->getScope()); in createTypeDIE()
638 auto *Context = resolve(Ty->getScope()); in getOrCreateTypeDIE()
705 if (Context->getScope()) in getParentContextString()
706 Context = resolve(Context->getScope()); in getParentContextString()
1041 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1053 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1062 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1070 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
1088 Minimal ? &getUnitDie() : getOrCreateContextDIE(resolve(SP->getScope())); in getOrCreateSubprogramDIE()
1512 DIE *ContextDIE = getOrCreateContextDIE(resolve(DT->getScope())); in getOrCreateStaticMemberDIE()
H A DDwarfCompileUnit.cpp121 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
132 DeclContext = resolve(SDMDecl->getScope()); in getOrCreateGlobalVariableDIE()
143 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
803 ContextDIE = getOrCreateContextDIE(resolve(SP->getScope())); in constructAbstractSubprogramScopeDIE()
1115 auto *Context = resolve(SPDecl ? SPDecl->getScope() : SP->getScope()); in applySubprogramAttributesToDefinition()
H A DDwarfCompileUnit.h148 DIScope *Scope = IE->getScope(); in addImportedEntity()
H A DDebugHandlerBase.cpp223 getDISubprogram(DIVar->getScope())->describes(&MF->getFunction())) { in beginFunction()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h210 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h241 Scope *getScope() const { return S; } in getScope() function
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1434 Record.push_back(VE.getMetadataID(N->getScope())); in writeDILocation()
1524 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIDerivedType()
1552 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDICompositeType()
1639 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDISubprogram()
1665 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlock()
1678 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILexicalBlockFile()
1690 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDINamespace()
1763 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDIGlobalVariable()
1797 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILocalVariable()
1814 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in writeDILabel()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h411 const ScopeContext *getScope(AnalysisDeclContext *ctx,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp412 LocationContextManager::getScope(AnalysisDeclContext *ctx, in getScope() function in LocationContextManager
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp501 Names.push_back(("pred:" + Twine(Name.getScope()) + ":" + Name.getIdentifier()).str()); in EmitMatchCode()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp735 auto SP = DL.get()->getScope()->getSubprogram(); in beginInstruction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp696 if (auto *Scope = L->getScope()) in print_details()

12