|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/DebugInfoMetadata.h 719 return getTemporary(getContext(), getTag(), getName(), getSizeInBits(),
793 return getTemporary(getContext(), getTag(), getName(), getFile(), getLine(),
844 assert(getTag() == dwarf::DW_TAG_ptr_to_member_type);
853 assert(getTag() == dwarf::DW_TAG_inheritance);
861 assert(getTag() == dwarf::DW_TAG_member && isBitField());
868 assert(getTag() == dwarf::DW_TAG_member && isStaticMember());
874 assert(getTag() == dwarf::DW_TAG_member && !isStaticMember());
939 return getTemporary(getContext(), getTag(), getName(), getFile(), getLine(),
2209 return getTemporary(getContext(), getTag(), getName(), getType(),
3016 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
lib/Analysis/ModuleDebugInfoPrinter.cpp 115 auto Tag = dwarf::TagString(T->getTag());
119 O << "unknown-tag(" << T->getTag() << ")";
lib/Bitcode/Writer/BitcodeWriter.cpp 1539 Record.push_back(N->getTag());
1554 Record.push_back(N->getTag());
1582 Record.push_back(N->getTag());
1797 Record.push_back(N->getTag());
1914 Record.push_back(N->getTag());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 293 switch (Scope->getTag()) {
1441 if (T->getTag() == dwarf::DW_TAG_typedef) {
1443 switch (Scope->getTag()) {
1494 switch (Ty->getTag()) {
1571 assert(Element->getTag() == dwarf::DW_TAG_subrange_type);
1704 Ty->getTag() == dwarf::DW_TAG_pointer_type) {
1714 switch (Ty->getTag()) {
1769 assert(Ty->getTag() == dwarf::DW_TAG_ptr_to_member_type);
1807 switch (BaseTy->getTag()) {
1834 switch (BaseTy->getTag()) {
1910 if (PtrTy->getTag() == dwarf::DW_TAG_pointer_type) {
1986 switch (Ty->getTag()) {
2015 if (Ty->getTag() == dwarf::DW_TAG_enumeration_type) {
2032 switch (Ty->getTag()) {
2143 switch (Ty->getTag()) {
2178 if (DDTy->getTag() == dwarf::DW_TAG_member) {
2180 } else if (DDTy->getTag() == dwarf::DW_TAG_inheritance) {
2182 } else if (DDTy->getTag() == dwarf::DW_TAG_pointer_type &&
2185 } else if (DDTy->getTag() == dwarf::DW_TAG_typedef) {
2187 } else if (DDTy->getTag() == dwarf::DW_TAG_friend) {
2334 RecordKind, translateAccessFlags(Ty->getTag(), I->getFlags()),
2343 BaseClassRecord BCR(translateAccessFlags(Ty->getTag(), I->getFlags()),
2357 translateAccessFlags(Ty->getTag(), Member->getFlags());
2410 MethodType, translateAccessFlags(Ty->getTag(), SP->getFlags()),
2478 assert(PtrTy->getTag() == dwarf::DW_TAG_pointer_type &&
2518 if (Ty->getTag() == dwarf::DW_TAG_typedef)
2520 while (Ty->getTag() == dwarf::DW_TAG_typedef)
2525 switch (Ty->getTag()) {
2560 switch (CTy->getTag()) {
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp 149 unsigned Tag = DDTy->getTag();
164 if (BaseType->getTag() == dwarf::DW_TAG_reference_type ||
165 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type)
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp 131 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV);
703 if (!Array || Array->getTag() != dwarf::DW_TAG_array_type)
1003 DIE *IMDie = DIE::get(DIEValueAllocator, (dwarf::Tag)Module->getTag());
lib/CodeGen/AsmPrinter/DwarfUnit.cpp 466 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type)
475 dwarf::Tag T = (dwarf::Tag)Ty->getTag();
501 (Ty->getTag() == dwarf::DW_TAG_unspecified_type &&
507 Ty->getTag() == dwarf::DW_TAG_unspecified_type;
641 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty);
652 DIE &TyDIE = createAndAddDIE(Ty->getTag(), ContextDIE, Ty);
687 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2)
691 if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5)
773 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type)
913 if (DDTy->getTag() == dwarf::DW_TAG_friend) {
934 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffer);
950 if (Composite->getTag() == dwarf::DW_TAG_variant_part) {
951 DIE &VariantPart = createAndAddDIE(Composite->getTag(), Buffer);
1044 DIE &ParamDIE = createAndAddDIE(VP->getTag(), Buffer);
1048 if (VP->getTag() == dwarf::DW_TAG_template_value_parameter)
1068 } else if (VP->getTag() == dwarf::DW_TAG_GNU_template_template_param) {
1072 } else if (VP->getTag() == dwarf::DW_TAG_GNU_template_parameter_pack) {
1366 Elements[0]->getTag() == dwarf::DW_TAG_subrange_type &&
1399 if (Element->getTag() == dwarf::DW_TAG_subrange_type)
1449 DIE &MemberDie = createAndAddDIE(DT->getTag(), Buffer);
1459 if (DT->getTag() == dwarf::DW_TAG_inheritance && DT->isVirtual()) {
1570 DIE &StaticMemberDIE = createAndAddDIE(DT->getTag(), *ContextDIE, DT);
lib/IR/AsmWriter.cpp 1629 auto Tag = dwarf::TagString(N->getTag());
1633 Out << N->getTag();
1832 if (N->getTag() != dwarf::DW_TAG_base_type)
2081 if (N->getTag() != dwarf::DW_TAG_template_value_parameter)
lib/IR/LLVMContextImpl.h 389 : Tag(N->getTag()), Name(N->getRawName()), SizeInBits(N->getSizeInBits()),
393 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
429 : Tag(N->getTag()), Name(N->getRawName()), File(N->getRawFile()),
437 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
473 return isODRMember(LHS->getTag(), LHS->getRawScope(), LHS->getRawName(),
490 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
526 : Tag(N->getTag()), Name(N->getRawName()), File(N->getRawFile()),
537 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
870 : Tag(N->getTag()), Name(N->getRawName()), Type(N->getRawType()),
874 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
1078 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()),
1082 return Tag == RHS->getTag() && Scope == RHS->getRawScope() &&
lib/IR/Verifier.cpp 891 AssertDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N);
901 AssertDI(N.getTag() == dwarf::DW_TAG_enumerator, "invalid tag", &N);
905 AssertDI(N.getTag() == dwarf::DW_TAG_base_type ||
906 N.getTag() == dwarf::DW_TAG_unspecified_type,
916 AssertDI(N.getTag() == dwarf::DW_TAG_typedef ||
917 N.getTag() == dwarf::DW_TAG_pointer_type ||
918 N.getTag() == dwarf::DW_TAG_ptr_to_member_type ||
919 N.getTag() == dwarf::DW_TAG_reference_type ||
920 N.getTag() == dwarf::DW_TAG_rvalue_reference_type ||
921 N.getTag() == dwarf::DW_TAG_const_type ||
922 N.getTag() == dwarf::DW_TAG_volatile_type ||
923 N.getTag() == dwarf::DW_TAG_restrict_type ||
924 N.getTag() == dwarf::DW_TAG_atomic_type ||
925 N.getTag() == dwarf::DW_TAG_member ||
926 N.getTag() == dwarf::DW_TAG_inheritance ||
927 N.getTag() == dwarf::DW_TAG_friend,
929 if (N.getTag() == dwarf::DW_TAG_ptr_to_member_type) {
939 AssertDI(N.getTag() == dwarf::DW_TAG_pointer_type ||
940 N.getTag() == dwarf::DW_TAG_reference_type ||
941 N.getTag() == dwarf::DW_TAG_rvalue_reference_type,
968 AssertDI(N.getTag() == dwarf::DW_TAG_array_type ||
969 N.getTag() == dwarf::DW_TAG_structure_type ||
970 N.getTag() == dwarf::DW_TAG_union_type ||
971 N.getTag() == dwarf::DW_TAG_enumeration_type ||
972 N.getTag() == dwarf::DW_TAG_class_type ||
973 N.getTag() == dwarf::DW_TAG_variant_part,
993 Elements[0]->getTag() == dwarf::DW_TAG_subrange_type,
1000 if (N.getTag() == dwarf::DW_TAG_class_type ||
1001 N.getTag() == dwarf::DW_TAG_union_type) {
1007 AssertDI(isa<DIDerivedType>(D) && N.getTag() == dwarf::DW_TAG_variant_part,
1013 AssertDI(N.getTag() == dwarf::DW_TAG_subroutine_type, "invalid tag", &N);
1025 AssertDI(N.getTag() == dwarf::DW_TAG_file_type, "invalid tag", &N);
1047 AssertDI(N.getTag() == dwarf::DW_TAG_compile_unit, "invalid tag", &N);
1065 AssertDI(Enum && Enum->getTag() == dwarf::DW_TAG_enumeration_type,
1102 AssertDI(N.getTag() == dwarf::DW_TAG_subprogram, "invalid tag", &N);
1156 AssertDI(N.getTag() == dwarf::DW_TAG_lexical_block, "invalid tag", &N);
1175 AssertDI(N.getTag() == dwarf::DW_TAG_common_block, "invalid tag", &N);
1183 AssertDI(N.getTag() == dwarf::DW_TAG_namespace, "invalid tag", &N);
1213 AssertDI(N.getTag() == dwarf::DW_TAG_module, "invalid tag", &N);
1224 AssertDI(N.getTag() == dwarf::DW_TAG_template_type_parameter, "invalid tag",
1232 AssertDI(N.getTag() == dwarf::DW_TAG_template_value_parameter ||
1233 N.getTag() == dwarf::DW_TAG_GNU_template_template_param ||
1234 N.getTag() == dwarf::DW_TAG_GNU_template_parameter_pack,
1249 AssertDI(N.getTag() == dwarf::DW_TAG_variable, "invalid tag", &N);
1263 AssertDI(N.getTag() == dwarf::DW_TAG_variable, "invalid tag", &N);
1276 AssertDI(N.getTag() == dwarf::DW_TAG_label, "invalid tag", &N);
1298 AssertDI(N.getTag() == dwarf::DW_TAG_APPLE_property, "invalid tag", &N);
1306 AssertDI(N.getTag() == dwarf::DW_TAG_imported_module ||
1307 N.getTag() == dwarf::DW_TAG_imported_declaration,
lib/Target/BPF/BPFAbstractMemberAccess.cpp 199 if (!SkipDIDerivedTag(DTy->getTag()))
208 if (!SkipDIDerivedTag(DTy->getTag()))
220 if (Element->getTag() == dwarf::DW_TAG_subrange_type) {
364 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type)
374 uint32_t PTyTag = PTy->getTag();
379 uint32_t CTyTag = CTy->getTag();
549 uint32_t Tag = CTy->getTag();
604 if (!CompTy || CompTy->getTag() != dwarf::DW_TAG_enumeration_type)
752 assert(CTy->getTag() == dwarf::DW_TAG_array_type);
761 assert(DTy->getTag() == dwarf::DW_TAG_pointer_type);
767 } else if (CTy->getTag() != dwarf::DW_TAG_array_type) {
783 unsigned CTag = CTy->getTag();
lib/Target/BPF/BTFDebug.cpp 484 if (Element->getTag() == dwarf::DW_TAG_subrange_type) {
534 auto Tag = CTy->getTag();
550 unsigned Tag = DTy->getTag();
562 auto CTag = CTy->getTag();
634 auto Tag = CTy->getTag();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 3161 switch (RealDecl->getTag()) {
4470 assert (EDTy->getTag() == llvm::dwarf::DW_TAG_enumeration_type);
unittests/IR/DebugTypeODRUniquingTest.cpp 75 EXPECT_EQ(dwarf::DW_TAG_class_type, CT.getTag());
81 EXPECT_EQ(dwarf::DW_TAG_class_type, CT.getTag());
88 EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag());
94 EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag());
99 EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag());
unittests/IR/MetadataTest.cpp 1141 EXPECT_EQ(dwarf::DW_TAG_subrange_type, N->getTag());
1156 EXPECT_EQ(dwarf::DW_TAG_subrange_type, N->getTag());
1187 EXPECT_EQ(dwarf::DW_TAG_enumerator, N->getTag());
1207 EXPECT_EQ(dwarf::DW_TAG_base_type, N->getTag());
1247 EXPECT_EQ(dwarf::DW_TAG_unspecified_type, N->getTag());
1302 EXPECT_EQ(dwarf::DW_TAG_pointer_type, N->getTag());
1401 EXPECT_EQ(Tag, N->getTag());
1624 EXPECT_EQ(dwarf::DW_TAG_subroutine_type, N->getTag());
1667 EXPECT_EQ(dwarf::DW_TAG_file_type, N->getTag());
1717 EXPECT_EQ(dwarf::DW_TAG_compile_unit, N->getTag());
1734 EXPECT_EQ(dwarf::DW_TAG_compile_unit, Temp->getTag());
1824 EXPECT_EQ(dwarf::DW_TAG_subprogram, N->getTag());
1955 EXPECT_EQ(dwarf::DW_TAG_lexical_block, N->getTag());
2007 EXPECT_EQ(dwarf::DW_TAG_lexical_block, N->getTag());
2033 EXPECT_EQ(dwarf::DW_TAG_namespace, N->getTag());
2056 EXPECT_EQ(dwarf::DW_TAG_module, N->getTag());
2087 EXPECT_EQ(dwarf::DW_TAG_template_type_parameter, N->getTag());
2109 EXPECT_EQ(Tag, N->getTag());
2150 EXPECT_EQ(dwarf::DW_TAG_variable, N->getTag());
2411 EXPECT_EQ(dwarf::DW_TAG_APPLE_property, N->getTag());
2455 EXPECT_EQ(Tag, N->getTag());