Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp123 LB = L->getAsUnsignedConstant(); in dumpArrayType()
125 Count = CountV->getAsUnsignedConstant(); in dumpArrayType()
127 UB = UpperV->getAsUnsignedConstant(); in dumpArrayType()
130 if (Optional<uint64_t> LC = LV->getAsUnsignedConstant()) in dumpArrayType()
258 FormValue.getAsUnsignedConstant().getValue(), in dumpAttribute()
264 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
270 OS << *FormValue.getAsUnsignedConstant(); in dumpAttribute()
282 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
312 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
436 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
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()
DDWARFContext.cpp1071 if (Optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSize()
1107 ElemCountAttr->getAsUnsignedConstant()) in getTypeSize()
1177 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1190 DeclFileAttr->getAsUnsignedConstant().getValue(), in addLocalsForDie()
1196 Local.DeclLine = DeclLineAttr->getAsUnsignedConstant().getValue(); in addLocalsForDie()
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()
DDWARFFormValue.cpp684 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
DDWARFVerifier.cpp552 if (auto FileIdx = AttrValue.Value.getAsUnsignedConstant()) { in verifyDebugInfoAttribute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp124 LB = L->getAsUnsignedConstant(); in dumpArrayType()
126 Count = CountV->getAsUnsignedConstant(); in dumpArrayType()
128 UB = UpperV->getAsUnsignedConstant(); in dumpArrayType()
131 if (Optional<uint64_t> LC = LV->getAsUnsignedConstant()) in dumpArrayType()
259 FormValue.getAsUnsignedConstant().getValue(), in dumpAttribute()
265 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
271 OS << *FormValue.getAsUnsignedConstant(); in dumpAttribute()
273 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
303 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
423 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
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()
549 return Off->getAsUnsignedConstant(); in getCUIndex()
DDWARFDebugLine.cpp275 FileEntry.DirIdx = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
278 FileEntry.ModTime = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
281 FileEntry.Length = Value.getAsUnsignedConstant().getValue(); in parseV5DirFileTables()
DDWARFContext.cpp1006 if (Optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant()) in getTypeSize()
1042 ElemCountAttr->getAsUnsignedConstant()) in getTypeSize()
1112 Local.TagOffset = TagOffsetAttr->getAsUnsignedConstant(); in addLocalsForDie()
1125 DeclFileAttr->getAsUnsignedConstant().getValue(), in addLocalsForDie()
1131 Local.DeclLine = DeclLineAttr->getAsUnsignedConstant().getValue(); in addLocalsForDie()
DDWARFFormValue.cpp682 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp145 formValue.getAsUnsignedConstant().getValue(), in dumpAttribute()
151 } else if (Optional<uint64_t> Val = formValue.getAsUnsignedConstant()) in dumpAttribute()
157 OS << *formValue.getAsUnsignedConstant(); in dumpAttribute()
174 if (Optional<uint64_t> OptVal = formValue.getAsUnsignedConstant()) in dumpAttribute()
282 Optional<uint64_t> Result = FormValue.getAsUnsignedConstant(); in getAttributeValueAsUnsignedConstant()
DDWARFFormValue.cpp565 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const { in getAsUnsignedConstant() function in DWARFFormValue
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h112 Optional<uint64_t> getAsUnsignedConstant() const;
198 return V->getAsUnsignedConstant(); in toUnsigned()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h117 Optional<uint64_t> getAsUnsignedConstant() const;
203 return V->getAsUnsignedConstant(); in toUnsigned()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h76 Optional<uint64_t> getAsUnsignedConstant() const;
/external/llvm-project/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp290 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) in dumpDebugInfo()
299 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) { in dumpDebugInfo()
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinker.cpp1163 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
1192 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2161 HighPc = LowPc + *HighPcValue.getAsUnsignedConstant(); in shouldKeepSubprogramDIE()
2529 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp1451 EXPECT_EQ(1ull, *I->Value.getAsUnsignedConstant()); in TEST()