Home
last modified time | relevance | path

Searched refs:getAsUnsignedConstant (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp27 LB = L->getAsUnsignedConstant(); in appendArrayType()
29 Count = CountV->getAsUnsignedConstant(); in appendArrayType()
31 UB = UpperV->getAsUnsignedConstant(); in appendArrayType()
34 if (std::optional<uint64_t> LC = LV->getAsUnsignedConstant()) in appendArrayType()
246 return *Form->getAsUnsignedConstant(); in appendUnqualifiedNameAfter()
350 OS << (*V->getAsUnsignedConstant() ? "true" : "false"); in appendTemplateParameters()
366 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
369 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
372 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
569 switch (*CC->getAsUnsignedConstant()) { in appendSubroutineNameAfter()
H A DDWARFDie.cpp136 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) { in dumpAttribute()
146 } else if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
153 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
168 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
208 if (std::optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
355 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
500 if (std::optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSizeImpl()
538 ElemCountAttr->getAsUnsignedConstant()) in getTypeSizeImpl()
H A DDWARFAcceleratorTable.cpp136 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
139 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
199 if (std::optional<uint64_t> Val = Atom.getAsUnsignedConstant()) { in dumpName()
303 if (std::optional<uint64_t> Value = Tag->getAsUnsignedConstant()) in getTag()
622 return Off->getAsUnsignedConstant(); in getCUIndex()
649 return Off->getAsUnsignedConstant(); in getLocalTUIndex()
H A DDWARFDebugLine.cpp331 FileEntry.DirIdx = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
334 FileEntry.ModTime = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
337 FileEntry.Length = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
H A DDWARFVerifier.cpp689 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
724 if (!AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
H A DDWARFFormValue.cpp702 std::optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
H A DDWARFContext.cpp1685 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1698 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(), in addLocalsForDie()
1703 Local.DeclLine = *DeclLineAttr->getAsUnsignedConstant(); in addLocalsForDie()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp257 : *FormValue.getAsUnsignedConstant(); in processOneAttribute()
282 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
297 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
303 CurrentElement->setBitSize(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
336 hexString(*FormValue.getAsUnsignedConstant(), 2)); in processOneAttribute()
341 CurrentElement->setCount(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
360 CurrentElement->setDiscriminator(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
363 CurrentElement->setInlineCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
383 CurrentElement->setVirtualityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
430 if (std::optional<uint64_t> Offset = FormValue.getAsUnsignedConstant()) in processOneAttribute()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DAppleDWARFIndex.cpp86 std::optional<uint64_t> hash = form_value->getAsUnsignedConstant(); in EntryHasMatchingQualhash()
99 std::optional<uint64_t> maybe_tag = form_value->getAsUnsignedConstant(); in EntryHasMatchingTag()
115 std::optional<uint64_t> Flags = form_value->getAsUnsignedConstant(); in HasImplementationFlag()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h116 std::optional<uint64_t> getAsUnsignedConstant() const;
230 return V->getAsUnsignedConstant(); in toUnsigned()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DSyntheticTypeNameBuilder.cpp48 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) { in addArrayDimension()
142 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) in addTemplateParamNames()
267 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) { in addValueName()
H A DDIEAttributeCloner.cpp397 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttr()
471 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttr()
H A DDWARFLinkerCompileUnit.cpp1676 if (std::optional<uint64_t> Val = FileIdxValue.getAsUnsignedConstant()) in getDirAndFilenameFromLineTable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp360 CFGHash = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
363 NumCounters = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp1428 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1506 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()