Home
last modified time | relevance | path

Searched refs:TargetObjectWriter (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h86 std::unique_ptr<MCMachObjectTargetWriter> TargetObjectWriter; variable
119 : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {} in MachObjectWriter()
154 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
156 uint32_t CPUType = TargetObjectWriter->getCPUType(); in isX86_64()
/external/llvm/lib/MC/
DELFObjectWriter.cpp99 std::unique_ptr<MCELFObjectTargetWriter> TargetObjectWriter; member in __anond13579a80111::ELFObjectWriter
128 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
130 return TargetObjectWriter->hasRelocationAddend(); in hasRelocationAddend()
134 return TargetObjectWriter->GetRelocType(Target, Fixup, IsPCRel); in GetRelocType()
142 : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {} in ELFObjectWriter()
327 write8(TargetObjectWriter->getOSABI()); in writeHeader()
334 write16(TargetObjectWriter->getEMachine()); // e_machine = target in writeHeader()
588 if (TargetObjectWriter->needsRelocateWithSymbol(*Sym, Type)) in shouldRelocateWithSymbol()
1060 TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
1068 if (TargetObjectWriter->isN64()) { in writeRelocations()
[all …]
DWinCOFFObjectWriter.cpp123 std::unique_ptr<MCWinCOFFObjectTargetWriter> TargetObjectWriter; member in __anonc9cc57dd0111::WinCOFFObjectWriter
141 Header.Machine = TargetObjectWriter->getMachine(); in reset()
232 : MCObjectWriter(OS, true), TargetObjectWriter(MOTW) { in WinCOFFObjectWriter()
235 Header.Machine = TargetObjectWriter->getMachine(); in WinCOFFObjectWriter()
741 Reloc.Data.Type = TargetObjectWriter->getRelocType( in recordRelocation()
790 if (TargetObjectWriter->recordRelocation(Fixup)) in recordRelocation()
DMachObjectWriter.cpp136 write32(TargetObjectWriter->getCPUType()); in writeHeader()
137 write32(TargetObjectWriter->getCPUSubtype()); in writeHeader()
438 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()