Lines Matching refs:AddrDelta
33 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) { in ScaleAddrDelta() argument
36 return AddrDelta; in ScaleAddrDelta()
37 if (AddrDelta % MinInsnLength != 0) { in ScaleAddrDelta()
41 return AddrDelta / MinInsnLength; in ScaleAddrDelta()
407 int64_t LineDelta, uint64_t AddrDelta) { in Emit() argument
411 MCDwarfLineAddr::Encode(Context, Params, LineDelta, AddrDelta, OS); in Emit()
423 int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
432 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in Encode()
438 if (AddrDelta == MaxSpecialAddrDelta) in Encode()
440 else if (AddrDelta) { in Encode()
442 encodeULEB128(AddrDelta, OS); in Encode()
465 if (LineDelta == 0 && AddrDelta == 0) { in Encode()
474 if (AddrDelta < 256 + MaxSpecialAddrDelta) { in Encode()
476 Opcode = Temp + AddrDelta * Params.DWARF2LineRange; in Encode()
483 Opcode = Temp + (AddrDelta - MaxSpecialAddrDelta) * Params.DWARF2LineRange; in Encode()
493 encodeULEB128(AddrDelta, OS); in Encode()
1543 uint64_t AddrDelta) { in EmitAdvanceLoc() argument
1547 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OS); in EmitAdvanceLoc()
1552 uint64_t AddrDelta, in EncodeAdvanceLoc() argument
1555 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in EncodeAdvanceLoc()
1557 if (AddrDelta == 0) { in EncodeAdvanceLoc()
1558 } else if (isUIntN(6, AddrDelta)) { in EncodeAdvanceLoc()
1559 uint8_t Opcode = dwarf::DW_CFA_advance_loc | AddrDelta; in EncodeAdvanceLoc()
1561 } else if (isUInt<8>(AddrDelta)) { in EncodeAdvanceLoc()
1563 OS << uint8_t(AddrDelta); in EncodeAdvanceLoc()
1564 } else if (isUInt<16>(AddrDelta)) { in EncodeAdvanceLoc()
1567 support::endian::Writer<support::little>(OS).write<uint16_t>(AddrDelta); in EncodeAdvanceLoc()
1569 support::endian::Writer<support::big>(OS).write<uint16_t>(AddrDelta); in EncodeAdvanceLoc()
1571 assert(isUInt<32>(AddrDelta)); in EncodeAdvanceLoc()
1574 support::endian::Writer<support::little>(OS).write<uint32_t>(AddrDelta); in EncodeAdvanceLoc()
1576 support::endian::Writer<support::big>(OS).write<uint32_t>(AddrDelta); in EncodeAdvanceLoc()