Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp127 LB = L->getAsUnsignedConstant(); in dumpArrayType()
129 Count = CountV->getAsUnsignedConstant(); in dumpArrayType()
131 UB = UpperV->getAsUnsignedConstant(); in dumpArrayType()
134 if (Optional<uint64_t> LC = LV->getAsUnsignedConstant()) in dumpArrayType()
263 FormValue.getAsUnsignedConstant().getValue(), in dumpAttribute()
269 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
275 OS << *FormValue.getAsUnsignedConstant(); in dumpAttribute()
287 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
323 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
446 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
H A DDWARFAcceleratorTable.cpp125 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
128 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
189 if (Optional<uint64_t> Val = Atom.getAsUnsignedConstant()) { in dumpName()
299 if (Optional<uint64_t> Value = Tag->getAsUnsignedConstant()) in getTag()
556 return Off->getAsUnsignedConstant(); in getCUIndex()
H A DDWARFContext.cpp1074 if (Optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSize()
1110 ElemCountAttr->getAsUnsignedConstant()) in getTypeSize()
1180 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1193 DeclFileAttr->getAsUnsignedConstant().getValue(), in addLocalsForDie()
1199 Local.DeclLine = DeclLineAttr->getAsUnsignedConstant().getValue(); in addLocalsForDie()
H A DDWARFDebugLine.cpp326 FileEntry.DirIdx = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
329 FileEntry.ModTime = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
332 FileEntry.Length = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
H A DDWARFFormValue.cpp721 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
H A DDWARFVerifier.cpp552 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h117 Optional<uint64_t> getAsUnsignedConstant() const;
203 return V->getAsUnsignedConstant(); in toUnsigned()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp1143 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1172 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()