Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h37 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; variable
45 const MCSymbolRefExpr *getSymB() const { return SymB; } in getSymB()
49 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
60 const MCSymbolRefExpr *SymB = nullptr,
65 R.SymB = SymB;
74 R.SymB = nullptr; in get()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp1451 const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol()); in recordRelocation() local
1452 if (SymB.isUndefined()) { in recordRelocation()
1454 Twine("symbol '") + SymB.getName() + in recordRelocation()
1459 assert(!SymB.isAbsolute() && "Should have been folded"); in recordRelocation()
1460 const MCSection &SecB = SymB.getSection(); in recordRelocation()
1469 C += FixupOffset - Layout.getSymbolOffset(SymB); in recordRelocation()
H A DWasmObjectWriter.cpp500 const auto &SymB = cast<MCSymbolWasm>(RefB->getSymbol()); in recordRelocation() local
504 Twine("symbol '") + SymB.getName() + in recordRelocation()
510 if (SymB.isUndefined()) { in recordRelocation()
512 Twine("symbol '") + SymB.getName() + in recordRelocation()
516 const MCSection &SecB = SymB.getSection(); in recordRelocation()
519 Twine("symbol '") + SymB.getName() + in recordRelocation()
524 C += FixupOffset - Layout.getSymbolOffset(SymB); in recordRelocation()
H A DXCOFFObjectWriter.cpp759 const MCSymbol *const SymB = &Target.getSymB()->getSymbol(); in recordRelocation() local
760 if (SymA == SymB) in recordRelocation()
763 const MCSectionXCOFF *SymBSec = getContainingCsect(cast<MCSymbolXCOFF>(SymB)); in recordRelocation()
773 const uint32_t IndexB = getIndex(SymB, SymBSec); in recordRelocation()
781 FixedValue -= getVirtualAddress(SymB, SymBSec); in recordRelocation()
H A DWinCOFFObjectWriter.cpp884 const MCSymbolRefExpr *SymB = Target.getSymB(); in recordRelocation() local
886 if (SymB) { in recordRelocation()
887 const MCSymbol *B = &SymB->getSymbol(); in recordRelocation()
947 Asm.getContext(), Target, Fixup, SymB, Asm.getBackend()); in recordRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp482 if (auto *SymB = Target.getSymB()) { in recordTLVPRelocation() local
488 Writer->getSymbolAddress(SymB->getSymbol(), Layout) + in recordTLVPRelocation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3636 const MCSymbolRefExpr *SymB = MV.getSymB(); in handleIndirectSymViaGOTPCRel() local
3638 if (!SymB || BaseSym != &SymB->getSymbol()) in handleIndirectSymViaGOTPCRel()