| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| D | WebAssemblyWasmObjectWriter.cpp | 71 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/ |
| D | MCValue.h | 38 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()
|
| D | MCObjectWriter.h | 83 const MCSymbol &SymA,
|
| D | MCMachObjectWriter.h | 262 const MCSymbol &SymA,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| 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() 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/ |
| D | ELFObjectWriter.cpp | 248 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 …]
|
| D | MCObjectWriter.cpp | 46 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument 48 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
| D | XCOFFObjectWriter.cpp | 455 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()
|
| D | WasmObjectWriter.cpp | 481 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 …]
|
| D | MCMachOStreamer.cpp | 206 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local 207 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
|
| D | WinCOFFObjectWriter.cpp | 206 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()
|
| D | MachObjectWriter.cpp | 678 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/ |
| 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| D | AsmPrinter.cpp | 2930 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local 2931 if (!SymA) in handleIndirectSymViaGOTPCRel() 2935 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()
|