Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp71 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType() local
80 assert(SymA.isFunction()); in getRelocType()
87 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()
[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 DMCWinCOFFObjectWriter.h68 const MCSymbol &SymA,
H A DMCObjectWriter.h91 const MCSymbol &SymA,
H A DMCELFObjectWriter.h192 const MCSymbol &SymA,
H A DMCMachObjectWriter.h348 const MCSymbol &SymA,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp40 if (const auto *SymA = Target.getSymA()) { in getRelocType()
43 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0" || in getRelocType() local
44 SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
84 const auto *SymA = Target.getSymA(); in getRelocType()
85 assert(SymA); in getRelocType()
87 if (SymA->getSymbol().isUndefined()) { in getRelocType()
89 SymA->getSymbol().getName() + "'"); in getRelocType()
83 const auto *SymA = Target.getSymA(); getRelocType() local
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp1371 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
1374 if (SymA && SymA->isVariable()) { in recordRelocation()
1375 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1378 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1384 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1385 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1394 shouldRelocateWithSymbol(Asm, Target, SymA, C, Type) || in recordRelocation()
1398 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1399 ? C + Asm.getSymbolOffset(*SymA) in recordRelocation()
1411 ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend, SymA, C); in recordRelocation()
[all …]
H A DMCObjectWriter.cpp49 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
51 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DWasmObjectWriter.cpp524 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation() local
528 SymA->setUsedInInitArray(); in recordRelocation()
532 if (SymA->isVariable()) { in recordRelocation()
533 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
553 SymA->isDefined()) { in recordRelocation()
554 // SymA can be a temp data symbol that represents a function (in which case in recordRelocation()
564 const MCSection &SecA = SymA->getSection(); in recordRelocation()
576 C += Asm.getSymbolOffset(*SymA); in recordRelocation()
577 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
604 if (SymA in recordRelocation()
[all...]
H A DXCOFFObjectWriter.cpp690 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local
701 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation()
711 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation()
719 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation()
771 FixedValue = getVirtualAddress(SymA, SymASec) - BRInstrAddress + in recordRelocation()
790 if (SymA == SymB) in recordRelocation()
H A DMCMachOStreamer.cpp187 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local
188 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
H A DWinCOFFObjectWriter.cpp1162 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
1170 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
1173 return &SymA.getSection() == FB.getParent(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMachObjectWriter.cpp715 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
725 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp458 const MCSymbolRefExpr *SymA = Target.getSymA(); in recordTLVPRelocation() local
459 assert(SymA->getKind() == MCSymbolRefExpr::VK_TLVP && !is64Bit() && in recordTLVPRelocation()
488 Writer->addRelocation(&SymA->getSymbol(), Fragment->getParent(), MRE); in recordTLVPRelocation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3632 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
3633 if (!SymA) in handleIndirectSymViaGOTPCRel()
3637 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()