| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| D | WebAssemblyWasmObjectWriter.cpp | 71 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType() local 80 assert(SymA.isFunction()); in getRelocType() 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() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/MC/ |
| 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()
|
| D | MCObjectWriter.h | 87 const MCSymbol &SymA,
|
| D | MCMachObjectWriter.h | 262 const MCSymbol &SymA,
|
| /openbsd/src/gnu/llvm/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() 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/MC/ |
| D | ELFObjectWriter.cpp | 246 const MCSymbol &SymA, 1463 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local 1466 if (SymA && SymA->isVariable()) { in recordRelocation() 1467 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation() 1470 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation() 1476 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation() 1477 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation() 1486 shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type) || in recordRelocation() 1490 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation() 1491 ? C + Layout.getSymbolOffset(*SymA) in recordRelocation() [all …]
|
| D | MCObjectWriter.cpp | 48 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument 50 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
| 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 …]
|
| D | XCOFFObjectWriter.cpp | 607 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local 618 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation() 622 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation() 627 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation() 685 if (SymA == SymB) in recordRelocation()
|
| D | MCMachOStreamer.cpp | 222 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local 223 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
|
| 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()
|
| D | MachObjectWriter.cpp | 679 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument 689 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
|
| /openbsd/src/gnu/llvm/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()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| D | AsmPrinter.cpp | 3373 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local 3374 if (!SymA) in handleIndirectSymViaGOTPCRel() 3378 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()
|