Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp71 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType() local
79 assert(SymA.isFunction()); in getRelocType()
86 assert(SymA.isData()); in getRelocType()
97 if (SymA.isFunction()) in getRelocType()
101 if (SymA.isFunction()) in getRelocType()
105 if (SymA.isGlobal()) in getRelocType()
107 if (SymA.isFunction()) in getRelocType()
109 if (SymA.isTag()) in getRelocType()
111 if (SymA.isTable()) in getRelocType()
115 assert(SymA.isData()); in getRelocType()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
DMCValue.h38 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; variable
45 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
50 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
60 static MCValue get(const MCSymbolRefExpr *SymA,
65 R.SymA = SymA;
74 R.SymA = nullptr; in get()
DMCObjectWriter.h83 const MCSymbol &SymA,
DMCMachObjectWriter.h262 const MCSymbol &SymA,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
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()
80 const auto *SymA = Target.getSymA(); in getRelocType() local
81 assert(SymA); in getRelocType()
83 if (SymA->getSymbol().isUndefined()) { in getRelocType()
85 SymA->getSymbol().getName() + "'"); in getRelocType()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
DELFObjectWriter.cpp248 const MCSymbol &SymA,
1438 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
1441 if (SymA && SymA->isVariable()) { in recordRelocation()
1442 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1445 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1451 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1452 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1461 shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type) || in recordRelocation()
1465 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1466 ? C + Layout.getSymbolOffset(*SymA) in recordRelocation()
[all …]
DMCObjectWriter.cpp46 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
48 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
DXCOFFObjectWriter.cpp455 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local
466 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation()
474 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation()
479 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation()
514 if (SymA == SymB) in recordRelocation()
DWasmObjectWriter.cpp481 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation() local
485 SymA->setUsedInInitArray(); in recordRelocation()
489 if (SymA->isVariable()) { in recordRelocation()
490 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
510 SymA->isDefined()) { in recordRelocation()
521 const MCSection &SecA = SymA->getSection(); in recordRelocation()
533 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
534 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
561 if (SymA->getName().empty()) in recordRelocation()
565 SymA->setUsedInReloc(); in recordRelocation()
[all …]
DMCMachOStreamer.cpp206 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local
207 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
DWinCOFFObjectWriter.cpp206 const MCSymbol &SymA,
699 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
707 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
710 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB, in isSymbolRefDifferenceFullyResolvedImpl()
DMachObjectWriter.cpp678 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
688 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2930 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
2931 if (!SymA) in handleIndirectSymViaGOTPCRel()
2935 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()