Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
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()
247 return *Form->getAsUnsignedConstant(); in appendUnqualifiedNameAfter()
351 OS << (*V->getAsUnsignedConstant() ? "true" : "false"); in appendTemplateParameters()
367 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
370 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
373 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
570 switch (*CC->getAsUnsignedConstant()) { in appendSubroutineNameAfter()
DDWARFDie.cpp135 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) { in dumpAttribute()
145 } else if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
151 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
166 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
205 if (std::optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
352 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
492 if (std::optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSize()
529 ElemCountAttr->getAsUnsignedConstant()) in getTypeSize()
DDWARFAcceleratorTable.cpp124 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
127 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
188 if (std::optional<uint64_t> Val = Atom.getAsUnsignedConstant()) { in dumpName()
299 if (std::optional<uint64_t> Value = Tag->getAsUnsignedConstant()) in getTag()
556 return Off->getAsUnsignedConstant(); in getCUIndex()
DDWARFDebugLine.cpp326 FileEntry.DirIdx = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
329 FileEntry.ModTime = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
332 FileEntry.Length = *Value.getAsUnsignedConstant(); in parseV5DirFileTables()
DDWARFContext.cpp1264 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1277 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(), in addLocalsForDie()
1282 Local.DeclLine = *DeclLineAttr->getAsUnsignedConstant(); in addLocalsForDie()
DDWARFVerifier.cpp674 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
709 if (!AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
DDWARFFormValue.cpp730 std::optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h113 std::optional<uint64_t> getAsUnsignedConstant() const;
227 return V->getAsUnsignedConstant(); in toUnsigned()
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/
DInstrProfCorrelator.cpp293 CFGHash = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
296 NumCounters = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
/openbsd/src/gnu/llvm/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp292 if (auto Val = FormValue->getAsUnsignedConstant()) in dumpDebugInfo()
301 if (auto Val = FormValue->getAsUnsignedConstant()) { in dumpDebugInfo()
/openbsd/src/gnu/llvm/llvm/lib/DWARFLinker/
DDWARFLinker.cpp1259 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1289 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()