Home
last modified time | relevance | path

Searched refs:LVElement (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVElement.cpp24 LVElementDispatch LVElement::Dispatch = {
25 {LVElementKind::Discarded, &LVElement::getIsDiscarded},
26 {LVElementKind::Global, &LVElement::getIsGlobalReference},
27 {LVElementKind::Optimized, &LVElement::getIsOptimized}};
29 LVType *LVElement::getTypeAsType() const { in getTypeAsType()
35 LVScope *LVElement::getTypeAsScope() const { in getTypeAsScope()
42 void LVElement::setGenericType(LVElement *Element) { in setGenericType()
58 std::string LVElement::discriminatorAsString() const { in discriminatorAsString()
68 StringRef LVElement::typeAsString() const { in typeAsString()
73 StringRef LVElement::getTypeName() const { in getTypeName()
[all …]
H A DLVType.cpp118 if (LVElement *Element = getType()) in resolveReferences()
147 LVElement *BaseType = getType(); in resolveName()
161 LVElement::resolveName(); in resolveName()
266 return LVElement::equals(Type); in equals()
289 LVElement::print(OS, Full); in print()
306 LVElement *LVTypeDefinition::getUnderlyingType() { in getUnderlyingType()
307 LVElement *BaseType = getTypeAsScope(); in getUnderlyingType()
342 if (LVElement *Type = getType()) { in resolveExtra()
H A DLVCompare.cpp63 LVCompareInfo::iterator getResultsEntry(LVElement *Element) { in getResultsEntry()
80 void updateExpected(LVElement *Element) { in updateExpected()
88 void updateMissingOrAdded(LVElement *Element, LVComparePass Pass) { in updateMissingOrAdded()
201 for (LVElement *Reference : References) { in execute()
208 LVElement *CurrentTarget = nullptr; in execute()
239 for (const LVElement *Element : Elements) { in execute()
301 for (LVElement *Element : ElementsToAdd) { in execute()
362 void LVCompare::printItem(LVElement *Element, LVComparePass Pass) { in printItem()
H A DLVScope.cpp110 void LVScope::addToChildren(LVElement *Element) { in addToChildren()
116 void LVScope::addElement(LVElement *Element) { in addElement()
261 bool LVScope::removeElement(LVElement *Element) { in removeElement()
262 auto Predicate = [Element](LVElement *Item) -> bool { in removeElement()
360 for (LVElement *Element : *Children) in updateLevel()
374 LVElement::resolve(); in resolve()
378 for (LVElement *Element : *Children) { in resolve()
396 if (LVElement *BaseType = getType()) { in resolveName()
412 LVElement::resolveName(); in resolveName()
440 if (LVElement *Element = getType()) in resolveReferences()
[all …]
H A DLVReader.cpp29 using LVDuplicateEntry = std::tuple<LVElement *, LVScope *, LVScope *>; in checkIntegrityScopesTree()
33 using LVIntegrity = std::map<LVElement *, LVScope *>; in checkIntegrityScopesTree()
37 auto AddElement = [&](LVElement *Element, LVScope *Scope) { in checkIntegrityScopesTree()
78 auto PrintElement = [&](LVElement *Element, unsigned Index = 0) { in checkIntegrityScopesTree()
93 LVElement *Element; in checkIntegrityScopesTree()
219 LVElement *LVReader::createElement(dwarf::Tag Tag) { in createElement()
H A DLVSymbol.cpp224 LVElement::resolveName(); in resolveName()
252 if (LVElement *Element = getType()) { in resolveReferences()
355 if (!LVElement::equals(Symbol)) in equals()
393 LVElement::print(OS, Full); in print()
H A DLVLine.cpp121 return LVElement::equals(Line); in equals()
143 LVElement::print(OS, Full); in print()
H A DLVOptions.cpp475 void LVPatterns::addElement(LVElement *Element) { in addElement()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h118 class LVElement;
271 Error visitFieldListMemberStream(TypeIndex TI, LVElement *Element,
277 LVSymbol *createParameter(LVElement *Element, StringRef Name,
281 void createParents(StringRef ScopedName, LVElement *Element);
289 LVElement *CurrentElement = nullptr;
312 LVElement *createElement(TypeLeafKind Kind);
313 LVElement *createElement(SymbolKind Kind);
314 LVElement *createElement(TypeIndex TI, TypeLeafKind Kind);
348 LVElement *getElement(uint32_t StreamIdx, TypeIndex TI,
354 void printTypeBegin(CVType &Record, TypeIndex TI, LVElement *Elemen
119 class LVElement; global() variable
[all...]
H A DLVDWARFReader.h25 class LVElement; variable
65 using LVElementSet = std::unordered_set<LVElement *>;
67 LVElement *Element;
70 LVElementEntry(LVElement *Element = nullptr) : Element(Element) {} in Element()
111 LVElement *getElementForOffset(LVOffset offset, LVElement *Element,
H A DLVCodeViewReader.h49 class LVElement;
221 bool isSystemEntry(LVElement *Element, StringRef Name) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVElement.h75 class LLVM_ABI LVElement : public LVObject {
128 void setFileLine(LVElement *Specification);
135 LVElement *ElementType = nullptr;
141 LVElement(LVSubclassID ID) in LVElement() function
144 LVElement(const LVElement &) = delete;
145 LVElement &operator=(const LVElement &) = delete;
146 virtual ~LVElement() = default;
231 virtual void setReference(LVElement *Element) {} in setReference()
248 void setFile(LVElement *Reference = nullptr);
311 LVElement *getType() const { return ElementType; } in getType()
[all …]
H A DLVType.h52 class LLVM_ABI LVType : public LVElement {
67 LVType() : LVElement(LVSubclassID::LV_TYPE) { setIsType(); } in LVType()
72 static bool classof(const LVElement *Element) { in classof()
113 virtual LVElement *getUnderlyingType() { return nullptr; } in getUnderlyingType()
114 virtual void setUnderlyingType(LVElement *Element) {} in setUnderlyingType()
163 LVElement *getUnderlyingType() override;
164 void setUnderlyingType(LVElement *Element) override { setType(Element); } in setUnderlyingType()
H A DLVObject.h45 class LVElement; variable
64 using LVElementSetFunction = void (LVElement::*)();
65 using LVElementGetFunction = bool (LVElement::*)() const;
77 using LVElements = SmallVector<LVElement *, 8>;
161 LVElement *Element;
249 LVElement *getParent() const { in getParent()
250 assert((!Parent.Element || static_cast<LVElement *>(Parent.Element)) && in getParent()
H A DLVCompare.h26 using LVPassEntry = std::tuple<LVReader *, LVElement *, LVComparePass>;
72 void addPassEntry(LVReader *Reader, LVElement *Element, LVComparePass Pass) { in addPassEntry()
77 LLVM_ABI void printItem(LVElement *Element, LVComparePass Pass);
H A DLVScope.h68 using LVOffsetElementMap = std::map<LVOffset, LVElement *>;
75 class LLVM_ABI LVScope : public LVElement {
152 LVScope() : LVElement(LVSubclassID::LV_SCOPE) { in LVScope()
160 static bool classof(const LVElement *Element) { in classof()
218 void addElement(LVElement *Element);
225 void addToChildren(LVElement *Element);
268 return LVElement::getCompileUnitParent(); in getCompileUnitParent()
275 bool removeElement(LVElement *Element) override;
347 void setReference(LVElement *Element) override { in setReference()
466 void addInvalidLocationOrRange(LVLocation *Location, LVElement *Element, in addInvalidLocationOrRange()
[all …]
H A DLVSymbol.h37 class LLVM_ABI LVSymbol final : public LVElement {
71 LVSymbol() : LVElement(LVSubclassID::LV_SYMBOL) { in LVSymbol()
79 static bool classof(const LVElement *Element) { in classof()
102 void setReference(LVElement *Element) override { in setReference()
H A DLVLine.h41 class LLVM_ABI LVLine : public LVElement {
50 LVLine() : LVElement(LVSubclassID::LV_LINE) { in LVLine()
58 static bool classof(const LVElement *Element) { in classof()
H A DLVReader.h134 LVElement *CurrentElement = nullptr;
164 LVElement *createElement(dwarf::Tag Tag);
302 virtual bool isSystemEntry(LVElement *Element, StringRef Name = {}) const {
H A DLVOptions.h511 LLVM_ABI void addElement(LVElement *Element);
557 ElementDispatch = LVElement::getDispatch(); in LVPatterns()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp123 using RecordEntry = std::pair<TypeLeafKind, LVElement *>;
136 LVElement *Element = nullptr);
138 LVElement *find(uint32_t StreamIdx, TypeIndex TI, bool Create = true);
324 LVElement *Element) { in add()
336 LVElement *LVTypeRecords::find(uint32_t StreamIdx, TypeIndex TI, bool Create) { in find()
340 LVElement *Element = nullptr; in find()
837 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
887 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1437 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1744 LVElement *Element, uint32_t StreamIdx) { in printTypeBegin()
[all …]
H A DLVDWARFReader.cpp372 for (LVElement *Target : Reference.References) in processOneDie()
374 for (LVElement *Target : Reference.Types) in processOneDie()
897 LVElement *Target = getElementForOffset( in updateReference()
943 LVElement *LVDWARFReader::getElementForOffset(LVOffset Offset, in getElementForOffset()
944 LVElement *Element, bool IsType) { in getElementForOffset()
H A DLVCodeViewReader.cpp213 bool LVCodeViewReader::isSystemEntry(LVElement *Element, StringRef Name) const { in isSystemEntry()