Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFTypePrinter.h106 LB = L->getAsUnsignedConstant(); in appendArrayType()
109 Count = CountV->getAsUnsignedConstant(); in appendArrayType()
112 UB = UpperV->getAsUnsignedConstant(); in appendArrayType()
346 return *Form->getAsUnsignedConstant(); in appendUnqualifiedNameAfter()
356 switch (*AuthenticationMode->getAsUnsignedConstant()) { in appendUnqualifiedNameAfter()
460 OS << (*V->getAsUnsignedConstant() ? "true" : "false"); in appendTemplateParameters()
476 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
479 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
482 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
704 switch (*CC->getAsUnsignedConstant()) { in appendSubroutineNameAfter()
H A DDWARFFormValue.h118 LLVM_ABI std::optional<uint64_t> getAsUnsignedConstant() const;
233 return V->getAsUnsignedConstant(); in toUnsigned()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
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()
364 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
421 return LV->getAsUnsignedConstant(); in getLanguage()
518 if (std::optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSizeImpl()
557 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 getTUIndex()
H A DDWARFDebugLine.cpp330 FileEntry.DirIdx = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
333 FileEntry.ModTime = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
336 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.cpp1685 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1698 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(), in addLocalsForDie()
1703 Local.DeclLine = *DeclLineAttr->getAsUnsignedConstant(); in addLocalsForDie()
H A DDWARFVerifier.cpp805 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
846 if (!AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
/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()
H A DDWARFFormValue.h81 std::optional<uint64_t> getAsUnsignedConstant() const;
H A DDWARFFormValue.cpp566 std::optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DSyntheticTypeNameBuilder.cpp47 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) { in addArrayDimension()
141 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) in addTemplateParamNames()
266 if (std::optional<uint64_t> ConstVal = Val->getAsUnsignedConstant()) { in addValueName()
H A DDWARFLinkerCompileUnit.cpp1672 if (std::optional<uint64_t> Val = FileIdxValue.getAsUnsignedConstant()) in getDirAndFilenameFromLineTable()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp45 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in processOneAttribute()
72 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
235 if (std::optional<uint64_t> Offset = FormValue.getAsUnsignedConstant()) in processOneAttribute()
875 CurrentSymbol->addLocationConstant(Attr, *FormValue.getAsUnsignedConstant(), in processLocationMember()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp382 CFGHash = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
385 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.cpp1463 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1541 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()