Home
last modified time | relevance | path

Searched refs:getTag (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFTypePrinter.h98 if (C.getTag() != dwarf::DW_TAG_subrange_type) in appendArrayType()
168 while (D && (D.getTag() == dwarf::DW_TAG_const_type || in skipQualifiers()
169 D.getTag() == dwarf::DW_TAG_volatile_type)) in skipQualifiers()
177 return D && (D.getTag() == dwarf::DW_TAG_subroutine_type || in needsParens()
178 D.getTag() == dwarf::DW_TAG_array_type); in needsParens()
205 const dwarf::Tag T = D.getTag(); in appendUnqualifiedNameBefore()
277 appendTypeTagName(D.getTag()); in appendUnqualifiedNameBefore()
318 switch (D.getTag()) { in appendUnqualifiedNameAfter()
339 /*SkipFirstParamIfArtificial=*/D.getTag() == in appendUnqualifiedNameAfter()
404 if (D && scopedTAGs(D.getTag())) in appendQualifiedName()
[all …]
H A DDWARFDebugInfoEntry.h67 dwarf::Tag getTag() const { in getTag() function
68 return AbbrevDecl ? AbbrevDecl->getTag() : dwarf::DW_TAG_null; in getTag()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp90 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 DDebugHandlerBase.cpp152 unsigned Tag = Ty->getTag(); in getBaseTypeSize()
173 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
174 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
198 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) { in isUnsignedDIType()
210 dwarf::Tag T = (dwarf::Tag)Ty->getTag(); in isUnsignedDIType()
241 (Ty->getTag() == dwarf::DW_TAG_unspecified_type && in isUnsignedDIType()
248 Ty->getTag() == dwarf::DW_TAG_unspecified_type; in isUnsignedDIType()
H A DDwarfUnit.cpp590 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in createTypeDIE()
601 DIE &TyDIE = createAndAddDIE(Ty->getTag(), ContextDIE, Ty); in createTypeDIE()
645 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2) in getOrCreateTypeDIE()
649 if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5) in getOrCreateTypeDIE()
749 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE()
752 if (BTy->getTag() != dwarf::DW_TAG_string_type) in constructTypeDIE()
838 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
1020 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
1071 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
1090 Composite->getTag() == dwarf::DW_TAG_variant) { in constructTypeDIE()
[all …]
H A DCodeViewDebug.cpp267 switch (Scope->getTag()) { in getPrettyScopeName()
1620 if (T->getTag() == dwarf::DW_TAG_typedef) { in shouldEmitUdt()
1622 switch (Scope->getTag()) { in shouldEmitUdt()
1676 switch (Ty->getTag()) { in lowerType()
1755 assert(Element->getTag() == dwarf::DW_TAG_subrange_type); in lowerTypeArray()
1927 Ty->getTag() == dwarf::DW_TAG_pointer_type) { in lowerTypePointer()
1937 switch (Ty->getTag()) { in lowerTypePointer()
1992 assert(Ty->getTag() == dwarf::DW_TAG_ptr_to_member_type); in lowerTypeMemberPointer()
2031 switch (BaseTy->getTag()) { in lowerTypeModifier()
2058 switch (BaseTy->getTag()) { in lowerTypeModifier()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
H A DDWARFLinkerCompileUnit.cpp
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DSyntheticTypeNameBuilder.cpp42 if (CurChild->getTag() == dwarf::DW_TAG_subrange_type || in addArrayDimension()
43 CurChild->getTag() == dwarf::DW_TAG_generic_subrange) { in addArrayDimension()
75 dwarf::Tag ChildTag = CurChild->getTag(); in addSignature()
138 if (Parameter->getTag() == dwarf::DW_TAG_template_value_parameter) { in addTemplateParamNames()
169 switch (UnitEntryPair.DieEntry->getTag()) { in getTypeDeduplicationCandidate()
343 switch (InputUnitEntryPair.DieEntry->getTag()) { in addTypeName()
433 switch (DieEntry->getTag()) { in addTypePrefix()
653 SyntheticName += utohexstr(DieEntry->getTag()); in addTypePrefix()
661 switch (DieEntry->getTag()) { in OrderedChildrenIndexAssigner()
719 switch (DieEntry->getTag()) { in tagToArrayIndex()
[all …]
H A DDWARFLinkerUnit.h82 UnitTag = OutUnitDIE->getTag(); in setOutUnitDIE()
87 dwarf::Tag getTag() const { return UnitTag; } in getTag() function
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp262 if (Die.getTag() == DW_TAG_null) in verifyUnitContents()
275 Die.getFirstChild().getTag() == DW_TAG_null) { in verifyUnitContents()
276 warn() << dwarf::TagString(Die.getTag()) in verifyUnitContents()
294 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents()
297 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents()
303 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents()
306 << ") and root DIE (" << dwarf::TagString(Die.getTag()) in verifyUnitContents()
315 if (Die.getTag() == dwarf::DW_TAG_skeleton_unit && Die.hasChildren()) { in verifyUnitContents()
329 if (Die.getTag() != DW_TAG_call_site && Die.getTag() != DW_TAG_GNU_call_site) in verifyDebugInfoCallSite()
334 if (Curr.getTag() == DW_TAG_inlined_subroutine) { in verifyDebugInfoCallSite()
[all …]
H A DDWARFDie.cpp238 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()
521 switch (Die.getTag()) { in getTypeSizeImpl()
528 if (BaseType.getTag() == DW_TAG_subroutine_type) in getTypeSizeImpl()
552 if (Child.getTag() != DW_TAG_subrange_type) in getTypeSizeImpl()
619 << formatv("{0}", getTag()); in dump()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h54 assert(loc.getTag() && "The ProgramPoint associated with CheckerContext " in Eng()
223 (Tag ? Tag : Location.getTag()));
239 (Tag ? Tag : Location.getTag()));
252 return addTransition(State, (Tag ? Tag : Location.getTag()));
268 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp233 ParentTy->getTag() != dwarf::DW_TAG_typedef) in CheckCompositeType()
250 unsigned Tag = DTy->getTag(); in CheckDerivedType()
283 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers()
292 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers()
304 if (Element->getTag() == dwarf::DW_TAG_subrange_type) { in calcArraySize()
501 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain()
511 uint32_t PTyTag = PTy->getTag(); in IsValidAIChain()
516 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
679 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
736 if (!CompTy || CompTy->getTag() != dwarf::DW_TAG_enumeration_type) in GetFieldInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.cpp42 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 DDWARFLinker.cpp160 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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h105 static const void *getTag();
119 static const void *getTag();
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp86 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo()
90 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h134 void createOutputDIE() { NewUnit.emplace(OrigUnit.getUnitDIE().getTag()); } in createOutputDIE()
142 dwarf::Tag getTag() const { return OrigUnit.getUnitDIE().getTag(); } in getTag() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp1146 CheckDI(N.getTag(), "invalid tag", &N); in visitGenericDINode()
1155 CheckDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N); in visitDISubrangeType()
1183 CheckDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N); in visitDISubrange()
1211 CheckDI(N.getTag() == dwarf::DW_TAG_generic_subrange, "invalid tag", &N); in visitDIGenericSubrange()
1233 CheckDI(N.getTag() == dwarf::DW_TAG_enumerator, "invalid tag", &N); in visitDIEnumerator()
1237 CheckDI(N.getTag() == dwarf::DW_TAG_base_type || in visitDIBasicType()
1238 N.getTag() == dwarf::DW_TAG_unspecified_type || in visitDIBasicType()
1239 N.getTag() == dwarf::DW_TAG_string_type, in visitDIBasicType()
1250 CheckDI(N.getTag() == dwarf::DW_TAG_base_type, "invalid tag", &N); in visitDIFixedPointType()
1267 CheckDI(N.getTag() == dwarf::DW_TAG_string_type, "invalid tag", &N); in visitDIStringType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h414 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();
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp279 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()
627 if (Child.getTag() == dwarf::DW_TAG_lexical_block) in collectStatsRecursive()
629 if (Child.getTag() == dwarf::DW_TAG_formal_parameter) in collectStatsRecursive()
651 auto Tag = FnDie.getTag(); in collectStatsRecursive()
751 const dwarf::Tag ChildTag = Child.getTag(); in updateVarsWithAbstractOriginLocCovInfo()
796 auto Tag = DwUnit->getDIEForOffset(Offset).getTag(); in collectZeroLocCovForVarsWithAbstractOrigin()
836 .getTag(); in collectZeroLocCovForVarsWithCrossCUReferencingAbstractOrigin()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h85 unsigned getTag() const { return Tag; } in getTag() function
144 Tag = NewLiveUnion.getTag(); in reset()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DAddressesMap.h94 assert((DIE.getTag() == dwarf::DW_TAG_variable || in getVariableRelocAdjustment()
95 DIE.getTag() == dwarf::DW_TAG_constant) && in getVariableRelocAdjustment()

12345