Lines Matching refs:AddrDelta
34 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) { in ScaleAddrDelta() argument
37 return AddrDelta; in ScaleAddrDelta()
38 if (AddrDelta % MinInsnLength != 0) { in ScaleAddrDelta()
42 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()
466 if (LineDelta == 0 && AddrDelta == 0) { in Encode()
475 if (AddrDelta < 256 + MaxSpecialAddrDelta) { in Encode()
477 Opcode = Temp + AddrDelta * Params.DWARF2LineRange; in Encode()
484 Opcode = Temp + (AddrDelta - MaxSpecialAddrDelta) * Params.DWARF2LineRange; in Encode()
494 encodeULEB128(AddrDelta, OS); in Encode()
1549 uint64_t AddrDelta) { in EmitAdvanceLoc() argument
1553 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OS); in EmitAdvanceLoc()
1558 uint64_t AddrDelta, in EncodeAdvanceLoc() argument
1561 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in EncodeAdvanceLoc()
1563 if (AddrDelta == 0) { in EncodeAdvanceLoc()
1564 } else if (isUIntN(6, AddrDelta)) { in EncodeAdvanceLoc()
1565 uint8_t Opcode = dwarf::DW_CFA_advance_loc | AddrDelta; in EncodeAdvanceLoc()
1567 } else if (isUInt<8>(AddrDelta)) { in EncodeAdvanceLoc()
1569 OS << uint8_t(AddrDelta); in EncodeAdvanceLoc()
1570 } else if (isUInt<16>(AddrDelta)) { in EncodeAdvanceLoc()
1573 support::endian::Writer<support::little>(OS).write<uint16_t>(AddrDelta); in EncodeAdvanceLoc()
1575 support::endian::Writer<support::big>(OS).write<uint16_t>(AddrDelta); in EncodeAdvanceLoc()
1577 assert(isUInt<32>(AddrDelta)); in EncodeAdvanceLoc()
1580 support::endian::Writer<support::little>(OS).write<uint32_t>(AddrDelta); in EncodeAdvanceLoc()
1582 support::endian::Writer<support::big>(OS).write<uint32_t>(AddrDelta); in EncodeAdvanceLoc()