Home
last modified time | relevance | path

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

12

/external/llvm/lib/MC/
DMCDwarf.cpp34 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()
[all …]
DMCObjectStreamer.cpp319 const MCExpr *AddrDelta = in buildSymbolDiff() local
321 return AddrDelta; in buildSymbolDiff()
347 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceLineAddr() local
349 if (AddrDelta->evaluateAsAbsolute(Res, getAssembler())) { in EmitDwarfAdvanceLineAddr()
354 insert(new MCDwarfLineAddrFragment(LineDelta, *AddrDelta)); in EmitDwarfAdvanceLineAddr()
359 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
361 if (AddrDelta->evaluateAsAbsolute(Res, getAssembler())) { in EmitDwarfAdvanceFrameAddr()
365 insert(new MCDwarfCallFrameFragment(*AddrDelta)); in EmitDwarfAdvanceFrameAddr()
DMCAssembler.cpp807 int64_t AddrDelta; in relaxDwarfLineAddr() local
808 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr()
817 AddrDelta, OSE); in relaxDwarfLineAddr()
825 int64_t AddrDelta; in relaxDwarfCallFrameFragment() local
826 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment()
832 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE); in relaxDwarfCallFrameFragment()
DMCCodeView.cpp267 const MCExpr *AddrDelta = in computeLabelDiff() local
270 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Layout); in computeLabelDiff()
/external/llvm/include/llvm/MC/
DMCFragment.h412 const MCExpr *AddrDelta;
417 MCDwarfLineAddrFragment(int64_t LineDelta, const MCExpr &AddrDelta,
420 AddrDelta(&AddrDelta) {
429 const MCExpr &getAddrDelta() const { return *AddrDelta; }
445 const MCExpr *AddrDelta;
450 MCDwarfCallFrameFragment(const MCExpr &AddrDelta, MCSection *Sec = nullptr)
451 : MCFragment(FT_DwarfFrame, false, 0, Sec), AddrDelta(&AddrDelta) {
458 const MCExpr &getAddrDelta() const { return *AddrDelta; }
DMCDwarf.h279 int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
283 int64_t LineDelta, uint64_t AddrDelta);
515 static void EmitAdvanceLoc(MCObjectStreamer &Streamer, uint64_t AddrDelta);
516 static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCFragment.h408 const MCExpr *AddrDelta; variable
411 MCDwarfLineAddrFragment(int64_t LineDelta, const MCExpr &AddrDelta,
414 LineDelta(LineDelta), AddrDelta(&AddrDelta) {}
418 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
428 const MCExpr *AddrDelta; variable
431 MCDwarfCallFrameFragment(const MCExpr &AddrDelta, MCSection *Sec = nullptr)
433 AddrDelta(&AddrDelta) {}
435 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
DMCDwarf.h382 int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
388 int64_t LineDelta, uint64_t AddrDelta,
393 int64_t LineDelta, uint64_t AddrDelta);
630 static void EmitAdvanceLoc(MCObjectStreamer &Streamer, uint64_t AddrDelta);
631 static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCDwarf.cpp71 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) { in ScaleAddrDelta() argument
74 return AddrDelta; in ScaleAddrDelta()
75 if (AddrDelta % MinInsnLength != 0) { in ScaleAddrDelta()
79 return AddrDelta / MinInsnLength; in ScaleAddrDelta()
645 int64_t LineDelta, uint64_t AddrDelta) { in Emit() argument
649 MCDwarfLineAddr::Encode(Context, Params, LineDelta, AddrDelta, OS); in Emit()
661 int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
670 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in Encode()
676 if (AddrDelta == MaxSpecialAddrDelta) in Encode()
678 else if (AddrDelta) { in Encode()
[all …]
DMCObjectStreamer.cpp465 const MCExpr *AddrDelta = in buildSymbolDiff() local
467 return AddrDelta; in buildSymbolDiff()
493 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceLineAddr() local
495 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in EmitDwarfAdvanceLineAddr()
500 insert(new MCDwarfLineAddrFragment(LineDelta, *AddrDelta)); in EmitDwarfAdvanceLineAddr()
505 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
507 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in EmitDwarfAdvanceFrameAddr()
511 insert(new MCDwarfCallFrameFragment(*AddrDelta)); in EmitDwarfAdvanceFrameAddr()
DMCAssembler.cpp1030 int64_t AddrDelta; in relaxDwarfLineAddr() local
1031 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr()
1043 AddrDelta, OSE); in relaxDwarfLineAddr()
1049 LineDelta, AddrDelta, in relaxDwarfLineAddr()
1071 int64_t AddrDelta; in relaxDwarfCallFrameFragment() local
1072 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment()
1083 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE, &Offset, in relaxDwarfCallFrameFragment()
1091 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE); in relaxDwarfCallFrameFragment()
DMCCodeView.cpp450 const MCExpr *AddrDelta = in computeLabelDiff() local
453 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Layout); in computeLabelDiff()
/external/llvm-project/llvm/include/llvm/MC/
DMCFragment.h449 const MCExpr *AddrDelta; variable
452 MCDwarfLineAddrFragment(int64_t LineDelta, const MCExpr &AddrDelta,
455 LineDelta(LineDelta), AddrDelta(&AddrDelta) {}
459 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
469 const MCExpr *AddrDelta; variable
472 MCDwarfCallFrameFragment(const MCExpr &AddrDelta, MCSection *Sec = nullptr)
474 AddrDelta(&AddrDelta) {}
476 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
DMCDwarf.h387 int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
393 int64_t LineDelta, uint64_t AddrDelta,
398 int64_t LineDelta, uint64_t AddrDelta);
642 static void EmitAdvanceLoc(MCObjectStreamer &Streamer, uint64_t AddrDelta);
643 static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DLineTable.cpp35 int64_t LineDelta, uint64_t AddrDelta, in encodeSpecial() argument
42 int64_t AdjustedOp = ((LineDelta - MinLineDelta) + AddrDelta * LineRange); in encodeSpecial()
109 uint64_t AddrDelta = (AdjustedOp / LineRange); in parse() local
111 Row.Addr += AddrDelta; in parse()
210 const uint64_t AddrDelta = Curr.Addr - Prev.Addr; in encode() local
224 if (encodeSpecial(MinLineDelta, MaxLineDelta, LineDelta, AddrDelta, in encode()
240 Out.writeULEB(AddrDelta); in encode()
DGsymCreator.cpp67 const uint64_t AddrDelta = MaxAddr - MinAddr; in encode() local
82 if (AddrDelta <= UINT8_MAX) in encode()
84 else if (AddrDelta <= UINT16_MAX) in encode()
86 else if (AddrDelta <= UINT32_MAX) in encode()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DLineTable.cpp35 int64_t LineDelta, uint64_t AddrDelta, in encodeSpecial() argument
42 int64_t AdjustedOp = ((LineDelta - MinLineDelta) + AddrDelta * LineRange); in encodeSpecial()
109 uint64_t AddrDelta = (AdjustedOp / LineRange); in parse() local
111 Row.Addr += AddrDelta; in parse()
210 const uint64_t AddrDelta = Curr.Addr - Prev.Addr; in encode() local
224 if (encodeSpecial(MinLineDelta, MaxLineDelta, LineDelta, AddrDelta, in encode()
240 Out.writeULEB(AddrDelta); in encode()
DGsymCreator.cpp74 const uint64_t AddrDelta = MaxAddr - MinAddr; in encode() local
89 if (AddrDelta <= UINT8_MAX) in encode()
91 else if (AddrDelta <= UINT16_MAX) in encode()
93 else if (AddrDelta <= UINT32_MAX) in encode()
/external/llvm-project/llvm/lib/MC/
DMCDwarf.cpp94 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()
[all …]
DMCObjectStreamer.cpp470 const MCExpr *AddrDelta = in buildSymbolDiff() local
472 return AddrDelta; in buildSymbolDiff()
498 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in emitDwarfAdvanceLineAddr() local
500 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in emitDwarfAdvanceLineAddr()
505 insert(new MCDwarfLineAddrFragment(LineDelta, *AddrDelta)); in emitDwarfAdvanceLineAddr()
510 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in emitDwarfAdvanceFrameAddr() local
512 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in emitDwarfAdvanceFrameAddr()
516 insert(new MCDwarfCallFrameFragment(*AddrDelta)); in emitDwarfAdvanceFrameAddr()
DMCAssembler.cpp1092 int64_t AddrDelta; in relaxDwarfLineAddr() local
1093 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr()
1105 AddrDelta, OSE); in relaxDwarfLineAddr()
1111 LineDelta, AddrDelta, in relaxDwarfLineAddr()
1133 int64_t AddrDelta; in relaxDwarfCallFrameFragment() local
1134 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment()
1145 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE, &Offset, in relaxDwarfCallFrameFragment()
1153 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE); in relaxDwarfCallFrameFragment()
DMCCodeView.cpp450 const MCExpr *AddrDelta = in computeLabelDiff() local
453 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Layout); in computeLabelDiff()
/external/llvm/unittests/MC/
DDwarfLineTables.cpp52 void verifyEncoding(MCDwarfLineTableParams Params, int LineDelta, int AddrDelta, in verifyEncoding() argument
56 MCDwarfLineAddr::Encode(Ctxt, Params, LineDelta, AddrDelta, EncodingOS); in verifyEncoding()
/external/llvm-project/llvm/unittests/MC/
DDwarfLineTables.cpp56 void verifyEncoding(MCDwarfLineTableParams Params, int LineDelta, int AddrDelta, in verifyEncoding() argument
60 MCDwarfLineAddr::Encode(getContext(), Params, LineDelta, AddrDelta, in verifyEncoding()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h383 uint64_t AddrDelta; member

12