Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp147 traverseParents(&LVScope::getHasLines, &LVScope::setHasLines); in addElement()
166 void LVScope::addElement(LVScope *Scope) { in addElement()
186 traverseParents(&LVScope::getHasLocals, &LVScope::setHasLocals); in addElement()
189 traverseParents(&LVScope::getHasScopes, &LVScope::setHasScopes); in addElement()
213 traverseParents(&LVScope::getHasLocals, &LVScope::setHasLocals); in addElement()
243 traverseParents(&LVScope::getHasTypes, &LVScope::setHasTypes); in addElement()
289 void LVScope::addMissingElements(LVScope *Reference) { in addMissingElements()
346 void LVScope::updateLevel(LVScope *Parent, bool Moved) { in updateLevel()
805 LVScope *LVScope::outermostParent(LVAddress Address) { in outermostParent()
818 LVScope *LVScope::findIn(const LVScopes *Targets) const { in findIn()
[all …]
H A DLVRange.cpp30 LVScope *Scope = RangeEntry.scope(); in startSearch()
52 void LVRange::addEntry(LVScope *Scope, LVAddress LowerAddress, in addEntry()
68 void LVRange::addEntry(LVScope *Scope) { in addEntry()
83 LVScope *LVRange::getEntry(LVAddress Address) const { in getEntry()
86 LVScope *Target = nullptr; in getEntry()
89 LVScope *Scope = nullptr; in getEntry()
109 LVScope *LVRange::getEntry(LVAddress LowerAddress, in getEntry()
148 LVScope *Scope = RangeEntry.scope(); in print()
H A DLVReader.cpp29 bool checkIntegrityScopesTree(LVScope *Root) { in checkIntegrityScopesTree()
30 using LVDuplicateEntry = std::tuple<LVElement *, LVScope *, LVScope *>; in checkIntegrityScopesTree()
34 using LVIntegrity = std::map<LVElement *, LVScope *>; in checkIntegrityScopesTree()
38 auto AddElement = [&](LVElement *Element, LVScope *Scope) { in checkIntegrityScopesTree()
48 std::function<void(LVScope * Parent)> TraverseScope = [&](LVScope *Parent) { in checkIntegrityScopesTree()
55 for (LVScope *Scope : *Scopes) { in checkIntegrityScopesTree()
96 LVScope *First; in checkIntegrityScopesTree()
97 LVScope *Second; in checkIntegrityScopesTree()
H A DLVElement.cpp36 LVScope *LVElement::getTypeAsScope() const { in getTypeAsScope()
38 ? static_cast<LVScope *>(ElementType) in getTypeAsScope()
238 LVScope *Parent = getParentScope(); in resolveParents()
245 LVScope *Scope = getParentScope(); in generateName()
420 LVScope *Parent = getParentScope(); in traverseParents()
426 LVScope *LVElement::getFunctionParent() const { in getFunctionParent()
427 return traverseParents(&LVScope::getIsFunction); in getFunctionParent()
430 LVScope *LVElement::getCompileUnitParent() const { in getCompileUnitParent()
431 return traverseParents(&LVScope::getIsCompileUnit); in getCompileUnitParent()
443 LVScope *Parent = getParentScope(); in resolveQualifiedName()
[all …]
H A DLVCompare.cpp194 using LVScopeLink = std::map<LVScope *, LVScope *>; in execute()
217 ScopeLinks.emplace(static_cast<LVScope *>(CurrentTarget), in execute()
218 static_cast<LVScope *>(Reference)); in execute()
300 LVScope *Parent = nullptr; in execute()
316 LVScope *InsertionPoint = ScopeLinks[Parent]; in execute()
354 for (const LVScope *Scope : ScopeStack) { in printCurrentStack()
H A DLVType.cpp237 !LVScope::equals(&ReferenceScopes, &TargetScopes)) in parametersMatch()
347 LVScope *Aggregate = getTypeAsScope(); in resolveExtra()
434 LVScope *ArgScope = getTypeAsScope(); in encodeTemplateArgument()
H A DLVOptions.cpp482 ? static_cast<LVScope *>(Element) in addElement()
548 bool LVPatterns::printElement(const LVScope *Scope) const { in printElement()
H A DLVSymbol.cpp193 LVScope *Parent = getParentScope(); in calculateCoverage()
201 LVScope *Scope = in calculateCoverage()
H A DLVObject.cpp89 void LVObject::setParent(LVScope *Scope) { in setParent()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h73 class LVScope : public LVElement {
151 LVScope(const LVScope &) = delete;
152 LVScope &operator=(const LVScope &) = delete;
153 virtual ~LVScope() = default;
214 void addElement(LVScope *Scope);
331 LVScopeAggregate() : LVScope() {} in LVScopeAggregate()
366 LVScopeAlias() : LVScope() { in LVScopeAlias()
593 void increment(LVScope *Scope);
601 void addedElement(LVScope *Scope);
646 class LVScopeFunction : public LVScope {
[all …]
H A DLVRange.h28 LVScope *Scope = nullptr;
34 LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope) in LVRangeEntry()
42 LVScope *scope() const { return Scope; } in scope()
51 using LVRangesTree = IntervalTree<LVAddress, LVScope *>;
66 void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress);
67 void addEntry(LVScope *Scope);
68 LVScope *getEntry(LVAddress Address) const;
69 LVScope *getEntry(LVAddress LowerAddress, LVAddress UpperAddress) const;
H A DLVObject.h50 class LVScope; variable
69 using LVScopeSetFunction = void (LVScope::*)();
70 using LVScopeGetFunction = bool (LVScope::*)() const;
80 using LVScopes = SmallVector<LVScope *, 8>;
147 LVScope *Scope;
254 LVScope *getParentScope() const { in getParentScope()
256 (Parent.Scope && static_cast<LVScope *>(Parent.Scope))) && in getParentScope()
266 void setParent(LVScope *Scope);
H A DLVElement.h221 virtual void setReference(LVScope *Scope) {} in setReference()
299 LVScope *getTypeAsScope() const;
320 LVScope *traverseParents(LVScopeGetFunction GetFunction) const;
322 LVScope *getFunctionParent() const;
323 virtual LVScope *getCompileUnitParent() const;
330 LVScope *Scope) const;
341 virtual void updateLevel(LVScope *Parent, bool Moved = false);
H A DLVReader.h247 void setCompileUnit(LVScope *Scope) { in setCompileUnit()
271 virtual LVSectionIndex getSectionIndex(LVScope *Scope) { in getSectionIndex()
287 void notifyAddedElement(LVScope *Scope) { in notifyAddedElement()
312 bool doPrintScope(const LVScope *Scope) const { in doPrintScope()
H A DLVCompare.h65 void push(LVScope *Scope) { ScopeStack.push_back(Scope); } in push()
H A DLVOptions.h556 ScopeDispatch = LVScope::getDispatch(); in LVPatterns()
610 void resolvePatternMatch(LVScope *Scope) { in resolvePatternMatch()
631 bool printElement(const LVScope *Scope) const;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h37 LVScope *Scope = nullptr;
42 LVSymbolTableEntry(LVScope *Scope, LVAddress Address, in LVSymbolTableEntry()
59 LVSectionIndex update(LVScope *Function);
76 using LVInlineeLine = std::map<LVScope *, std::unique_ptr<LVLines>>;
140 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope);
141 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope,
154 LVScope *Function);
165 void addInlineeLines(LVScope *Scope, LVLines &Lines) { in addInlineeLines()
175 void addToSymbolTable(StringRef Name, LVScope *Function,
179 LVSectionIndex updateSymbolTable(LVScope *Function);
[all …]
H A DLVCodeViewVisitor.h119 class LVScope; variable
255 using LVScopeStack = std::stack<LVScope *>;
257 LVScope *ReaderParent = nullptr;
258 LVScope *ReaderScope = nullptr;
278 LVScope *Parent);
290 LVScope *CurrentScope = nullptr;
318 LVScope *InlinedFunction,
321 void pushScope(LVScope *Scope) { in pushScope()
337 void setRoot(LVScope *Root) { ReaderScope = Root; } in setRoot()
339 void addElement(LVScope *Scope, bool IsCompileUnit);
[all …]
H A DLVELFReader.h44 LVScope *CurrentScope = nullptr;
86 void traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent,
89 LVScope *processOneDie(const DWARFDie &InputDIE, LVScope *Parent,
H A DLVCodeViewReader.h51 class LVScope;
72 using LVModules = std::vector<LVScope *>;
209 void addModule(LVScope *Scope) { Modules.push_back(Scope); }
210 LVScope *getScopeForModule(uint32_t Modi) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp24 void LVSymbolTable::add(StringRef Name, LVScope *Function, in add()
55 LVScope *Function = SymbolNames[SymbolName].Scope; in add()
111 LVScope *Scope = SymbolName.Scope; in print()
520 LVScope *Scope = Name.first; in createInstructions()
535 LVScope *Scope = Name.first; in createInstructions()
591 LVScope *Scope = Function; in processLines()
687 for (LVScope *Scope : *Scopes) { in processLines()
718 LVScope *Scope; in processLines()
868 [&](LVScope *Parent) { in includeInlineeLines()
870 for (LVScope *Scope : *Scopes) { in includeInlineeLines()
[all …]
H A DLVCodeViewVisitor.cpp240 LVScope *get(LVStringRefs Components);
244 LVScope *find(StringRef Name) { in find()
445 LVScope *Namespace = nullptr; in get()
1809 LVScope *Function = static_cast<LVScope *>(Element); in visitKnownRecord()
2132 if (LVScope *FunctionDcl = static_cast<LVScope *>(Element)) { in visitKnownRecord()
2185 LVScope *FunctionDcl = static_cast<LVScope *>(Element); in visitKnownRecord()
2191 if (LVScope *Class = static_cast<LVScope *>( in visitKnownRecord()
2219 if (LVScope *MemberFunction = static_cast<LVScope *>(Element)) { in visitKnownRecord()
2429 if (LVScope *FunctionDcl = static_cast<LVScope *>(Element)) { in visitKnownRecord()
2728 LVScope *Scope = static_cast<LVScope *>(Element); in visitKnownMember()
[all …]
H A DLVELFReader.cpp506 LVScope *LVELFReader::processOneDie(const DWARFDie &InputDIE, LVScope *Parent, in processOneDie()
679 void LVELFReader::traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent, in traverseDieAndChildren()
682 LVScope *Scope = processOneDie(DIE, Parent, SkeletonDie); in traverseDieAndChildren()
H A DLVCodeViewReader.cpp762 LVScope *Function = SymbolTableEntry.Scope; in traverseSymbolSection()
1120 if (LVScope *Scope = getScopeForModule(CurrentModule)) { in processModule()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DREADME.txt64 // Remove 'LVScope::Children' container.