Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp87 assert(SymA.isData()); in getRelocType()
101 if (SymA.isFunction()) in getRelocType()
105 if (SymA.isFunction()) in getRelocType()
109 if (SymA.isGlobal()) in getRelocType()
111 if (SymA.isFunction()) in getRelocType()
113 if (SymA.isTag()) in getRelocType()
115 if (SymA.isTable()) in getRelocType()
119 assert(SymA.isData()); in getRelocType()
128 if (SymA.isGlobal()) in getRelocType()
145 if (SymA.isGlobal()) in getRelocType()
[all …]
/llvm-project-15.0.7/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.h262 const MCSymbol &SymA,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp43 if (const auto *SymA = Target.getSymA()) { in getRelocType() local
46 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0" || in getRelocType()
47 SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
83 const auto *SymA = Target.getSymA(); in getRelocType() local
84 assert(SymA); in getRelocType()
86 if (SymA->getSymbol().isUndefined()) { in getRelocType()
88 SymA->getSymbol().getName() + "'"); in getRelocType()
/llvm-project-15.0.7/llvm/lib/MC/
H A DELFObjectWriter.cpp1427 if (SymA && SymA->isVariable()) { in recordRelocation()
1428 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1431 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1437 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1451 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1469 const MCSymbolELF *RenamedSymA = SymA; in recordRelocation()
1470 if (SymA) { in recordRelocation()
1471 if (const MCSymbolELF *R = Renames.lookup(SymA)) in recordRelocation()
1486 const auto &SymA = cast<MCSymbolELF>(SA); in isSymbolRefDifferenceFullyResolvedImpl() local
1489 if (SymA.getBinding() != ELF::STB_LOCAL || in isSymbolRefDifferenceFullyResolvedImpl()
[all …]
H A DMCObjectWriter.cpp48 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
50 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.cpp546 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local
557 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation()
565 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation()
570 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation()
604 if (SymA == SymB) in recordRelocation()
H A DMCMachOStreamer.cpp224 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local
225 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
H A DWinCOFFObjectWriter.cpp209 const MCSymbol &SymA,
680 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
688 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
691 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB, in isSymbolRefDifferenceFullyResolvedImpl()
H A DMachObjectWriter.cpp680 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
690 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3198 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
3199 if (!SymA) in handleIndirectSymViaGOTPCRel()
3203 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()