Lines Matching refs:AddrDelta
94 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) { in ScaleAddrDelta() argument
97 return AddrDelta; in ScaleAddrDelta()
98 if (AddrDelta % MinInsnLength != 0) { in ScaleAddrDelta()
102 return AddrDelta / MinInsnLength; in ScaleAddrDelta()
674 int64_t LineDelta, uint64_t AddrDelta) { in Emit() argument
678 MCDwarfLineAddr::Encode(Context, Params, LineDelta, AddrDelta, OS); in Emit()
690 int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
699 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in Encode()
705 if (AddrDelta == MaxSpecialAddrDelta) in Encode()
707 else if (AddrDelta) { in Encode()
709 encodeULEB128(AddrDelta, OS); in Encode()
733 if (LineDelta == 0 && AddrDelta == 0) { in Encode()
742 if (AddrDelta < 256 + MaxSpecialAddrDelta) { in Encode()
744 Opcode = Temp + AddrDelta * Params.DWARF2LineRange; in Encode()
751 Opcode = Temp + (AddrDelta - MaxSpecialAddrDelta) * Params.DWARF2LineRange; in Encode()
761 encodeULEB128(AddrDelta, OS); in Encode()
773 int64_t LineDelta, uint64_t AddrDelta, in FixedEncode() argument
787 if (AddrDelta > 60000) { in FixedEncode()
1956 uint64_t AddrDelta) { in EmitAdvanceLoc() argument
1960 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OS); in EmitAdvanceLoc()
1965 uint64_t AddrDelta, raw_ostream &OS, in EncodeAdvanceLoc() argument
1968 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in EncodeAdvanceLoc()
1976 if (AddrDelta == 0) { in EncodeAdvanceLoc()
1981 } else if (isUIntN(6, AddrDelta)) { in EncodeAdvanceLoc()
1982 uint8_t Opcode = dwarf::DW_CFA_advance_loc | AddrDelta; in EncodeAdvanceLoc()
1989 } else if (isUInt<8>(AddrDelta)) { in EncodeAdvanceLoc()
1996 OS << uint8_t(AddrDelta); in EncodeAdvanceLoc()
1997 } else if (isUInt<16>(AddrDelta)) { in EncodeAdvanceLoc()
2004 support::endian::write<uint16_t>(OS, AddrDelta, E); in EncodeAdvanceLoc()
2006 assert(isUInt<32>(AddrDelta)); in EncodeAdvanceLoc()
2013 support::endian::write<uint32_t>(OS, AddrDelta, E); in EncodeAdvanceLoc()