/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVElement.cpp | 1 //===-- LVElement.cpp -----------------------------------------------------===// 9 // This implements the LVElement class. 13 #include "llvm/DebugInfo/LogicalView/Core/LVElement.h" 25 LVElementDispatch LVElement::Dispatch = { 26 {LVElementKind::Discarded, &LVElement::getIsDiscarded}, 27 {LVElementKind::Global, &LVElement::getIsGlobalReference}, 28 {LVElementKind::Optimized, &LVElement::getIsOptimized}}; 30 LVType *LVElement::getTypeAsType() const { in getTypeAsType() 36 LVScope *LVElement::getTypeAsScope() const { in getTypeAsScope() 43 void LVElement [all...] |
H A D | LVType.cpp | 118 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() 302 LVElement *LVTypeDefinition::getUnderlyingType() { in getUnderlyingType() 303 LVElement *BaseType = getTypeAsScope(); in getUnderlyingType() 338 if (LVElement *Type = getType()) { in resolveExtra()
|
H A D | LVCompare.cpp | 63 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() 361 void LVCompare::printItem(LVElement *Element, LVComparePass Pass) {
|
H A D | LVScope.cpp | 106 void LVScope::addToChildren(LVElement *Element) { in addToChildren() 112 void LVScope::addElement(LVElement *Element) { in addElement() 257 bool LVScope::removeElement(LVElement *Element) { in removeElement() 258 auto Predicate = [Element](LVElement *Item) -> bool { in removeElement() 353 for (LVElement *Element : *Children) 367 LVElement::resolve(); in updateLevel() 371 for (LVElement *Element : *Children) { in resolve() 389 if (LVElement *BaseType = getType()) { in resolveName() 405 LVElement::resolveName(); in resolveName() 433 if (LVElement *Elemen in resolveReferences() [all...] |
H A D | LVReader.cpp | 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() 80 auto PrintElement = [&](LVElement *Element, unsigned Index = 0) { in checkIntegrityScopesTree() 95 LVElement *Element; in checkIntegrityScopesTree()
|
H A D | LVSymbol.cpp | 225 LVElement::resolveName(); in resolveName() 253 if (LVElement *Element = getType()) { in resolveReferences() 356 if (!LVElement::equals(Symbol)) in equals() 394 LVElement::print(OS, Full); in print()
|
H A D | LVLine.cpp | 121 return LVElement::equals(Line); in equals() 143 LVElement::print(OS, Full); in print()
|
H A D | LVOptions.cpp | 474 void LVPatterns::addElement(LVElement *Element) { in addElement()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewVisitor.h | 118 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 D | LVDWARFReader.h | 25 class LVElement; variable 43 LVElement *CurrentElement = nullptr; 71 using LVElementSet = std::unordered_set<LVElement *>; 73 LVElement *Element; 76 LVElementEntry(LVElement *Element = nullptr) : Element(Element) {} in Element() 85 LVElement *createElement(dwarf::Tag Tag); 122 LVElement *getElementForOffset(LVOffset offset, LVElement *Element,
|
H A D | LVCodeViewReader.h | 49 class LVElement; 221 bool isSystemEntry(LVElement *Element, StringRef Name) const override;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVElement.h | 67 class LVElement : public LVObject { 120 void setFileLine(LVElement *Specification); 127 LVElement *ElementType = nullptr; 133 LVElement(LVSubclassID ID) in LVElement() function 136 LVElement(const LVElement &) = delete; 137 LVElement &operator=(const LVElement &) = delete; 138 virtual ~LVElement() = default; 220 virtual void setReference(LVElement *Element) {} in setReference() 237 void setFile(LVElement *Reference = nullptr); 297 LVElement *getType() const { return ElementType; } in getType() [all …]
|
H A D | LVType.h | 51 class LVType : public LVElement { 63 LVType() : LVElement(LVSubclassID::LV_TYPE) { setIsType(); } in LVType() 68 static bool classof(const LVElement *Element) { in classof() 109 virtual LVElement *getUnderlyingType() { return nullptr; } in getUnderlyingType() 110 virtual void setUnderlyingType(LVElement *Element) {} in setUnderlyingType() 159 LVElement *getUnderlyingType() override; 160 void setUnderlyingType(LVElement *Element) override { setType(Element); } in setUnderlyingType()
|
H A D | LVObject.h | 44 class LVElement; variable 63 using LVElementSetFunction = void (LVElement::*)(); 64 using LVElementGetFunction = bool (LVElement::*)() const; 76 using LVElements = SmallVector<LVElement *, 8>; 146 LVElement *Element; 248 LVElement *getParent() const { in getParent() 249 assert((!Parent.Element || static_cast<LVElement *>(Parent.Element)) && in getParent()
|
H A D | LVScope.h | 66 using LVOffsetElementMap = std::map<LVOffset, LVElement *>; 73 class LVScope : public LVElement { 147 LVScope() : LVElement(LVSubclassID::LV_SCOPE) { in LVScope() 155 static bool classof(const LVElement *Element) { in classof() 212 void addElement(LVElement *Element); 219 void addToChildren(LVElement *Element); 262 return LVElement::getCompileUnitParent(); in getCompileUnitParent() 269 bool removeElement(LVElement *Element) override; 342 void setReference(LVElement *Element) override { in setReference() 458 void addInvalidLocationOrRange(LVLocation *Location, LVElement *Element, in addInvalidLocationOrRange() [all …]
|
H A D | LVCompare.h | 25 using LVPassEntry = std::tuple<LVReader *, LVElement *, LVComparePass>; 71 void addPassEntry(LVReader *Reader, LVElement *Element, LVComparePass Pass) { in addPassEntry() 76 void printItem(LVElement *Element, LVComparePass Pass);
|
H A D | LVSymbol.h | 36 class LVSymbol final : public LVElement { 70 LVSymbol() : LVElement(LVSubclassID::LV_SYMBOL) { in LVSymbol() 78 static bool classof(const LVElement *Element) { in classof() 101 void setReference(LVElement *Element) override { in setReference()
|
H A D | LVLine.h | 40 class LVLine : public LVElement { 49 LVLine() : LVElement(LVSubclassID::LV_LINE) { in LVLine() 57 static bool classof(const LVElement *Element) { in classof()
|
H A D | LVOptions.h | 508 void addElement(LVElement *Element); 554 ElementDispatch = LVElement::getDispatch(); in LVPatterns()
|
H A D | LVReader.h | 275 virtual bool isSystemEntry(LVElement *Element, StringRef Name = {}) const {
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewVisitor.cpp | 128 using RecordEntry = std::pair<TypeLeafKind, LVElement *>; 141 LVElement *Element = nullptr); 143 LVElement *find(uint32_t StreamIdx, TypeIndex TI, bool Create = true); 337 LVElement *Element) { in add() 349 LVElement *LVTypeRecords::find(uint32_t StreamIdx, TypeIndex TI, bool Create) { in find() 353 LVElement *Element = nullptr; in find() 850 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord() 900 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord() 1444 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord() 1751 LVElement *Element, uint32_t StreamIdx) { in printTypeBegin() [all …]
|
H A D | LVDWARFReader.cpp | 32 LVElement *LVDWARFReader::createElement(dwarf::Tag Tag) { in createElement() 573 for (LVElement *Target : Reference.References) in processOneDie() 575 for (LVElement *Target : Reference.Types) in processOneDie() 1094 LVElement *Target = getElementForOffset( in updateReference() 1140 LVElement *LVDWARFReader::getElementForOffset(LVOffset Offset, in getElementForOffset() 1141 LVElement *Element, bool IsType) { in getElementForOffset()
|
H A D | LVCodeViewReader.cpp | 218 bool LVCodeViewReader::isSystemEntry(LVElement *Element, StringRef Name) const { in isSystemEntry()
|