Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp20 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 DDWARFVerifier.cpp252 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 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()
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()
/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.cpp155 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 DDwarfUnit.cpp568 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 DCodeViewDebug.cpp265 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);
2017 switch (BaseTy->getTag()) { in lowerTypeModifier()
2044 switch (BaseTy->getTag()) { in lowerTypeModifier()
[all...]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DChrootChecker.cpp52 static void *getTag() { in getTag() function in __anon67def0520111::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()
/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/Target/BPF/
H A DBPFAbstractMemberAccess.cpp234 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 …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
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/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugInfoEntry.h66 dwarf::Tag getTag() const { in getTag() function
67 return AbbrevDecl ? AbbrevDecl->getTag() : dwarf::DW_TAG_null; in getTag()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h212 (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()));
/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/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/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp88 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo()
92 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h132 void createOutputDIE() { NewUnit.emplace(OrigUnit.getUnitDIE().getTag()); } in createOutputDIE()
140 dwarf::Tag getTag() const { return OrigUnit.getUnitDIE().getTag(); } in getTag() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp1139 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 …]
H A DLLVMContextImpl.h350 : MDNodeOpsKey(N, 1), Tag(N->getTag()), Header(N->getRawHeader()) {}
353 return Tag == RHS->getTag() && Header == RHS->getRawHeader() &&
475 : Tag(N->getTag()), Name(N->getRawName()), SizeInBits(N->getSizeInBits()),
480 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
508 : Tag(N->getTag()), Name(N->getRawName()),
516 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
561 : Tag(N->getTag()), Name(N->getRawName()), File(N->getRawFile()),
570 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
608 return isODRMember(LHS->getTag(), LHS->getRawScope(), LHS->getRawName(),
625 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
[all …]
/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()
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()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerUnit.h82 UnitTag = OutUnitDIE->getTag(); in setOutUnitDIE()
87 dwarf::Tag getTag() const { return UnitTag; } in getTag() function
/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/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp928 BR.markInvalid(getTag(), MacroName.c_str()); in VisitNode()
949 void* getTag() const { in getTag() function in __anone7bfbb230311::MacroNullReturnSuppressionVisitor
955 ID.AddPointer(getTag()); in Profile()
1016 static void *getTag() { in getTag() function in __anone7bfbb230411::ReturnVisitor
1022 ID.AddPointer(ReturnVisitor::getTag()); in Profile()
1216 BR.markInvalid(ReturnVisitor::getTag(), CalleeSFC); in finalizeVisitor()
1825 const char *TrackConstraintBRVisitor::getTag() { in getTag() function in TrackConstraintBRVisitor
1870 if (isa_and_nonnull<NoteTag>(P.getTag())) in VisitNode()
1879 X->setTag(getTag()); in VisitNode()
1906 const char *SuppressInlineDefensiveChecksVisitor::getTag() { in getTag() function in SuppressInlineDefensiveChecksVisitor
[all …]

1234