LLVM 20.0.0git
|
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
Static Public Member Functions | |
static bool | classof (const LVElement *Element) |
static void | markMissingParents (const LVScopes *References, const LVScopes *Targets, bool TraverseChildren) |
static bool | equals (const LVScopes *References, const LVScopes *Targets) |
static LVScopeDispatch & | getDispatch () |
Static Public Member Functions inherited from llvm::logicalview::LVElement | |
static LVElementDispatch & | getDispatch () |
Protected Member Functions | |
void | resolveTemplate () |
void | printEncodedArgs (raw_ostream &OS, bool Full) const |
void | printActiveRanges (raw_ostream &OS, bool Full=true) const |
virtual void | printSizes (raw_ostream &OS) const |
virtual void | printSummary (raw_ostream &OS) const |
virtual StringRef | getEncodedArgs () const |
virtual void | setEncodedArgs (StringRef EncodedArgs) |
Protected Member Functions inherited from llvm::logicalview::LVElement | |
void | printFileIndex (raw_ostream &OS, bool Full=true) const override |
Protected Member Functions inherited from llvm::logicalview::LVObject | |
std::string | lineAsString (uint32_t LineNumber, LVHalf Discriminator, bool ShowZero) const |
std::string | referenceAsString (uint32_t LineNumber, bool Spaces) const |
virtual void | printFileIndex (raw_ostream &OS, bool Full=true) const |
Protected Attributes | |
std::unique_ptr< LVTypes > | Types |
std::unique_ptr< LVSymbols > | Symbols |
std::unique_ptr< LVScopes > | Scopes |
std::unique_ptr< LVLines > | Lines |
std::unique_ptr< LVLocations > | Ranges |
std::unique_ptr< LVElements > | Children |
Protected Attributes inherited from llvm::logicalview::LVElement | |
LVElement * | ElementType = nullptr |
|
virtualdefault |
void LVScope::addElement | ( | LVElement * | Element | ) |
Definition at line 112 of file LVScope.cpp.
References addElement(), assert(), llvm::logicalview::LVObject::Element, and llvm_unreachable.
Referenced by addElement(), llvm::logicalview::LVLogicalVisitor::addElement(), addMissingElements(), llvm::logicalview::LVLogicalVisitor::getElement(), llvm::logicalview::LVSymbolVisitor::visitKnownRecord(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
void LVScope::addElement | ( | LVLine * | Line | ) |
Definition at line 127 of file LVScope.cpp.
References llvm::logicalview::LVScopeCompileUnit::addedElement(), assert(), llvm::logicalview::getReaderCompileUnit(), and Lines.
void LVScope::addElement | ( | LVScope * | Scope | ) |
Definition at line 166 of file LVScope.cpp.
References llvm::logicalview::LVScopeCompileUnit::addedElement(), addToChildren(), assert(), llvm::logicalview::LVObject::getParent(), llvm::logicalview::getReaderCompileUnit(), llvm::logicalview::LVObject::Scope, Scopes, and llvm::logicalview::LVObject::setParent().
void LVScope::addElement | ( | LVSymbol * | Symbol | ) |
Definition at line 193 of file LVScope.cpp.
References llvm::logicalview::LVScopeCompileUnit::addedElement(), addToChildren(), assert(), llvm::logicalview::LVObject::getParent(), llvm::logicalview::getReaderCompileUnit(), llvm::logicalview::LVObject::setParent(), llvm::logicalview::LVObject::Symbol, and Symbols.
void LVScope::addElement | ( | LVType * | Type | ) |
Definition at line 220 of file LVScope.cpp.
References llvm::logicalview::LVScopeCompileUnit::addedElement(), addToChildren(), assert(), llvm::logicalview::getReaderCompileUnit(), and Types.
void LVScope::addMissingElements | ( | LVScope * | Reference | ) |
Definition at line 289 of file LVScope.cpp.
References addElement(), llvm::SmallVectorImpl< T >::append(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::dbgs(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::erase(), llvm::logicalview::LVObject::getOffset(), llvm::logicalview::getReader(), llvm::logicalview::LVSymbol::getReference(), getSymbols(), llvm::logicalview::hexSquareString(), LLVM_DEBUG, llvm_unreachable, llvm::logicalview::Reference, llvm::logicalview::LVObject::setOffset(), llvm::logicalview::LVSymbol::setReference(), llvm::SmallVectorBase< Size_T >::size(), and llvm::logicalview::LVObject::Symbol.
Referenced by llvm::logicalview::LVScopeFunction::resolveReferences().
Definition at line 247 of file LVScope.cpp.
References addObject(), llvm::logicalview::getReader(), and llvm::logicalview::Location.
void LVScope::addObject | ( | LVLocation * | Location | ) |
Definition at line 151 of file LVScope.cpp.
References assert(), llvm::logicalview::LVObject::getOffset(), llvm::logicalview::Location, and Ranges.
Referenced by addObject(), and llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation().
void LVScope::addToChildren | ( | LVElement * | Element | ) |
Definition at line 106 of file LVScope.cpp.
References Children, and llvm::logicalview::LVObject::Element.
Referenced by addElement().
Definition at line 155 of file LVScope.h.
References llvm::logicalview::LVObject::Element, llvm::logicalview::LVElement::getSubclassID(), and llvm::logicalview::LV_SCOPE.
|
overridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 578 of file LVScope.cpp.
References Children, llvm::logicalview::LVSplitContext::close(), llvm::createStringError(), llvm::logicalview::LVObject::doPrint(), llvm::codeview::EC, llvm::logicalview::LVObject::Element, llvm::Full, llvm::logicalview::LVObject::getLevel(), llvm::logicalview::LVElement::getName(), llvm::logicalview::getReader(), llvm::logicalview::getReaderSplitContext(), Lines, llvm::Match, llvm::logicalview::options(), llvm::logicalview::LVSplitContext::os(), OS, llvm::logicalview::LVReader::outputStream(), print(), llvm::logicalview::LVReader::printRecords(), printSizes(), printSummary(), printWarnings(), llvm::logicalview::LVReader::setCompileUnit(), llvm::logicalview::Split, and llvm::Error::success().
Referenced by llvm::logicalview::LVReader::printScopes().
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 321 of file LVScope.h.
References llvm::dbgs(), and print().
void LVScope::encodeTemplateArguments | ( | std::string & | Name | ) | const |
Definition at line 507 of file LVScope.cpp.
References llvm::logicalview::LVElement::getQualifiedName(), and llvm::logicalview::Name.
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), and resolveTemplate().
Definition at line 526 of file LVScope.cpp.
References llvm::logicalview::Name, and Types.
Definition at line 855 of file LVScope.cpp.
References lineCount(), llvm::logicalview::options(), llvm::logicalview::LVObject::Scope, scopeCount(), symbolCount(), and typeCount().
Referenced by llvm::logicalview::LVScopeAggregate::equals(), llvm::logicalview::LVScopeAlias::equals(), llvm::logicalview::LVScopeArray::equals(), llvm::logicalview::LVScopeEnumeration::equals(), llvm::logicalview::LVScopeFormalPack::equals(), llvm::logicalview::LVScopeFunction::equals(), llvm::logicalview::LVScopeNamespace::equals(), and llvm::logicalview::LVScopeTemplatePack::equals().
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeAlias, llvm::logicalview::LVScopeArray, llvm::logicalview::LVScopeCompileUnit, llvm::logicalview::LVScopeEnumeration, llvm::logicalview::LVScopeFormalPack, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeFunctionInlined, llvm::logicalview::LVScopeNamespace, llvm::logicalview::LVScopeRoot, and llvm::logicalview::LVScopeTemplatePack.
Definition at line 942 of file LVScope.cpp.
References llvm::logicalview::LVElement::equals(), equals(), llvm::logicalview::LVObject::getParentScope(), and llvm::logicalview::LVObject::Scope.
Referenced by equals(), llvm::logicalview::LVScopeAggregate::equals(), llvm::logicalview::LVScopeAlias::equals(), llvm::logicalview::LVScopeArray::equals(), llvm::logicalview::LVScopeCompileUnit::equals(), llvm::logicalview::LVScopeEnumeration::equals(), llvm::logicalview::LVScopeFormalPack::equals(), llvm::logicalview::LVScopeFunction::equals(), llvm::logicalview::LVScopeNamespace::equals(), llvm::logicalview::LVScopeRoot::equals(), llvm::logicalview::LVScopeTemplatePack::equals(), findEqualScope(), and llvm::logicalview::LVType::parametersMatch().
Definition at line 959 of file LVScope.cpp.
References llvm::logicalview::Reference, and llvm::SmallVectorBase< Size_T >::size().
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeFunctionInlined, and llvm::logicalview::LVScopeNamespace.
Definition at line 951 of file LVScope.cpp.
References assert(), equals(), llvm::logicalview::LVObject::Scope, and Scopes.
|
inline |
Definition at line 210 of file LVScope.h.
References Children.
Referenced by llvm::logicalview::LVScopeCompileUnit::printMatchedElements().
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 261 of file LVScope.h.
References llvm::logicalview::LVElement::getCompileUnitParent().
|
inline |
Definition at line 247 of file LVScope.h.
Referenced by llvm::logicalview::LVSymbol::calculateCoverage(), and llvm::logicalview::LVLocation::print().
|
inlinestatic |
Definition at line 313 of file LVScope.h.
Referenced by llvm::logicalview::LVPatterns::LVPatterns().
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVScopeAggregate, and llvm::logicalview::LVScopeFunction.
Definition at line 143 of file LVScope.h.
Referenced by printEncodedArgs().
Definition at line 205 of file LVScope.h.
References Lines.
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVScopeFunction::equals(), markMissingParents(), llvm::logicalview::LVScopeRoot::transformScopedName(), and traverseParentsAndChildren().
void LVScope::getLocations | ( | LVLocations & | LocationList, |
LVValidLocation | ValidLocation, | ||
bool | RecordInvalid = false |
||
) |
Definition at line 753 of file LVScope.cpp.
References getLocations(), llvm::logicalview::LVSymbol::getLocations(), llvm::logicalview::LVObject::Scope, Scopes, llvm::logicalview::LVObject::Symbol, and Symbols.
Referenced by getLocations(), and llvm::logicalview::LVScopeCompileUnit::processRangeLocationCoverage().
void LVScope::getQualifiedName | ( | std::string & | QualifiedName | ) | const |
Definition at line 495 of file LVScope.cpp.
References llvm::logicalview::LVElement::getName(), and llvm::logicalview::LVObject::getParentScope().
|
inline |
Definition at line 206 of file LVScope.h.
References Ranges.
Referenced by llvm::logicalview::LVRange::addEntry(), llvm::logicalview::LVSymbol::fillLocationGaps(), getRanges(), llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation(), outermostParent(), and llvm::logicalview::LVScopeCompileUnit::processRangeLocationCoverage().
void LVScope::getRanges | ( | LVLocations & | LocationList, |
LVValidLocation | ValidLocation, | ||
bool | RecordInvalid = false |
||
) |
Definition at line 768 of file LVScope.cpp.
References getRanges(), llvm::logicalview::Location, llvm::SmallVectorTemplateBase< T, bool >::push_back(), Ranges, llvm::logicalview::LVObject::Scope, and Scopes.
void LVScope::getRanges | ( | LVRange & | RangeList | ) |
Definition at line 793 of file LVScope.cpp.
References llvm::logicalview::LVRange::addEntry(), getRanges(), Ranges, llvm::logicalview::LVObject::Scope, and Scopes.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeFunction, and llvm::logicalview::LVScopeNamespace.
Definition at line 259 of file LVScope.h.
Referenced by llvm::logicalview::LVScopeFunction::equals(), llvm::logicalview::LVScopeNamespace::equals(), resolveReferences(), llvm::logicalview::LVScopeFunction::resolveReferences(), and resolveReferencesChain().
Definition at line 207 of file LVScope.h.
References Scopes.
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVBinaryReader::includeInlineeLines(), markMissingParents(), llvm::logicalview::LVScopeCompileUnit::printSizes(), llvm::logicalview::LVScopeRoot::transformScopedName(), and traverseParentsAndChildren().
Definition at line 208 of file LVScope.h.
References Symbols.
Referenced by addMissingElements(), checkIntegrityScopesTree(), llvm::logicalview::LVScopeFunction::equals(), markMissingParents(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), llvm::logicalview::LVScopeRoot::transformScopedName(), and traverseParentsAndChildren().
Definition at line 461 of file LVScope.cpp.
References llvm::SmallVectorBase< Size_T >::empty(), getTypes(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Types.
Referenced by resolveTemplate().
Definition at line 209 of file LVScope.h.
References Types.
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVScopeAggregate::equals(), llvm::logicalview::LVScopeArray::equals(), llvm::logicalview::LVScopeFunction::equals(), getTemplateParameterTypes(), markMissingParents(), llvm::logicalview::LVScopeArray::resolveExtra(), llvm::logicalview::LVScopeRoot::transformScopedName(), and traverseParentsAndChildren().
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVElement.
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Reimplemented from llvm::logicalview::LVObject.
Definition at line 49 of file LVScope.cpp.
References llvm::logicalview::Kind.
Referenced by llvm::logicalview::LVRange::print(), printExtra(), llvm::logicalview::LVScopeAlias::printExtra(), llvm::logicalview::LVScopeArray::printExtra(), llvm::logicalview::LVScopeCompileUnit::printExtra(), llvm::logicalview::LVScopeEnumeration::printExtra(), llvm::logicalview::LVScopeFormalPack::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVScopeNamespace::printExtra(), llvm::logicalview::LVScopeRoot::printExtra(), and llvm::logicalview::LVScopeTemplatePack::printExtra().
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsAggregate | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsArray | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsEnumeration | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsMember | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsNamespace | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsTemplate | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsTemplateAlias | |||
) |
llvm::logicalview::LVScope::KIND | ( | LVScopeKind | , |
IsTemplatePack | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsCallSite | , | ||
IsFunction | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsCatchBlock | , | ||
IsBlock | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsClass | , | ||
IsAggregate | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsEntryPoint | , | ||
IsFunction | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsFunctionType | , | ||
IsFunction | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsLabel | , | ||
IsFunction | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsLexicalBlock | , | ||
IsBlock | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsRoot | , | ||
TransformName | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsStructure | , | ||
IsAggregate | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsSubprogram | , | ||
IsFunction | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsTryBlock | , | ||
IsBlock | |||
) |
llvm::logicalview::LVScope::KIND_1 | ( | LVScopeKind | , |
IsUnion | , | ||
IsAggregate | |||
) |
llvm::logicalview::LVScope::KIND_2 | ( | LVScopeKind | , |
IsBlock | , | ||
CanHaveRanges | , | ||
CanHaveLines | |||
) |
llvm::logicalview::LVScope::KIND_2 | ( | LVScopeKind | , |
IsFunction | , | ||
CanHaveRanges | , | ||
CanHaveLines | |||
) |
llvm::logicalview::LVScope::KIND_2 | ( | LVScopeKind | , |
IsInlinedFunction | , | ||
IsFunction | , | ||
IsInlined | |||
) |
llvm::logicalview::LVScope::KIND_3 | ( | LVScopeKind | , |
IsCompileUnit | , | ||
CanHaveRanges | , | ||
CanHaveLines | , | ||
TransformName | |||
) |
|
inline |
Definition at line 866 of file LVScope.cpp.
References getLines(), getScopes(), getSymbols(), getTypes(), Lines, llvm::logicalview::LVLine::markMissingParents(), markMissingParents(), llvm::logicalview::LVSymbol::markMissingParents(), llvm::logicalview::LVType::markMissingParents(), llvm::logicalview::options(), Scopes, Symbols, and Types.
|
static |
Definition at line 890 of file LVScope.cpp.
References llvm::dbgs(), llvm::logicalview::formattedKind(), llvm::logicalview::formattedName(), llvm::Target::getName(), llvm::logicalview::hexSquareString(), LLVM_DEBUG, and llvm::logicalview::Reference.
Referenced by markMissingParents().
Definition at line 805 of file LVScope.cpp.
References llvm::Address, llvm::logicalview::LVObject::getParentScope(), getRanges(), and llvm::logicalview::Location.
Referenced by llvm::logicalview::LVSymbol::calculateCoverage().
|
overridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Reimplemented in llvm::logicalview::LVScopeCompileUnit, and llvm::logicalview::LVScopeRoot.
Definition at line 998 of file LVScope.cpp.
References llvm::Full, llvm::logicalview::getReader(), llvm::logicalview::getReaderCompileUnit(), llvm::logicalview::LVScopeCompileUnit::incrementPrintedScopes(), llvm::logicalview::options(), OS, llvm::logicalview::LVObject::print(), and printExtra().
Referenced by doPrint(), dump(), llvm::logicalview::LVScopeCompileUnit::print(), llvm::logicalview::LVScopeRoot::print(), and llvm::logicalview::LVScopeCompileUnit::printMatchedElements().
|
protected |
Definition at line 984 of file LVScope.cpp.
References llvm::Full, llvm::logicalview::Location, llvm::logicalview::options(), OS, and Ranges.
Referenced by printExtra(), llvm::logicalview::LVScopeCompileUnit::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), and llvm::logicalview::LVScopeNamespace::printExtra().
|
protected |
Definition at line 992 of file LVScope.cpp.
References llvm::Full, getEncodedArgs(), llvm::logicalview::options(), OS, and llvm::logicalview::LVObject::printAttributes().
Referenced by llvm::logicalview::LVScopeAggregate::printExtra(), and llvm::logicalview::LVScopeFunction::printExtra().
|
overridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeAlias, llvm::logicalview::LVScopeArray, llvm::logicalview::LVScopeCompileUnit, llvm::logicalview::LVScopeEnumeration, llvm::logicalview::LVScopeFormalPack, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeFunctionInlined, llvm::logicalview::LVScopeNamespace, llvm::logicalview::LVScopeRoot, and llvm::logicalview::LVScopeTemplatePack.
Definition at line 1009 of file LVScope.cpp.
References llvm::logicalview::formattedKind(), llvm::logicalview::formattedName(), llvm::logicalview::formattedNames(), llvm::Full, llvm::logicalview::LVElement::getName(), llvm::logicalview::LVElement::getTypeQualifiedName(), kind(), OS, printActiveRanges(), llvm::logicalview::LVElement::typeAsString(), and llvm::logicalview::LVElement::typeOffsetAsString().
Referenced by print(), and llvm::logicalview::LVScopeAggregate::printExtra().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 318 of file LVScope.h.
Referenced by llvm::logicalview::LVScopeRoot::doPrintMatches().
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 139 of file LVScope.h.
Referenced by doPrint().
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 140 of file LVScope.h.
Referenced by doPrint().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 317 of file LVScope.h.
Referenced by doPrint().
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
AddedMissing | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
CanHaveLines | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
CanHaveRanges | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasComdatScopes | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasDiscriminator | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasGlobals | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasLines | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasLocals | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasRanges | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasScopes | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasSymbols | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
HasTypes | |||
) |
llvm::logicalview::LVScope::PROPERTY | ( | Property | , |
IsComdat | |||
) |
|
inline |
Reimplemented from llvm::logicalview::LVElement.
Definition at line 257 of file LVScope.cpp.
References Children, llvm::logicalview::LVObject::Element, Lines, llvm_unreachable, llvm::logicalview::LVObject::resetParent(), Scopes, Symbols, and Types.
|
overridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Definition at line 971 of file LVScope.cpp.
References Children, llvm::logicalview::LVObject::Element, llvm::logicalview::getComparator(), Lines, llvm::logicalview::LVCompare::pop(), llvm::logicalview::LVCompare::printItem(), llvm::logicalview::LVCompare::push(), and llvm::logicalview::LVElement::report().
Referenced by llvm::logicalview::LVCompare::execute().
|
overridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Definition at line 362 of file LVScope.cpp.
References Children, llvm::logicalview::LVObject::Element, and llvm::logicalview::LVElement::resolve().
Referenced by llvm::logicalview::LVElement::resolveParents().
void LVScope::resolveElements | ( | ) |
Definition at line 437 of file LVScope.cpp.
References llvm::logicalview::getReader(), llvm::logicalview::LVObject::Scope, Scopes, and llvm::logicalview::LVReader::setCompileUnit().
Referenced by llvm::logicalview::LVReader::doLoad().
|
overridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Definition at line 379 of file LVScope.cpp.
References llvm::logicalview::LVElement::generateName(), llvm::logicalview::LVElement::getLinkageName(), llvm::logicalview::LVElement::getType(), llvm::logicalview::LVElement::isNamed(), llvm::logicalview::patterns(), llvm::logicalview::LVElement::resolveFullname(), llvm::logicalview::LVElement::resolveName(), llvm::logicalview::LVPatterns::resolvePatternMatch(), resolveTemplate(), and llvm::logicalview::LVElement::setName().
|
overridevirtual |
Reimplemented from llvm::logicalview::LVElement.
Reimplemented in llvm::logicalview::LVScopeFunction.
Definition at line 411 of file LVScope.cpp.
References llvm::logicalview::LVObject::Element, getReference(), llvm::logicalview::LVElement::getType(), llvm::logicalview::Reference, llvm::logicalview::LVElement::resolve(), resolveReferencesChain(), and llvm::logicalview::LVElement::setFile().
Referenced by llvm::logicalview::LVScopeFunction::resolveReferences().
StringRef LVScope::resolveReferencesChain | ( | ) |
Definition at line 451 of file LVScope.cpp.
References llvm::logicalview::LVElement::getName(), getReference(), llvm::logicalview::LVElement::isNamed(), resolveReferencesChain(), and llvm::logicalview::LVElement::setName().
Referenced by resolveReferences(), and resolveReferencesChain().
|
protected |
Definition at line 476 of file LVScope.cpp.
References encodeTemplateArguments(), getTemplateParameterTypes(), llvm::logicalview::options(), and setEncodedArgs().
Referenced by llvm::logicalview::LVScopeFunction::resolveExtra(), llvm::logicalview::LVScopeFunctionInlined::resolveExtra(), and resolveName().
|
inline |
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVScopeAggregate, and llvm::logicalview::LVScopeFunction.
Definition at line 144 of file LVScope.h.
Referenced by resolveTemplate().
void LVScope::sort | ( | ) |
Definition at line 674 of file LVScope.cpp.
References Children, llvm::logicalview::compareRange(), llvm::logicalview::getSortFunction(), Ranges, llvm::logicalview::LVObject::Scope, Scopes, Symbols, and Types.
Referenced by llvm::logicalview::LVCodeViewReader::sortScopes(), and llvm::logicalview::LVDWARFReader::sortScopes().
|
inline |
Definition at line 234 of file LVScope.h.
References Symbols.
Referenced by equalNumberOfChildren().
void LVScope::traverseParentsAndChildren | ( | LVObjectGetFunction | GetFunction, |
LVObjectSetFunction | SetFunction | ||
) |
Definition at line 713 of file LVScope.cpp.
References getLines(), llvm::logicalview::LVObject::getParentScope(), getScopes(), getSymbols(), getTypes(), llvm::logicalview::options(), llvm::logicalview::LVObject::Scope, and Scopes.
Referenced by llvm::logicalview::LVScopeCompileUnit::propagatePatternMatch().
|
inline |
Reimplemented from llvm::logicalview::LVElement.
Definition at line 346 of file LVScope.cpp.
References Children, llvm::logicalview::LVObject::Element, llvm::logicalview::LVObject::getLevel(), Lines, llvm::logicalview::LVObject::setLevel(), and llvm::logicalview::LVElement::updateLevel().
|
protected |
Definition at line 132 of file LVScope.h.
Referenced by addToChildren(), doPrint(), getChildren(), removeElement(), report(), resolve(), sort(), and updateLevel().
|
protected |
Definition at line 123 of file LVScope.h.
Referenced by addElement(), doPrint(), getLines(), lineCount(), markMissingParents(), removeElement(), report(), and updateLevel().
|
protected |
Definition at line 124 of file LVScope.h.
Referenced by addObject(), llvm::logicalview::LVScopeCompileUnit::getBaseAddress(), getRanges(), printActiveRanges(), rangeCount(), and sort().
|
protected |
Definition at line 122 of file LVScope.h.
Referenced by addElement(), llvm::logicalview::LVScopeRoot::doPrintMatches(), findEqualScope(), llvm::logicalview::LVScopeAggregate::findEqualScope(), llvm::logicalview::LVScopeFunction::findEqualScope(), llvm::logicalview::LVScopeFunctionInlined::findEqualScope(), llvm::logicalview::LVScopeNamespace::findEqualScope(), getLocations(), getRanges(), getScopes(), markMissingParents(), llvm::logicalview::LVScopeCompileUnit::printSizes(), llvm::logicalview::LVScopeRoot::processRangeInformation(), removeElement(), resolveElements(), llvm::logicalview::LVScopeFunction::resolveReferences(), scopeCount(), sort(), llvm::logicalview::LVScopeRoot::transformScopedName(), and traverseParentsAndChildren().
|
protected |
Definition at line 121 of file LVScope.h.
Referenced by addElement(), getLocations(), getSymbols(), markMissingParents(), removeElement(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), sort(), and symbolCount().
|
protected |
Definition at line 120 of file LVScope.h.
Referenced by addElement(), encodeTemplateArguments(), getTemplateParameterTypes(), getTypes(), markMissingParents(), removeElement(), llvm::logicalview::LVScopeArray::resolveExtra(), sort(), and typeCount().