Home
last modified time | relevance | path

Searched refs:getULEB128Size (Results 1 – 9 of 9) sorted by relevance

/external/llvm/unittests/Support/
DLEB128Test.cpp305 EXPECT_EQ(1u, getULEB128Size(0)); // special case in TEST()
307 EXPECT_EQ(1u, getULEB128Size(0x1ULL)); in TEST()
308 EXPECT_EQ(1u, getULEB128Size(0x40ULL)); in TEST()
309 EXPECT_EQ(1u, getULEB128Size(0x7fULL)); in TEST()
311 EXPECT_EQ(2u, getULEB128Size(0x80ULL)); in TEST()
312 EXPECT_EQ(2u, getULEB128Size(0x2000ULL)); in TEST()
313 EXPECT_EQ(2u, getULEB128Size(0x3fffULL)); in TEST()
315 EXPECT_EQ(3u, getULEB128Size(0x4000ULL)); in TEST()
316 EXPECT_EQ(3u, getULEB128Size(0x100000ULL)); in TEST()
317 EXPECT_EQ(3u, getULEB128Size(0x1fffffULL)); in TEST()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp85 Offset -= getULEB128Size(*I); in computeActionsTable()
385 CallSiteTableLength += getULEB128Size(CallSites[i].Action); in emitExceptionTable()
387 CallSiteTableLength += getULEB128Size(i); in emitExceptionTable()
467 unsigned CallSiteTableLengthSize = getULEB128Size(CallSiteTableLength); in emitExceptionTable()
474 unsigned TTypeBaseOffsetSize = getULEB128Size(TTypeBaseOffset); in emitExceptionTable()
DDIE.cpp259 case dwarf::DW_FORM_GNU_str_index: return getULEB128Size(Integer); in SizeOf()
260 case dwarf::DW_FORM_GNU_addr_index: return getULEB128Size(Integer); in SizeOf()
261 case dwarf::DW_FORM_udata: return getULEB128Size(Integer); in SizeOf()
485 return Size + getULEB128Size(Size); in SizeOf()
536 case dwarf::DW_FORM_block: return Size + getULEB128Size(Size); in SizeOf()
DDwarfFile.cpp95 Offset += getULEB128Size(Die.getAbbrevNumber()); in computeSizeAndOffset()
/external/llvm/lib/Support/
DLEB128.cpp20 unsigned getULEB128Size(uint64_t Value) { in getULEB128Size() function
/external/llvm/include/llvm/Support/
DLEB128.h114 extern unsigned getULEB128Size(uint64_t Value);
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp815 LineSectionSize += 2 + PointerSize + getULEB128Size(PointerSize + 1); in emitLineTableForUnit()
831 LineSectionSize += 1 + getULEB128Size(FileNum); in emitLineTableForUnit()
837 LineSectionSize += 1 + getULEB128Size(Column); in emitLineTableForUnit()
847 LineSectionSize += 1 + getULEB128Size(Isa); in emitLineTableForUnit()
888 LineSectionSize += 1 + getULEB128Size(AddressDelta); in emitLineTableForUnit()
1529 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepVariableDIE()
1563 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepSubprogramDIE()
1652 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in keepDIEAndDenpendencies()
2122 Offset += getULEB128Size(Abbrev->getCode()); in cloneDIE()
2169 OutOffset += getULEB128Size(Die->getAbbrevNumber()); in cloneDIE()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp938 Result += getULEB128Size(item.Tag); in calculateContentSize()
939 Result += getULEB128Size(item.IntValue); in calculateContentSize()
942 Result += getULEB128Size(item.Tag); in calculateContentSize()
946 Result += getULEB128Size(item.Tag); in calculateContentSize()
947 Result += getULEB128Size(item.IntValue); in calculateContentSize()
/external/llvm/lib/MC/
DMCDwarf.cpp145 unsigned Size = getULEB128Size(Discriminator); in EmitDwarfLineTable()