Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h88 llvm::OwningPtr<MCMachObjectTargetWriter> TargetObjectWriter; variable
111 : MCObjectWriter(_OS, _IsLittleEndian), TargetObjectWriter(MOTW) { in MachObjectWriter()
142 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
144 uint32_t CPUType = TargetObjectWriter->getCPUType() & in isARM()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DELFObjectWriter.cpp232 std::unique_ptr<MCELFObjectTargetWriter> TargetObjectWriter; member in __anon34c1da7d0111::ELFObjectWriter
250 : TargetObjectWriter(std::move(MOTW)) {} in ELFObjectWriter()
400 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
427 W.OS << char(OWriter.TargetObjectWriter->getOSABI()); in writeHeader()
434 W.write<uint16_t>(OWriter.TargetObjectWriter->getEMachine()); // e_machine = target in writeHeader()
906 OWriter.TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
914 if (OWriter.TargetObjectWriter->getEMachine() == ELF::EM_MIPS) { in writeRelocations()
917 write(OWriter.TargetObjectWriter->getRSsym(Entry.Type)); in writeRelocations()
918 write(OWriter.TargetObjectWriter->getRType3(Entry.Type)); in writeRelocations()
919 write(OWriter.TargetObjectWriter->getRType2(Entry.Type)); in writeRelocations()
[all …]
DWinCOFFObjectWriter.cpp136 std::unique_ptr<MCWinCOFFObjectTargetWriter> TargetObjectWriter; member in __anoneb971b320111::WinCOFFObjectWriter
155 Header.Machine = TargetObjectWriter->getMachine(); in reset()
230 : W(OS, support::little), TargetObjectWriter(std::move(MOTW)) { in WinCOFFObjectWriter()
231 Header.Machine = TargetObjectWriter->getMachine(); in WinCOFFObjectWriter()
781 Reloc.Data.Type = TargetObjectWriter->getRelocType( in recordRelocation()
834 if (TargetObjectWriter->recordRelocation(Fixup)) in recordRelocation()
DMachObjectWriter.cpp149 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader()
150 W.write<uint32_t>(TargetObjectWriter->getCPUSubtype()); in writeHeader()
457 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
DWasmObjectWriter.cpp202 std::unique_ptr<MCWasmObjectTargetWriter> TargetObjectWriter; member in __anon46b4d5de0111::WasmObjectWriter
243 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
245 return TargetObjectWriter->getRelocType(Target, Fixup); in getRelocType()
255 : W(OS, support::little), TargetObjectWriter(std::move(MOTW)) {} in WasmObjectWriter()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCMachObjectWriter.h94 std::unique_ptr<MCMachObjectTargetWriter> TargetObjectWriter; variable
129 : TargetObjectWriter(std::move(MOTW)), in MachObjectWriter()
167 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
169 uint32_t CPUType = TargetObjectWriter->getCPUType(); in isX86_64()
/external/llvm/lib/MC/
DELFObjectWriter.cpp98 std::unique_ptr<MCELFObjectTargetWriter> TargetObjectWriter; member in __anon025039250111::ELFObjectWriter
127 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
129 return TargetObjectWriter->hasRelocationAddend(); in hasRelocationAddend()
133 return TargetObjectWriter->getRelocType(Ctx, Target, Fixup, IsPCRel); in getRelocType()
145 : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {} in ELFObjectWriter()
322 write8(TargetObjectWriter->getOSABI()); in writeHeader()
329 write16(TargetObjectWriter->getEMachine()); // e_machine = target in writeHeader()
597 if (TargetObjectWriter->needsRelocateWithSymbol(*Sym, Type)) in shouldRelocateWithSymbol()
1093 TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
1101 if (TargetObjectWriter->isN64()) { in writeRelocations()
[all …]
DWinCOFFObjectWriter.cpp122 std::unique_ptr<MCWinCOFFObjectTargetWriter> TargetObjectWriter; member in __anon81048dda0111::WinCOFFObjectWriter
140 Header.Machine = TargetObjectWriter->getMachine(); in reset()
231 : MCObjectWriter(OS, true), TargetObjectWriter(MOTW) { in WinCOFFObjectWriter()
234 Header.Machine = TargetObjectWriter->getMachine(); in WinCOFFObjectWriter()
746 Reloc.Data.Type = TargetObjectWriter->getRelocType( in recordRelocation()
799 if (TargetObjectWriter->recordRelocation(Fixup)) in recordRelocation()
DMachObjectWriter.cpp136 write32(TargetObjectWriter->getCPUType()); in writeHeader()
137 write32(TargetObjectWriter->getCPUSubtype()); in writeHeader()
440 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
/external/swiftshader/third_party/LLVM/lib/MC/
DELFObjectWriter.h108 llvm::OwningPtr<MCELFObjectTargetWriter> TargetObjectWriter; variable
158 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit()
160 return TargetObjectWriter->hasRelocationAddend(); in hasRelocationAddend()
167 TargetObjectWriter(MOTW), in ELFObjectWriter()
DMachObjectWriter.cpp126 Write32(TargetObjectWriter->getCPUType()); in WriteHeader()
127 Write32(TargetObjectWriter->getCPUSubtype()); in WriteHeader()
360 TargetObjectWriter->RecordRelocation(this, Asm, Layout, Fragment, Fixup, in RecordRelocation()
604 if (!TargetObjectWriter->useAggressiveSymbolFolding()) in IsSymbolRefDifferenceFullyResolvedImpl()
DELFObjectWriter.cpp95 switch (TargetObjectWriter->getOSType()) { in WriteHeader()
106 Write16(TargetObjectWriter->getEMachine()); // e_machine = target in WriteHeader()