Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 (Optional<uint64_t> LC = LV->getAsUnsignedConstant()) in appendArrayType()
305 OS << (*V->getAsUnsignedConstant() ? "true" : "false"); in appendTemplateParameters()
321 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
324 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
327 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
524 switch (*CC->getAsUnsignedConstant()) { in appendSubroutineNameAfter()
H A DDWARFDie.cpp140 if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) { in dumpAttribute()
150 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
156 if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
171 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
210 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
357 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
497 if (Optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSize()
534 ElemCountAttr->getAsUnsignedConstant()) in getTypeSize()
H A DDWARFAcceleratorTable.cpp124 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
127 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
188 if (Optional<uint64_t> Val = Atom.getAsUnsignedConstant()) { in dumpName()
298 if (Optional<uint64_t> Value = Tag->getAsUnsignedConstant()) in getTag()
555 return Off->getAsUnsignedConstant(); in getCUIndex()
H A DDWARFDebugLine.cpp326 FileEntry.DirIdx = Value.getAsUnsignedConstant().value(); in parseV5DirFileTables()
329 FileEntry.ModTime = Value.getAsUnsignedConstant().value(); in parseV5DirFileTables()
332 FileEntry.Length = Value.getAsUnsignedConstant().value(); in parseV5DirFileTables()
H A DDWARFContext.cpp1195 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1208 DeclFileAttr->getAsUnsignedConstant().value(), in addLocalsForDie()
1214 Local.DeclLine = DeclLineAttr->getAsUnsignedConstant().value(); in addLocalsForDie()
H A DDWARFVerifier.cpp675 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
709 if (!AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
H A DDWARFFormValue.cpp727 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h115 Optional<uint64_t> getAsUnsignedConstant() const;
227 return V->getAsUnsignedConstant(); in toUnsigned()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp255 CFGHash = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
258 NumCounters = AnnotationFormValue->getAsUnsignedConstant(); in correlateProfileDataImpl()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp291 if (auto Val = FormValue.value().getAsUnsignedConstant()) in dumpDebugInfo()
300 if (auto Val = FormValue.value().getAsUnsignedConstant()) { in dumpDebugInfo()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp1180 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1209 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp519 ? Value.getAsUnsignedConstant().getValue() in updateUnitDebugInfo()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugInfoTest.cpp1529 EXPECT_EQ(1ull, *I->Value.getAsUnsignedConstant());