Home
last modified time | relevance | path

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

/freebsd/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()
256 switch (*AuthenticationMode->getAsUnsignedConstant()) { in appendUnqualifiedNameAfter()
366 OS << (*V->getAsUnsignedConstant() ? "true" : "false"); in appendTemplateParameters()
382 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
385 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
388 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
[all …]
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()
354 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
499 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()
636 return Off->getAsUnsignedConstant(); in getRelatedCUIndex()
689 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 DDWARFFormValue.cpp712 std::optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
H A DDWARFContext.cpp1687 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1700 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(), in addLocalsForDie()
1705 Local.DeclLine = *DeclLineAttr->getAsUnsignedConstant(); in addLocalsForDie()
H A DDWARFVerifier.cpp770 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
811 if (!AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp258 : *FormValue.getAsUnsignedConstant(); in processOneAttribute()
283 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
298 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
304 CurrentElement->setBitSize(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
337 hexString(*FormValue.getAsUnsignedConstant(), 2)); in processOneAttribute()
342 CurrentElement->setCount(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
361 CurrentElement->setDiscriminator(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
364 CurrentElement->setInlineCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
384 CurrentElement->setVirtualityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
433 if (std::optional<uint64_t> Offset = FormValue.getAsUnsignedConstant()) in processOneAttribute()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h114 std::optional<uint64_t> getAsUnsignedConstant() const;
228 return V->getAsUnsignedConstant(); in toUnsigned()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp358 CFGHash = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
361 NumCounters = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp1445 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1523 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp1676 if (std::optional<uint64_t> Val = FileIdxValue.getAsUnsignedConstant()) in getDirAndFilenameFromLineTable()