Home
last modified time | relevance | path

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

1234

/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
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()
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()
DDwarfUnit.cpp561 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in createTypeDIE()
572 DIE &TyDIE = createAndAddDIE(Ty->getTag(), ContextDIE, Ty); in createTypeDIE()
609 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2) in getOrCreateTypeDIE()
613 if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5) in getOrCreateTypeDIE()
695 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE()
698 if (BTy->getTag() != dwarf::DW_TAG_string_type) in constructTypeDIE()
746 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
841 uint16_t Tag = Buffer.getTag(); in constructTypeDIE()
881 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
902 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffer); in constructTypeDIE()
[all …]
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 …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DChrootChecker.cpp50 static void *getTag() { in getTag() function in __anon6d11c26a0111::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()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
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 …]
DDWARFDie.cpp121 if (C.getTag() == DW_TAG_subrange_type) { in dumpArrayType()
176 const dwarf::Tag T = D.getTag(); in dumpTypeName()
200 if (C.getTag() == DW_TAG_formal_parameter) { in dumpTypeName()
348 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE()
351 auto Tag = getTag(); in isSubroutineDIE()
643 << formatv("{0}", getTag()); in dump()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
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()
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()
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 …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugInfoEntry.h49 dwarf::Tag getTag() const { in getTag() function
50 return AbbrevDecl ? AbbrevDecl->getTag() : dwarf::DW_TAG_null; in getTag()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
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()
441 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain()
451 uint32_t PTyTag = PTy->getTag(); in IsValidAIChain()
456 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
615 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
671 if (!CompTy || CompTy->getTag() != dwarf::DW_TAG_enumeration_type) in GetFieldInfo()
822 assert(CTy->getTag() == dwarf::DW_TAG_array_type); in computeBaseAndAccessKey()
831 assert(DTy->getTag() == dwarf::DW_TAG_pointer_type); in computeBaseAndAccessKey()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DVerifier.cpp936 AssertDI(N.getTag(), "invalid tag", &N); in visitGenericDINode()
945 AssertDI(N.getTag() == dwarf::DW_TAG_subrange_type, "invalid tag", &N); in visitDISubrange()
977 AssertDI(N.getTag() == dwarf::DW_TAG_generic_subrange, "invalid tag", &N); in visitDIGenericSubrange()
1001 AssertDI(N.getTag() == dwarf::DW_TAG_enumerator, "invalid tag", &N); in visitDIEnumerator()
1005 AssertDI(N.getTag() == dwarf::DW_TAG_base_type || in visitDIBasicType()
1006 N.getTag() == dwarf::DW_TAG_unspecified_type || in visitDIBasicType()
1007 N.getTag() == dwarf::DW_TAG_string_type, in visitDIBasicType()
1012 AssertDI(N.getTag() == dwarf::DW_TAG_string_type, "invalid tag", &N); in visitDIStringType()
1021 AssertDI(N.getTag() == dwarf::DW_TAG_typedef || in visitDIDerivedType()
1022 N.getTag() == dwarf::DW_TAG_pointer_type || in visitDIDerivedType()
[all …]
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 …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitors.h405 static const char *getTag();
450 static const char *getTag();
522 static void *getTag() { in getTag() function
528 ID.AddPointer(getTag()); in Profile()
585 static const char *getTag();
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
DLiveVariables.h105 static const void *getTag();
119 static const void *getTag();
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
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()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h209 (Tag ? Tag : Location.getTag()));
222 return addTransition(State, (Tag ? Tag : Location.getTag()));
238 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp393 void *getTag() const { in getTag() function in __anon04ef733b0111::NoStoreFuncVisitor
702 R.markInvalid(getTag(), nullptr); in maybeEmitNote()
841 BR.markInvalid(getTag(), MacroName.c_str()); in VisitNode()
862 void* getTag() const { in getTag() function in __anon04ef733b0211::MacroNullReturnSuppressionVisitor
868 ID.AddPointer(getTag()); in Profile()
929 static void *getTag() { in getTag() function in __anon04ef733b0311::ReturnVisitor
935 ID.AddPointer(ReturnVisitor::getTag()); in Profile()
1133 BR.markInvalid(ReturnVisitor::getTag(), CalleeSFC); in finalizeVisitor()
1583 const char *TrackConstraintBRVisitor::getTag() { in getTag() function in TrackConstraintBRVisitor
1638 X->setTag(getTag()); in VisitNode()
[all …]
DExprEngineObjC.cpp198 bool HasTag = Pred->getLocation().getTag(); in VisitObjCMessage()
219 bool HasTag = Pred->getLocation().getTag(); in VisitObjCMessage()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp121 auto Tag = dwarf::TagString(T->getTag()); in printModuleDebugInfo()
125 O << "unknown-tag(" << T->getTag() << ")"; in printModuleDebugInfo()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DLiveIntervalUnion.h85 unsigned getTag() const { return Tag; } in getTag() function
137 Tag = NewLiveUnion.getTag(); in reset()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
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()
354 switch (Die.getTag()) { in handleDie()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
DPointerSumType.h119 TagT getTag() const { in getTag() function
123 template <TagT N> bool is() const { return N == getTag(); } in is()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DPostOrderCFGView.cpp40 const void *PostOrderCFGView::getTag() { static int x; return &x; } in getTag() function in PostOrderCFGView

1234