Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp91 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || in addParentContext()
92 Cur->getTag() == dwarf::DW_TAG_type_unit); in addParentContext()
105 addULEB128(Die.getTag()); in addParentContext()
343 hashAttributes(Attrs, Die.getTag()); in addAttributes()
352 addULEB128(Die.getTag()); in hashNestedType()
364 addULEB128(Die.getTag()); in computeHash()
373 …if (isType(C.getTag()) || (C.getTag() == dwarf::DW_TAG_subprogram && isType(C.getParent()->getTag(… in computeHash()
H A DDebugHandlerBase.cpp154 unsigned Tag = DDTy->getTag(); in getBaseTypeSize()
169 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
170 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
186 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
195 dwarf::Tag T = (dwarf::Tag)Ty->getTag(); in isUnsignedDIType()
221 (Ty->getTag() == dwarf::DW_TAG_unspecified_type && in isUnsignedDIType()
227 Ty->getTag() == dwarf::DW_TAG_unspecified_type; in isUnsignedDIType()
H A DDwarfUnit.cpp560 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in createTypeDIE()
571 DIE &TyDIE = createAndAddDIE(Ty->getTag(), ContextDIE, Ty); in createTypeDIE()
608 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2) in getOrCreateTypeDIE()
612 if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5) in getOrCreateTypeDIE()
694 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE()
697 if (BTy->getTag() != dwarf::DW_TAG_string_type) in constructTypeDIE()
745 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
840 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
880 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
901 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffer); in constructTypeDIE()
[all …]
H A DCodeViewDebug.cpp268 switch (Scope->getTag()) { in getPrettyScopeName()
1483 if (T->getTag() == dwarf::DW_TAG_typedef) { in shouldEmitUdt()
1485 switch (Scope->getTag()) { in shouldEmitUdt()
1539 switch (Ty->getTag()) { in lowerType()
1616 assert(Element->getTag() == dwarf::DW_TAG_subrange_type); in lowerTypeArray()
1754 Ty->getTag() == dwarf::DW_TAG_pointer_type) { in lowerTypePointer()
1764 switch (Ty->getTag()) { in lowerTypePointer()
1819 assert(Ty->getTag() == dwarf::DW_TAG_ptr_to_member_type); in lowerTypeMemberPointer()
1858 switch (BaseTy->getTag()) { in lowerTypeModifier()
1885 switch (BaseTy->getTag()) { in lowerTypeModifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DChrootChecker.cpp50 static void *getTag() { in getTag() function in __anon67c1aadd0111::ChrootChecker
84 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in evalChroot()
93 const void *k = state->FindGDM(ChrootChecker::getTag()); in evalChdir()
106 state = Mgr.addGDM(state, ChrootChecker::getTag(), in evalChdir()
122 void *const* k = C.getState()->FindGDM(ChrootChecker::getTag()); in checkPreCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp167 if (Die.getTag() == DW_TAG_null) in verifyUnitContents()
177 Die.getFirstChild().getTag() == DW_TAG_null) { in verifyUnitContents()
178 warn() << dwarf::TagString(Die.getTag()) in verifyUnitContents()
194 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents()
196 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents()
201 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents()
203 << ") and root DIE (" << dwarf::TagString(Die.getTag()) in verifyUnitContents()
211 if (Die.getTag() == dwarf::DW_TAG_skeleton_unit && Die.hasChildren()) { in verifyUnitContents()
223 if (Die.getTag() != DW_TAG_call_site && Die.getTag() != DW_TAG_GNU_call_site) in verifyDebugInfoCallSite()
228 if (Curr.getTag() == DW_TAG_inlined_subroutine) { in verifyDebugInfoCallSite()
[all …]
H A DDWARFDie.cpp117 if (C.getTag() == DW_TAG_subrange_type) { in dumpArrayType()
172 const dwarf::Tag T = D.getTag(); in dumpTypeName()
196 if (C.getTag() == DW_TAG_formal_parameter) { in dumpTypeName()
338 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE()
341 auto Tag = getTag(); in isSubroutineDIE()
628 << formatv("{0}", getTag()); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp46 unsigned Tag = DIE.getTag(); in getChildDeclContext()
62 if ((Context.getTag() == dwarf::DW_TAG_namespace || in getChildDeclContext()
63 Context.getTag() == dwarf::DW_TAG_compile_unit) && in getChildDeclContext()
183 Context.getTag() != dwarf::DW_TAG_structure_type && in getChildDeclContext()
184 Context.getTag() != dwarf::DW_TAG_class_type) || in getChildDeclContext()
H A DDWARFLinkerCompileUnit.cpp17 if (U.getOrigUnit().getDIEAtIndex(Idx).getTag() == dwarf::DW_TAG_subprogram) in inFunctionScope()
53 if (DIE.getTag() != dwarf::DW_TAG_variable && in markEverythingAsKept()
54 DIE.getTag() != dwarf::DW_TAG_constant) in markEverythingAsKept()
118 if (Die.getTag() != dwarf::DW_TAG_compile_unit) in noteRangeAttribute()
H A DDWARFLinker.cpp176 if (Die.getTag() == dwarf::DW_TAG_lexical_block) in getDIENames()
284 Info.Prune &= (Die.getTag() == dwarf::DW_TAG_module) || in updatePruning()
285 (isTypeTag(Die.getTag()) && in updatePruning()
353 if (Current.Die.getTag() == dwarf::DW_TAG_module && in analyzeContextInfo()
483 if (DIE.getTag() == dwarf::DW_TAG_label) { in shouldKeepSubprogramDIE()
521 switch (DIE.getTag()) { in shouldKeepDIE()
549 switch (Die.getTag()) { in updateChildIncompleteness()
568 switch (Die.getTag()) { in updateRefIncompleteness()
598 if (dieNeedsChildrenToBeMeaningful(Die.getTag())) in lookForChildDIEsToKeep()
795 Current.Die.getTag() != dwarf::DW_TAG_subprogram && in lookForDIEsToKeep()
[all …]
/netbsd-src/external/bsd/elftosb/dist/common/
H A DEncoreBootImage.h355 virtual uint8_t getTag() const = 0;
430 virtual uint8_t getTag() const { return ROM_NOP_CMD; } in getTag() function
458 virtual uint8_t getTag() const { return ROM_TAG_CMD; } in getTag() function
500 virtual uint8_t getTag() const { return ROM_LOAD_CMD; } in getTag() function
564 virtual uint8_t getTag() const { return ROM_FILL_CMD; } in getTag() function
612 virtual uint8_t getTag() const { return ROM_MODE_CMD; } in getTag() function
646 virtual uint8_t getTag() const { return ROM_JUMP_CMD; } in getTag() function
687 virtual uint8_t getTag() const { return ROM_CALL_CMD; } in getTag() function
H A DEncoreBootImage.cpp714 header.m_tag = getTag(); in fillCommandHeader()
764 header.m_tag = getTag(); in fillCommandHeader()
848 header.m_tag = getTag(); in fillCommandHeader()
1013 header.m_tag = getTag(); in fillCommandHeader()
1067 header.m_tag = getTag(); in fillCommandHeader()
1090 const boot_command_t model = { 0, getTag(), 0, 0, 0, 0 }; in initFromData()
1104 header.m_tag = getTag(); in fillCommandHeader()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h183 static const char *getTag();
228 static const char *getTag();
300 static void *getTag() { in getTag() function
306 ID.AddPointer(getTag()); in Profile()
363 static const char *getTag();
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp240 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers()
249 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers()
261 if (Element->getTag() == dwarf::DW_TAG_subrange_type) { in calcArraySize()
438 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain()
448 uint32_t PTyTag = PTy->getTag(); in IsValidAIChain()
453 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
612 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
668 if (!CompTy || CompTy->getTag() != dwarf::DW_TAG_enumeration_type) in GetFieldInfo()
819 assert(CTy->getTag() == dwarf::DW_TAG_array_type); in computeBaseAndAccessKey()
828 assert(DTy->getTag() == dwarf::DW_TAG_pointer_type); in computeBaseAndAccessKey()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugInfoEntry.h49 dwarf::Tag getTag() const { in getTag() function
50 return AbbrevDecl ? AbbrevDecl->getTag() : dwarf::DW_TAG_null; in getTag()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp933 AssertDI(N.getTag(), "invalid tag", &N); in visitGenericDINode()
942 AssertDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N); in visitDISubrange()
974 AssertDI(N.getTag() == dwarf::DW_TAG_generic_subrange, "invalid tag", &N); in visitDIGenericSubrange()
998 AssertDI(N.getTag() == dwarf::DW_TAG_enumerator, "invalid tag", &N); in visitDIEnumerator()
1002 AssertDI(N.getTag() == dwarf::DW_TAG_base_type || in visitDIBasicType()
1003 N.getTag() == dwarf::DW_TAG_unspecified_type || in visitDIBasicType()
1004 N.getTag() == dwarf::DW_TAG_string_type, in visitDIBasicType()
1009 AssertDI(N.getTag() == dwarf::DW_TAG_string_type, "invalid tag", &N); in visitDIStringType()
1018 AssertDI(N.getTag() == dwarf::DW_TAG_typedef || in visitDIDerivedType()
1019 N.getTag() == dwarf::DW_TAG_pointer_type || in visitDIDerivedType()
[all …]
H A DLLVMContextImpl.h290 : MDNodeOpsKey(N, 1), Tag(N->getTag()), Header(N->getRawHeader()) {}
293 return Tag == RHS->getTag() && Header == RHS->getRawHeader() &&
414 : Tag(N->getTag()), Name(N->getRawName()), SizeInBits(N->getSizeInBits()),
418 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
446 : Tag(N->getTag()), Name(N->getRawName()),
453 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
485 : Tag(N->getTag()), Name(N->getRawName()), File(N->getRawFile()),
493 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
529 return isODRMember(LHS->getTag(), LHS->getRawScope(), LHS->getRawName(),
546 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp230 const dwarf::Tag Tag = Die.getTag(); in collectStatsForDie()
432 const dwarf::Tag ChildTag = Child.getTag(); in collectAbstractOriginFnInfo()
455 const dwarf::Tag Tag = Die.getTag(); in collectStatsRecursive()
569 if (Child.getTag() == dwarf::DW_TAG_lexical_block) in collectStatsRecursive()
571 if (Child.getTag() == dwarf::DW_TAG_formal_parameter) in collectStatsRecursive()
592 auto Tag = FnDie.getTag(); in collectStatsRecursive()
659 const dwarf::Tag ChildTag = Child.getTag(); in updateVarsWithAbstractOriginLocCovInfo()
695 auto Tag = DwUnit->getDIEForOffset(Offset).getTag(); in collectZeroLocCovForVarsWithAbstractOrigin()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp392 void *getTag() const { in getTag() function in __anon6b3b446e0111::NoStoreFuncVisitor
701 R.markInvalid(getTag(), nullptr); in maybeEmitNote()
840 BR.markInvalid(getTag(), MacroName.c_str()); in VisitNode()
861 void* getTag() const { in getTag() function in __anon6b3b446e0211::MacroNullReturnSuppressionVisitor
867 ID.AddPointer(getTag()); in Profile()
927 static void *getTag() { in getTag() function in __anon6b3b446e0311::ReturnVisitor
933 ID.AddPointer(ReturnVisitor::getTag()); in Profile()
1216 BR.markInvalid(ReturnVisitor::getTag(), CalleeSFC); in finalizeVisitor()
1641 const char *TrackConstraintBRVisitor::getTag() { in getTag() function in TrackConstraintBRVisitor
1696 X->setTag(getTag()); in VisitNode()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h105 static const void *getTag();
119 static const void *getTag();
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h209 (Tag ? Tag : Location.getTag()));
222 return addTransition(State, (Tag ? Tag : Location.getTag()));
238 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp100 if (Die.getTag() == dwarf::DW_TAG_inlined_subroutine) in GetParentDeclContextDIE()
107 switch (ParentDie.getTag()) { in GetParentDeclContextDIE()
188 switch (Die.getTag()) { in hasInlineInfo()
213 dwarf::Tag Tag = Die.getTag(); in parseInlineInfo()
352 switch (Die.getTag()) { in handleDie()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp121 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo()
125 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h85 unsigned getTag() const { return Tag; } in getTag() function
137 Tag = NewLiveUnion.getTag(); in reset()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DPointerSumType.h119 TagT getTag() const { in getTag() function
123 template <TagT N> bool is() const { return N == getTag(); } in is()

1234