Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp69 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType() local
77 assert(SymA.isFunction()); in getRelocType()
82 assert(SymA.isData()); in getRelocType()
93 if (SymA.isFunction()) in getRelocType()
97 if (SymA.isFunction()) in getRelocType()
101 if (SymA.isGlobal()) in getRelocType()
103 if (SymA.isFunction()) in getRelocType()
105 if (SymA.isEvent()) in getRelocType()
107 if (SymA.isTable()) in getRelocType()
111 assert(SymA.isData()); in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCValue.h40 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; variable
47 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
52 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
62 static MCValue get(const MCSymbolRefExpr *SymA,
67 R.SymA = SymA;
76 R.SymA = nullptr; in get()
DMCObjectWriter.h89 const MCSymbol &SymA,
/external/llvm/include/llvm/MC/
DMCValue.h41 const MCSymbolRefExpr *SymA, *SymB; variable
47 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
52 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
62 static MCValue get(const MCSymbolRefExpr *SymA,
67 R.SymA = SymA;
76 R.SymA = nullptr; in get()
DMCObjectWriter.h106 const MCSymbol &SymA,
/external/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,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp69 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType() local
77 assert(SymA.isFunction()); in getRelocType()
80 assert(SymA.isData()); in getRelocType()
90 if (SymA.isFunction()) in getRelocType()
96 if (SymA.isGlobal()) in getRelocType()
98 if (SymA.isFunction()) in getRelocType()
100 if (SymA.isEvent()) in getRelocType()
104 if (SymA.isFunction()) in getRelocType()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFObjectWriter.cpp49 if (const auto *SymA = Target.getSymA()) { in getRelocType() local
52 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0" || in getRelocType()
53 SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
86 const auto *SymA = Target.getSymA(); in getRelocType() local
87 assert(SymA); in getRelocType()
90 Twine("undefined label '") + SymA->getSymbol().getName() + "'"); in getRelocType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFObjectWriter.cpp47 if (const auto *SymA = Target.getSymA()) { in getRelocType() local
50 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0" || in getRelocType()
51 SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
/external/llvm/lib/MC/
DELFObjectWriter.cpp226 const MCSymbol &SymA,
675 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
678 if (SymA && SymA->isVariable()) { in recordRelocation()
679 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
682 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
690 bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type); in recordRelocation()
691 if (!RelocateWithSymbol && SymA && !SymA->isUndefined()) in recordRelocation()
692 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
704 (SymA && !SymA->isUndefined()) ? &SymA->getSection() : nullptr; in recordRelocation()
710 ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend, SymA, in recordRelocation()
[all …]
DMCObjectWriter.cpp47 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
49 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
DMCMachOStreamer.cpp208 const MCSymbol &SymA = SymAExpr->getSymbol(); in EmitAssignment() local
209 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in EmitAssignment()
DWinCOFFObjectWriter.cpp181 const MCSymbol &SymA,
623 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
628 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
632 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB, in isSymbolRefDifferenceFullyResolvedImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DELFObjectWriter.cpp260 const MCSymbol &SymA,
1456 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
1459 if (SymA && SymA->isVariable()) { in recordRelocation()
1460 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1463 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1469 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1470 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1476 bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type); in recordRelocation()
1479 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1480 ? 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()
DWasmObjectWriter.cpp457 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation() local
459 if (SymA->isVariable()) { in recordRelocation()
460 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
483 const MCSection &SecA = SymA->getSection(); in recordRelocation()
491 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
492 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
498 if (SymA->getName().empty()) in recordRelocation()
502 SymA->setUsedInReloc(); in recordRelocation()
506 SymA->setUsedInGOT(); in recordRelocation()
508 WasmRelocationEntry Rec(FixupOffset, SymA, C, Type, &FixupSection); in recordRelocation()
DMCMachOStreamer.cpp204 const MCSymbol &SymA = SymAExpr->getSymbol(); in EmitAssignment() local
205 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in EmitAssignment()
/external/llvm-project/llvm/lib/MC/
DELFObjectWriter.cpp260 const MCSymbol &SymA,
1461 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
1464 if (SymA && SymA->isVariable()) { in recordRelocation()
1465 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1468 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1474 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1475 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1481 bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type); in recordRelocation()
1484 FixedValue = !RelocateWithSymbol && SymA && !SymA->isUndefined() in recordRelocation()
1485 ? 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.cpp411 const MCSymbol *const SymA = &Target.getSymA()->getSymbol(); in recordRelocation() local
422 const MCSectionXCOFF *SymASec = getContainingCsect(cast<MCSymbolXCOFF>(SymA)); in recordRelocation()
426 const uint32_t Index = getIndex(SymA, SymASec); in recordRelocation()
430 FixedValue = getVirtualAddress(SymA, SymASec) + Target.getConstant(); in recordRelocation()
461 if (SymA == SymB) in recordRelocation()
DWasmObjectWriter.cpp450 const auto *SymA = cast<MCSymbolWasm>(&RefA->getSymbol()); in recordRelocation() local
454 SymA->setUsedInInitArray(); in recordRelocation()
458 if (SymA->isVariable()) { in recordRelocation()
459 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
483 const MCSection &SecA = SymA->getSection(); in recordRelocation()
491 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
492 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
521 if (SymA->getName().empty()) in recordRelocation()
525 SymA->setUsedInReloc(); in recordRelocation()
529 SymA->setUsedInGOT(); in recordRelocation()
[all …]
DMCMachOStreamer.cpp206 const MCSymbol &SymA = SymAExpr->getSymbol(); in emitAssignment() local
207 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in emitAssignment()
/external/swiftshader/third_party/llvm-10.0/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()
/external/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()

12