Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/MC/
DMCDwarf.cpp53 static inline uint64_t ScaleAddrDelta(uint64_t AddrDelta) { in ScaleAddrDelta() argument
55 return AddrDelta; in ScaleAddrDelta()
56 if (AddrDelta % DWARF2_LINE_MIN_INSN_LENGTH != 0) { in ScaleAddrDelta()
60 return AddrDelta / DWARF2_LINE_MIN_INSN_LENGTH; in ScaleAddrDelta()
327 uint64_t AddrDelta) { in Write() argument
330 MCDwarfLineAddr::Encode(LineDelta, AddrDelta, OS); in Write()
336 uint64_t AddrDelta) { in Emit() argument
339 MCDwarfLineAddr::Encode(LineDelta, AddrDelta, OS); in Emit()
344 void MCDwarfLineAddr::Encode(int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
350 AddrDelta = ScaleAddrDelta(AddrDelta); in Encode()
[all …]
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()
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.cpp380 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
381 AddrDelta = ForceExpAbs(AddrDelta); in EmitDwarfAdvanceFrameAddr()
382 EmitValue(AddrDelta, 4); in EmitDwarfAdvanceFrameAddr()
DMCStreamer.cpp47 const MCExpr *AddrDelta = in BuildSymbolDiff() local
49 return AddrDelta; in BuildSymbolDiff()
/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-7.0/llvm/lib/MC/
DMCDwarf.cpp72 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) { in ScaleAddrDelta() argument
75 return AddrDelta; in ScaleAddrDelta()
76 if (AddrDelta % MinInsnLength != 0) { in ScaleAddrDelta()
80 return AddrDelta / MinInsnLength; in ScaleAddrDelta()
637 int64_t LineDelta, uint64_t AddrDelta) { in Emit() argument
641 MCDwarfLineAddr::Encode(Context, Params, LineDelta, AddrDelta, OS); in Emit()
653 int64_t LineDelta, uint64_t AddrDelta, in Encode() argument
662 AddrDelta = ScaleAddrDelta(Context, AddrDelta); in Encode()
668 if (AddrDelta == MaxSpecialAddrDelta) in Encode()
670 else if (AddrDelta) { in Encode()
[all …]
DMCObjectStreamer.cpp393 const MCExpr *AddrDelta = in buildSymbolDiff() local
395 return AddrDelta; in buildSymbolDiff()
421 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceLineAddr() local
423 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in EmitDwarfAdvanceLineAddr()
428 insert(new MCDwarfLineAddrFragment(LineDelta, *AddrDelta)); in EmitDwarfAdvanceLineAddr()
433 const MCExpr *AddrDelta = buildSymbolDiff(*this, Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local
435 if (AddrDelta->evaluateAsAbsolute(Res, getAssemblerPtr())) { in EmitDwarfAdvanceFrameAddr()
439 insert(new MCDwarfCallFrameFragment(*AddrDelta)); in EmitDwarfAdvanceFrameAddr()
DMCAssembler.cpp956 int64_t AddrDelta; in relaxDwarfLineAddr() local
959 Abs = DF.getAddrDelta().evaluateAsAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr()
961 Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr()
973 AddrDelta, OSE); in relaxDwarfLineAddr()
979 LineDelta, AddrDelta, in relaxDwarfLineAddr()
1001 int64_t AddrDelta; in relaxDwarfCallFrameFragment() local
1002 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment()
1008 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OSE); in relaxDwarfCallFrameFragment()
DMCCodeView.cpp443 const MCExpr *AddrDelta = in computeLabelDiff() local
446 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Layout); in computeLabelDiff()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCFragment.h525 const MCExpr *AddrDelta; variable
528 MCDwarfLineAddrFragment(int64_t LineDelta, const MCExpr &AddrDelta,
531 LineDelta(LineDelta), AddrDelta(&AddrDelta) {}
538 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
550 const MCExpr *AddrDelta; variable
555 MCDwarfCallFrameFragment(const MCExpr &AddrDelta, MCSection *Sec = nullptr)
556 : MCFragment(FT_DwarfFrame, false, Sec), AddrDelta(&AddrDelta) { in MCFragment()
563 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
DMCDwarf.h363 int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
369 int64_t LineDelta, uint64_t AddrDelta,
374 int64_t LineDelta, uint64_t AddrDelta);
604 static void EmitAdvanceLoc(MCObjectStreamer &Streamer, uint64_t AddrDelta);
605 static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
/external/swiftshader/third_party/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()
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/MC/
DDwarfLineTables.cpp55 void verifyEncoding(MCDwarfLineTableParams Params, int LineDelta, int AddrDelta, in verifyEncoding() argument
59 MCDwarfLineAddr::Encode(getContext(), Params, LineDelta, AddrDelta, in verifyEncoding()