Home
last modified time | relevance | path

Searched refs:AddrDelta (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/MC/
DMCObjectStreamer.cpp205 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceLineAddr() local
207 if (AddrDelta->EvaluateAsAbsolute(Res, getAssembler())) { in EmitDwarfAdvanceLineAddr()
211 AddrDelta = ForceExpAbs(AddrDelta); in EmitDwarfAdvanceLineAddr()
212 new MCDwarfLineAddrFragment(LineDelta, *AddrDelta, getCurrentSectionData()); in EmitDwarfAdvanceLineAddr()
217 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
219 if (AddrDelta->EvaluateAsAbsolute(Res, getAssembler())) { in EmitDwarfAdvanceFrameAddr()
223 AddrDelta = ForceExpAbs(AddrDelta); in EmitDwarfAdvanceFrameAddr()
224 new MCDwarfCallFrameFragment(*AddrDelta, getCurrentSectionData()); in EmitDwarfAdvanceFrameAddr()
DMCDwarf.cpp54 static inline uint64_t ScaleAddrDelta(uint64_t AddrDelta) { in ScaleAddrDelta() argument
56 return AddrDelta; in ScaleAddrDelta()
57 if (AddrDelta % DWARF2_LINE_MIN_INSN_LENGTH != 0) { in ScaleAddrDelta()
61 return AddrDelta / DWARF2_LINE_MIN_INSN_LENGTH; in ScaleAddrDelta()
328 uint64_t AddrDelta) { in Write() argument
331 MCDwarfLineAddr::Encode(LineDelta, AddrDelta, OS); in Write()
337 uint64_t AddrDelta) { in Emit() argument
340 MCDwarfLineAddr::Encode(LineDelta, AddrDelta, OS); in Emit()
345 void MCDwarfLineAddr::Encode(int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
351 AddrDelta = ScaleAddrDelta(AddrDelta); in Encode()
[all …]
DMCAssembler.cpp737 int64_t AddrDelta = 0; in RelaxDwarfLineAddr() local
739 bool IsAbs = DF.getAddrDelta().EvaluateAsAbsolute(AddrDelta, Layout); in RelaxDwarfLineAddr()
747 MCDwarfLineAddr::Encode(LineDelta, AddrDelta, OSE); in RelaxDwarfLineAddr()
754 int64_t AddrDelta = 0; in RelaxDwarfCallFrameFragment() local
756 bool IsAbs = DF.getAddrDelta().EvaluateAsAbsolute(AddrDelta, Layout); in RelaxDwarfCallFrameFragment()
762 MCDwarfFrameEmitter::EncodeAdvanceLoc(AddrDelta, OSE); in RelaxDwarfCallFrameFragment()
DMCAsmStreamer.cpp378 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
379 AddrDelta = ForceExpAbs(AddrDelta); in EmitDwarfAdvanceFrameAddr()
380 EmitValue(AddrDelta, 4); in EmitDwarfAdvanceFrameAddr()
DMCStreamer.cpp43 const MCExpr *AddrDelta = in BuildSymbolDiff() local
45 return AddrDelta; in BuildSymbolDiff()
/external/llvm/include/llvm/MC/
DMCDwarf.h219 static void Encode(int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
223 int64_t LineDelta,uint64_t AddrDelta);
227 int64_t LineDelta, uint64_t AddrDelta);
285 static void EmitAdvanceLoc(MCStreamer &Streamer, uint64_t AddrDelta);
286 static void EncodeAdvanceLoc(uint64_t AddrDelta, raw_ostream &OS);
DMCAssembler.h367 const MCExpr *AddrDelta; variable
375 LineDelta(_LineDelta), AddrDelta(&_AddrDelta) { Contents.push_back(0); } in MCDwarfLineAddrFragment()
382 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
398 const MCExpr *AddrDelta; variable
405 AddrDelta(&_AddrDelta) { Contents.push_back(0); } in MCDwarfCallFrameFragment()
410 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()