Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCValue.h38 const MCSymbolRefExpr *SymA, *SymB; variable
43 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
47 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
55 static MCValue get(const MCSymbolRefExpr *SymA, const MCSymbolRefExpr *SymB=0,
58 assert((!SymB || SymA) && "Invalid relocatable MCValue!");
60 R.SymA = SymA;
68 R.SymA = 0; in get()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCValue.h41 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; variable
48 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
53 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute()
63 static MCValue get(const MCSymbolRefExpr *SymA,
68 R.SymA = SymA;
77 R.SymA = nullptr; in get()
DMCObjectWriter.h90 const MCSymbol &SymA,
DMCMachObjectWriter.h268 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,
DMCMachObjectWriter.h256 const MCSymbol &SymA,
/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()
DMachObjectWriter.cpp645 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
655 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFObjectWriter.cpp46 if (const auto *SymA = Target.getSymA()) { in getRelocType() local
49 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD0") in getRelocType()
52 if (SymA->getSymbol().getName() == "SCRATCH_RSRC_DWORD1") in getRelocType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DELFObjectWriter.cpp259 const MCSymbol &SymA,
1435 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
1438 if (SymA && SymA->isVariable()) { in recordRelocation()
1439 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
1442 SymA = cast<MCSymbolELF>(&Inner->getSymbol()); in recordRelocation()
1450 bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type); in recordRelocation()
1451 if (!RelocateWithSymbol && SymA && !SymA->isUndefined()) in recordRelocation()
1452 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
1462 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1463 ? cast<MCSectionELF>(&SymA->getSection()) 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()
DWasmObjectWriter.cpp466 const auto *SymA = RefA ? cast<MCSymbolWasm>(&RefA->getSymbol()) : nullptr; in recordRelocation() local
468 if (SymA && SymA->isVariable()) { in recordRelocation()
469 const MCExpr *Expr = SymA->getVariableValue(); in recordRelocation()
482 assert(SymA); in recordRelocation()
494 const MCSection &SecA = SymA->getSection(); in recordRelocation()
502 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
503 SymA = cast<MCSymbolWasm>(SectionSymbol); in recordRelocation()
509 if (SymA->getName().empty()) in recordRelocation()
513 SymA->setUsedInReloc(); in recordRelocation()
516 WasmRelocationEntry Rec(FixupOffset, SymA, C, Type, &FixupSection); in recordRelocation()
DMCMachOStreamer.cpp205 const MCSymbol &SymA = SymAExpr->getSymbol(); in EmitAssignment() local
206 if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0)) in EmitAssignment()
DWinCOFFObjectWriter.cpp197 const MCSymbol &SymA,
691 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
699 uint16_t Type = cast<MCSymbolCOFF>(SymA).getType(); in isSymbolRefDifferenceFullyResolvedImpl()
702 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB, in isSymbolRefDifferenceFullyResolvedImpl()
DMachObjectWriter.cpp662 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
672 const MCSymbol &SA = findAliasedSymbol(SymA); in isSymbolRefDifferenceFullyResolvedImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp472 const MCSymbolRefExpr *SymA = Target.getSymA(); in recordTLVPRelocation() local
473 assert(SymA->getKind() == MCSymbolRefExpr::VK_TLVP && !is64Bit() && in recordTLVPRelocation()
502 Writer->addRelocation(&SymA->getSymbol(), Fragment->getParent(), MRE); in recordTLVPRelocation()
/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFObjectWriter.cpp656 const MCSymbolRefExpr *SymA = Target.getSymA(); in RecordRelocation() local
659 &SymA->getSymbol().getSection() != &SymB->getSymbol().getSection(); in RecordRelocation()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2180 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
2181 if (!SymA) in handleIndirectSymViaGOTPCRel()
2185 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2483 const MCSymbolRefExpr *SymA = MV.getSymA(); in handleIndirectSymViaGOTPCRel() local
2484 if (!SymA) in handleIndirectSymViaGOTPCRel()
2488 const MCSymbol *GOTEquivSym = &SymA->getSymbol(); in handleIndirectSymViaGOTPCRel()