| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyWasmObjectWriter.cpp | 87 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 D | MCValue.h | 37 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 D | MCObjectWriter.h | 87 const MCSymbol &SymA,
|
| H A D | MCMachObjectWriter.h | 262 const MCSymbol &SymA,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUELFObjectWriter.cpp | 43 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 D | ELFObjectWriter.cpp | 1427 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 D | MCObjectWriter.cpp | 48 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument 50 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
| H A D | WasmObjectWriter.cpp | 529 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 D | XCOFFObjectWriter.cpp | 546 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 D | MCMachOStreamer.cpp | 224 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local 225 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
|
| H A D | WinCOFFObjectWriter.cpp | 209 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 D | MachObjectWriter.cpp | 680 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 D | X86MachObjectWriter.cpp | 470 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 D | AsmPrinter.cpp | 3198 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local 3199 if (!SymA) in handleIndirectSymViaGOTPCRel() 3203 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()
|