/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCDwarf.cpp | 53 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 …]
|
D | MCObjectStreamer.cpp | 205 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()
|
D | MCAssembler.cpp | 737 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()
|
D | MCAsmStreamer.cpp | 380 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceFrameAddr() local 381 AddrDelta = ForceExpAbs(AddrDelta); in EmitDwarfAdvanceFrameAddr() 382 EmitValue(AddrDelta, 4); in EmitDwarfAdvanceFrameAddr()
|
D | MCStreamer.cpp | 47 const MCExpr *AddrDelta = in BuildSymbolDiff() local 49 return AddrDelta; in BuildSymbolDiff()
|
/external/llvm/lib/MC/ |
D | MCDwarf.cpp | 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() [all …]
|
D | MCObjectStreamer.cpp | 319 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()
|
D | MCAssembler.cpp | 807 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()
|
D | MCCodeView.cpp | 267 const MCExpr *AddrDelta = in computeLabelDiff() local 270 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Layout); in computeLabelDiff()
|
/external/llvm/include/llvm/MC/ |
D | MCFragment.h | 412 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; }
|
D | MCDwarf.h | 279 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/ |
D | MCDwarf.cpp | 72 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 …]
|
D | MCObjectStreamer.cpp | 393 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()
|
D | MCAssembler.cpp | 956 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()
|
D | MCCodeView.cpp | 443 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/ |
D | MCFragment.h | 525 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()
|
D | MCDwarf.h | 363 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/ |
D | MCDwarf.h | 219 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);
|
D | MCAssembler.h | 367 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/ |
D | DwarfLineTables.cpp | 52 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/ |
D | DwarfLineTables.cpp | 55 void verifyEncoding(MCDwarfLineTableParams Params, int LineDelta, int AddrDelta, in verifyEncoding() argument 59 MCDwarfLineAddr::Encode(getContext(), Params, LineDelta, AddrDelta, in verifyEncoding()
|