| /src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.cpp | 20 if (C.getTag() != DW_TAG_subrange_type) in appendArrayType() 73 while (D && (D.getTag() == DW_TAG_const_type || in skipQualifiers() 74 D.getTag() == DW_TAG_volatile_type)) in skipQualifiers() 81 return D && (D.getTag() == DW_TAG_subroutine_type || in needsParens() 82 D.getTag() == DW_TAG_array_type); in needsParens() 107 const dwarf::Tag T = D.getTag(); in appendUnqualifiedNameBefore() 178 appendTypeTagName(D.getTag()); in appendUnqualifiedNameBefore() 218 switch (D.getTag()) { in appendUnqualifiedNameAfter() 239 /*SkipFirstParamIfArtificial=*/D.getTag() == in appendUnqualifiedNameAfter() 314 if (D && scopedTAGs(D.getTag())) in appendQualifiedName() [all …]
|
| H A D | DWARFVerifier.cpp | 252 if (Die.getTag() == DW_TAG_null) in verifyUnitContents() 265 Die.getFirstChild().getTag() == DW_TAG_null) { in verifyUnitContents() 266 warn() << dwarf::TagString(Die.getTag()) in verifyUnitContents() 284 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents() 287 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents() 293 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents() 296 << ") and root DIE (" << dwarf::TagString(Die.getTag()) in verifyUnitContents() 305 if (Die.getTag() == dwarf::DW_TAG_skeleton_unit && Die.hasChildren()) { in verifyUnitContents() 319 if (Die.getTag() != DW_TAG_call_site && Die.getTag() != DW_TAG_GNU_call_site) in verifyDebugInfoCallSite() 324 if (Curr.getTag() == DW_TAG_inlined_subroutine) { in verifyDebugInfoCallSite() [all …]
|
| H A D | DWARFDie.cpp | 238 if (getTag() == DW_TAG_GNU_template_parameter_pack) in getFullName() 243 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE() 246 auto Tag = getTag(); in isSubroutineDIE() 502 switch (Die.getTag()) { in getTypeSizeImpl() 509 if (BaseType.getTag() == DW_TAG_subroutine_type) in getTypeSizeImpl() 533 if (Child.getTag() != DW_TAG_subrange_type) in getTypeSizeImpl() 600 << formatv("{0}", getTag()); in dump()
|
| /src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | AcceleratorRecordsSaver.cpp | 50 if (!Name && InputDIE.getTag() == dwarf::DW_TAG_namespace) in hashFullyQualifiedName() 54 if (!ParentDie.isValid() || ParentDie.getTag() == dwarf::DW_TAG_compile_unit) in hashFullyQualifiedName() 76 switch (InputDieEntry->getTag()) { in save() 119 saveTypeRecord(AttrInfo.Name, OutDIE, InputDieEntry->getTag(), Hash, in save() 128 saveNamespaceRecord(AttrInfo.Name, OutDIE, InputDieEntry->getTag(), in save() 133 saveNamespaceRecord(AttrInfo.Name, OutDIE, InputDieEntry->getTag(), in save() 147 saveNameRecord(AttrInfo.Name, OutDIE, InputDieEntry->getTag(), in save() 148 InputDieEntry->getTag() == in save() 158 saveNameRecord(AttrInfo.MangledName, OutDIE, InputDieEntry->getTag(), in save() 159 InputDieEntry->getTag() == in save() [all …]
|
| H A D | DependencyTracker.cpp | 60 if (Child.getTag() == dwarf::DW_TAG_subprogram) { in verifyKeepChain() 146 switch (CurChild->getTag()) { in collectRootsToKeep() 200 if (Entry.DieEntry->getTag() == dwarf::DW_TAG_compile_unit) { in collectRootsToKeep() 291 switch (Entry->getTag()) { in isNamespaceLikeEntry() 399 if (Entry.DieEntry->getTag() == dwarf::DW_TAG_variable) { in getFinalPlacementForEntry() 457 Entry.DieEntry->getTag() == dwarf::DW_TAG_subprogram ? Entry : RootEntry; in markDIEEntryAsKeptRec() 472 if (Entry.DieEntry->getTag() == dwarf::DW_TAG_subprogram && in markDIEEntryAsKeptRec() 489 switch (CurChild->getTag()) { in markDIEEntryAsKeptRec() 543 switch (CurChild->getTag()) { in markDIEEntryAsKeptRec() 566 switch (DIEEntry->getTag()) { in isTypeTableCandidate() [all …]
|
| H A D | SyntheticTypeNameBuilder.cpp | 43 if (CurChild->getTag() == dwarf::DW_TAG_subrange_type || in addArrayDimension() 44 CurChild->getTag() == dwarf::DW_TAG_generic_subrange) { in addArrayDimension() 76 dwarf::Tag ChildTag = CurChild->getTag(); in addSignature() 139 if (Parameter->getTag() == dwarf::DW_TAG_template_value_parameter) { in addTemplateParamNames() 170 switch (UnitEntryPair.DieEntry->getTag()) { in getTypeDeduplicationCandidate() 344 switch (InputUnitEntryPair.DieEntry->getTag()) { in addTypeName() 434 switch (DieEntry->getTag()) { in addTypePrefix() 654 SyntheticName += utohexstr(DieEntry->getTag()); in addTypePrefix() 662 switch (DieEntry->getTag()) { in OrderedChildrenIndexAssigner() 720 switch (DieEntry->getTag()) { in tagToArrayIndex() [all …]
|
| H A D | DIEAttributeCloner.cpp | 120 if (InputDieEntry->getTag() == dwarf::DW_TAG_compile_unit && in clone() 392 (InputDieEntry->getTag() == dwarf::DW_TAG_variable || in cloneScalarAttr() 393 InputDieEntry->getTag() == dwarf::DW_TAG_constant)) in cloneScalarAttr() 458 InputDieEntry->getTag() == dwarf::DW_TAG_compile_unit) { in cloneScalarAttr() 484 InputDieEntry->getTag() == dwarf::DW_TAG_compile_unit}, in cloneScalarAttr() 617 if (InputDieEntry->getTag() == dwarf::DW_TAG_compile_unit && in cloneAddressAttr() 623 } else if (InputDieEntry->getTag() == dwarf::DW_TAG_compile_unit && in cloneAddressAttr()
|
| H A D | DWARFLinkerUnit.h | 82 UnitTag = OutUnitDIE->getTag(); in setOutUnitDIE() 87 dwarf::Tag getTag() const { return UnitTag; } in getTag() function
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ChrootChecker.cpp | 52 static void *getTag() { in getTag() function in __anonc277d4a70111::ChrootChecker 86 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in evalChroot() 95 const void *k = state->FindGDM(ChrootChecker::getTag()); in evalChdir() 108 state = Mgr.addGDM(state, ChrootChecker::getTag(), in evalChdir() 124 void *const* k = C.getState()->FindGDM(ChrootChecker::getTag()); in checkPreCall()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DIEHash.cpp | 90 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || in addParentContext() 91 Cur->getTag() == dwarf::DW_TAG_type_unit); in addParentContext() 100 addULEB128(Die->getTag()); in addParentContext() 350 hashAttributes(Attrs, Die.getTag()); in addAttributes() 359 addULEB128(Die.getTag()); in hashNestedType() 371 addULEB128(Die.getTag()); in computeHash() 380 …if (isType(C.getTag()) || (C.getTag() == dwarf::DW_TAG_subprogram && isType(C.getParent()->getTag(… in computeHash()
|
| H A D | DebugHandlerBase.cpp | 155 unsigned Tag = DDTy->getTag(); in getBaseTypeSize() 172 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize() 173 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize() 191 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) { in isUnsignedDIType() 203 dwarf::Tag T = (dwarf::Tag)Ty->getTag(); in isUnsignedDIType() 234 (Ty->getTag() == dwarf::DW_TAG_unspecified_type && in isUnsignedDIType() 241 Ty->getTag() == dwarf::DW_TAG_unspecified_type; in isUnsignedDIType()
|
| H A D | DwarfUnit.cpp | 568 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in createTypeDIE() 579 DIE &TyDIE = createAndAddDIE(Ty->getTag(), ContextDIE, Ty); in createTypeDIE() 619 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2) in getOrCreateTypeDIE() 623 if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5) in getOrCreateTypeDIE() 716 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE() 719 if (BTy->getTag() != dwarf::DW_TAG_string_type) in constructTypeDIE() 777 uint16_t Tag = Buffer.getTag(); in constructTypeDIE() 912 uint16_t Tag = Buffer.getTag(); in constructTypeDIE() 953 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE() 976 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffer); in constructTypeDIE() [all …]
|
| H A D | CodeViewDebug.cpp | 265 switch (Scope->getTag()) { in getPrettyScopeName() 1606 if (T->getTag() == dwarf::DW_TAG_typedef) { in shouldEmitUdt() 1608 switch (Scope->getTag()) { in shouldEmitUdt() 1662 switch (Ty->getTag()) { in lowerType() 1741 assert(Element->getTag() == dwarf::DW_TAG_subrange_type); in lowerTypeArray() 1913 Ty->getTag() == dwarf::DW_TAG_pointer_type) { in lowerTypePointer() 1923 switch (Ty->getTag()) { in lowerTypePointer() 1978 assert(Ty->getTag() == dwarf::DW_TAG_ptr_to_member_type); in lowerTypeMemberPointer() 2017 switch (BaseTy->getTag()) { in lowerTypeModifier() 2044 switch (BaseTy->getTag()) { in lowerTypeModifier() [all …]
|
| /src/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.cpp | 50 unsigned Tag = DIE.getTag(); in getChildDeclContext() 66 if ((Context.getTag() == dwarf::DW_TAG_namespace || in getChildDeclContext() 67 Context.getTag() == dwarf::DW_TAG_compile_unit) && in getChildDeclContext() 187 Context.getTag() != dwarf::DW_TAG_structure_type && in getChildDeclContext() 188 Context.getTag() != dwarf::DW_TAG_class_type) || in getChildDeclContext()
|
| H A D | DWARFLinkerCompileUnit.cpp | 42 if (U.getOrigUnit().getDIEAtIndex(Idx).getTag() == dwarf::DW_TAG_subprogram) in inFunctionScope() 77 if (DIE.getTag() != dwarf::DW_TAG_variable && in markEverythingAsKept() 78 DIE.getTag() != dwarf::DW_TAG_constant) in markEverythingAsKept() 176 if (Die.getTag() == dwarf::DW_TAG_compile_unit) { in noteRangeAttribute()
|
| H A D | DWARFLinker.cpp | 160 if (Die.getTag() == dwarf::DW_TAG_lexical_block) in getDIENames() 275 Info.Prune &= (Die.getTag() == dwarf::DW_TAG_module) || in updatePruning() 276 (isTypeTag(Die.getTag()) && in updatePruning() 344 if (Current.Die.getTag() == dwarf::DW_TAG_module && in analyzeContextInfo() 419 assert((DIE.getTag() == dwarf::DW_TAG_variable || in getVariableRelocAdjustment() 420 DIE.getTag() == dwarf::DW_TAG_constant) && in getVariableRelocAdjustment() 582 if (DIE.getTag() == dwarf::DW_TAG_label) { in shouldKeepSubprogramDIE() 623 switch (DIE.getTag()) { in shouldKeepDIE() 650 switch (Die.getTag()) { in updateChildIncompleteness() 670 switch (Die.getTag()) { in updateRefIncompleteness() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 234 ParentTy->getTag() != dwarf::DW_TAG_typedef) in CheckCompositeType() 257 unsigned Tag = DTy->getTag(); in CheckDerivedType() 290 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers() 299 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers() 311 if (Element->getTag() == dwarf::DW_TAG_subrange_type) { in calcArraySize() 510 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain() 520 uint32_t PTyTag = PTy->getTag(); in IsValidAIChain() 525 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain() 688 uint32_t Tag = CTy->getTag(); in GetFieldInfo() 745 if (!CompTy || CompTy->getTag() != dwarf::DW_TAG_enumeration_type) in GetFieldInfo() [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugInfoEntry.h | 66 dwarf::Tag getTag() const { in getTag() function 67 return AbbrevDecl ? AbbrevDecl->getTag() : dwarf::DW_TAG_null; in getTag()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 212 (Tag ? Tag : Location.getTag())); 228 (Tag ? Tag : Location.getTag())); 241 return addTransition(State, (Tag ? Tag : Location.getTag())); 257 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
|
| /src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | LiveVariables.h | 105 static const void *getTag(); 119 static const void *getTag();
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 414 static const char *getTag(); 462 static const char *getTag(); 530 static void *getTag() { in getTag() function 536 ID.AddPointer(getTag()); in Profile() 593 static const char *getTag();
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 88 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo() 92 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
|
| /src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinkerCompileUnit.h | 132 void createOutputDIE() { NewUnit.emplace(OrigUnit.getUnitDIE().getTag()); } in createOutputDIE() 140 dwarf::Tag getTag() const { return OrigUnit.getUnitDIE().getTag(); } in getTag() function
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 1139 CheckDI(N.getTag(), "invalid tag", &N); in visitGenericDINode() 1148 CheckDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N); in visitDISubrange() 1176 CheckDI(N.getTag() == dwarf::DW_TAG_generic_subrange, "invalid tag", &N); in visitDIGenericSubrange() 1198 CheckDI(N.getTag() == dwarf::DW_TAG_enumerator, "invalid tag", &N); in visitDIEnumerator() 1202 CheckDI(N.getTag() == dwarf::DW_TAG_base_type || in visitDIBasicType() 1203 N.getTag() == dwarf::DW_TAG_unspecified_type || in visitDIBasicType() 1204 N.getTag() == dwarf::DW_TAG_string_type, in visitDIBasicType() 1209 CheckDI(N.getTag() == dwarf::DW_TAG_string_type, "invalid tag", &N); in visitDIStringType() 1218 CheckDI(N.getTag() == dwarf::DW_TAG_typedef || in visitDIDerivedType() 1219 N.getTag() == dwarf::DW_TAG_pointer_type || in visitDIDerivedType() [all …]
|
| /src/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | Statistics.cpp | 279 const dwarf::Tag Tag = Die.getTag(); in collectStatsForDie() 482 const dwarf::Tag ChildTag = Child.getTag(); in collectAbstractOriginFnInfo() 508 const dwarf::Tag Tag = Die.getTag(); in collectStatsRecursive() 626 if (Child.getTag() == dwarf::DW_TAG_lexical_block) in collectStatsRecursive() 628 if (Child.getTag() == dwarf::DW_TAG_formal_parameter) in collectStatsRecursive() 650 auto Tag = FnDie.getTag(); in collectStatsRecursive() 750 const dwarf::Tag ChildTag = Child.getTag(); in updateVarsWithAbstractOriginLocCovInfo() 794 auto Tag = DwUnit->getDIEForOffset(Offset).getTag(); in collectZeroLocCovForVarsWithAbstractOrigin() 834 .getTag(); in collectZeroLocCovForVarsWithCrossCUReferencingAbstractOrigin()
|