| /llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.cpp | |
| H A D | DWARFVerifier.cpp | 261 if (Die.getTag() == DW_TAG_null) in verifyUnitContents() 274 Die.getFirstChild().getTag() == DW_TAG_null) { in verifyUnitContents() 275 warn() << dwarf::TagString(Die.getTag()) in verifyUnitContents() 293 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents() 296 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents() 302 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents() 305 << ") and root DIE (" << dwarf::TagString(Die.getTag()) in verifyUnitContents() 314 if (Die.getTag() == dwarf::DW_TAG_skeleton_unit && Die.hasChildren()) { in verifyUnitContents() 328 if (Die.getTag() != DW_TAG_call_site && Die.getTag() ! in verifyDebugInfoCallSite() [all...] |
| /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()
|
| /llvm-project/llvm/unittests/BinaryFormat/ |
| H A D | DwarfTest.cpp | 30 TEST(DwarfTest, getTag) { in TEST() argument 32 EXPECT_EQ(DW_TAG_array_type, getTag("DW_TAG_array_type")); in TEST() 33 EXPECT_EQ(DW_TAG_module, getTag("DW_TAG_module")); in TEST() 36 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_invalid")); in TEST() 37 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_madeuptag")); in TEST() 38 EXPECT_EQ(DW_TAG_invalid, getTag("something else")); in TEST() 41 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_lo_user")); in TEST() 42 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_hi_user")); in TEST() 43 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_user_base")); in TEST()
|
| /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() 723 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE() 726 if (BTy->getTag() != dwarf::DW_TAG_string_type) in constructTypeDIE() 788 uint16_t Tag = Buffer.getTag(); in constructTypeDIE() 923 uint16_t Tag = Buffer.getTag(); in constructTypeDIE() 964 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE() 987 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffe in constructTypeDIE() [all...] |
| /llvm-project/mlir/unittests/Debug/ |
| H A D | ExecutionContextTest.cpp | 50 ASSERT_EQ(stackEntry, backtrace->getAction().getTag()); in TEST() 61 current = backtrace->getAction().getTag(); in TEST() 133 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 155 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 178 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 204 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 226 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 249 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 275 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() 302 EXPECT_EQ(tagSequence[idx], backtrace->getAction().getTag()); in TEST() [all …]
|
| /llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ChrootChecker.cpp | 52 static void *getTag() { getTag() function in __anon28b88ec50111::ChrootChecker
|
| /llvm-project/mlir/include/mlir/IR/ |
| H A D | Action.h | 48 virtual StringRef getTag() const = 0; 51 os << "Action \"" << getTag() << "\""; in print() 87 StringRef getTag() const final { return Derived::tag; } in getTag() function
|
| /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...] |
| /llvm-project/llvm/unittests/ADT/ |
| H A D | PointerSumTypeTest.cpp | 39 EXPECT_EQ(Float, a.getTag()); in TEST_F() 40 EXPECT_EQ(Int1, b.getTag()); in TEST_F() 41 EXPECT_EQ(Int2, c.getTag()); in TEST_F() 42 EXPECT_EQ((Kinds)0, n.getTag()); in TEST_F()
|
| /llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 233 ParentTy->getTag() != dwarf::DW_TAG_typedef) in CheckCompositeType() 250 unsigned Tag = DTy->getTag(); 283 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in SkipDIDerivedTag() 292 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers() 304 if (Element->getTag() == dwarf::DW_TAG_subrange_type) { in stripQualifiers() 503 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain() 513 uint32_t PTyTag = PTy->getTag(); in IsValidAIChain() 518 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain() 681 uint32_t Tag = CTy->getTag(); in GetFieldInfo() 738 if (!CompTy || CompTy->getTag() ! in GetFieldInfo() [all...] |
| /llvm-project/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DWARFDebugInfoTest.cpp | 570 EXPECT_EQ(SubprogramDieDG.getTag(), DW_TAG_subprogram); 575 EXPECT_EQ(ArgcDieDG.getTag(), DW_TAG_formal_parameter); 581 EXPECT_EQ(NullDieDG.getTag(), DW_TAG_null); 589 EXPECT_EQ(IntDieDG.getTag(), DW_TAG_base_type); 595 EXPECT_EQ(NullDieDG.getTag(), DW_TAG_null); 603 EXPECT_EQ(IntDieDG.getTag(), DW_TAG_base_type); 752 EXPECT_EQ(CU1TypeDieDG.getTag(), DW_TAG_base_type); 758 EXPECT_EQ(CU2TypeDieDG.getTag(), DW_TAG_base_type); 765 EXPECT_EQ(CU1Ref1DieDG.getTag(), DW_TAG_variable); 772 EXPECT_EQ(CU1Ref2DieDG.getTag(), DW_TAG_variabl [all...] |
| /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()
|
| /llvm-project/mlir/lib/Debug/Observers/ |
| H A D | ActionLogging.cpp | 57 os << action->getAction().getTag(); in beforeExecute() 75 os << "[thread " << name << "] completed `" << action->getAction().getTag() in afterExecute()
|
| /llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 213 (Tag ? Tag : Location.getTag())); 229 (Tag ? Tag : Location.getTag())); 242 return addTransition(State, (Tag ? Tag : Location.getTag())); 258 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
|
| /llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | LiveVariables.h | 105 static const void *getTag(); 119 static const void *getTag();
|
| /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();
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 86 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo() 90 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
|