Home
last modified time | relevance | path

Searched refs:SymA (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp87 assert(SymA.isData()); in getRelocType()
103 if (SymA.isFunction()) in getRelocType()
107 if (SymA.isFunction()) in getRelocType()
111 if (SymA.isGlobal()) in getRelocType()
113 if (SymA.isFunction()) in getRelocType()
115 if (SymA.isTag()) in getRelocType()
117 if (SymA.isTable()) in getRelocType()
121 assert(SymA.isData()); in getRelocType()
130 if (SymA.isGlobal()) in getRelocType()
147 if (SymA.isGlobal()) in getRelocType()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h37 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; variable
44 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
49 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
59 static MCValue get(const MCSymbolRefExpr *SymA,
64 R.SymA = SymA;
73 R.SymA = nullptr; in get()
H A DMCObjectWriter.h87 const MCSymbol &SymA,
H A DMCMachObjectWriter.h263 const MCSymbol &SymA,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp40 if (const auto *SymA = Target.getSymA()) { in getRelocType() local
43 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0" || in getRelocType()
44 SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
84 const auto *SymA = Target.getSymA(); in getRelocType() local
85 assert(SymA); in getRelocType()
87 if (SymA->getSymbol().isUndefined()) { in getRelocType()
89 SymA->getSymbol().getName() + "'"); in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp1477 if (SymA && SymA->isVariable()) { in recordRelocation()
1478 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1481 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1487 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1501 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1519 const MCSymbolELF *RenamedSymA = SymA; in recordRelocation()
1520 if (SymA) { in recordRelocation()
1521 if (const MCSymbolELF *R = Renames.lookup(SymA)) in recordRelocation()
1536 const auto &SymA = cast<MCSymbolELF>(SA); in isSymbolRefDifferenceFullyResolvedImpl() local
1539 if (SymA.getBinding() != ELF::STB_LOCAL || in isSymbolRefDifferenceFullyResolvedImpl()
[all …]
H A DMCObjectWriter.cpp46 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
48 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DWasmObjectWriter.cpp529 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation() local
533 SymA->setUsedInInitArray(); in recordRelocation()
537 if (SymA->isVariable()) { in recordRelocation()
538 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
558 SymA->isDefined()) { in recordRelocation()
569 const MCSection &SecA = SymA->getSection(); in recordRelocation()
581 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
582 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
609 if (SymA->getName().empty()) in recordRelocation()
613 SymA->setUsedInReloc(); in recordRelocation()
[all …]
H A DXCOFFObjectWriter.cpp676 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local
687 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation()
697 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation()
704 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation()
741 FixedValue = getVirtualAddress(SymA, SymASec) - BRInstrAddress + in recordRelocation()
760 if (SymA == SymB) in recordRelocation()
H A DMCMachOStreamer.cpp221 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local
222 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
H A DWinCOFFObjectWriter.cpp232 const MCSymbol &SymA,
1193 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
1201 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
1204 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB, in isSymbolRefDifferenceFullyResolvedImpl()
H A DMachObjectWriter.cpp677 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
687 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp470 const MCSymbolRefExpr *SymA = Target.getSymA(); in recordTLVPRelocation() local
471 assert(SymA->getKind() == MCSymbolRefExpr::VK_TLVP && !is64Bit() && in recordTLVPRelocation()
500 Writer->addRelocation(&SymA->getSymbol(), Fragment->getParent(), MRE); in recordTLVPRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp520 if (const auto *SymA = Target.getSymA()) in shouldForceRelocation() local
521 if (SymA->getSymbol().getName().size() == 0) in shouldForceRelocation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3621 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
3622 if (!SymA) in handleIndirectSymViaGOTPCRel()
3626 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()