Home
last modified time | relevance | path

Searched refs:IsELF64 (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceELFSection.h85 template <bool IsELF64> void writeHeader(ELFStreamer &Str);
198 void writeData(ELFStreamer &Str, bool IsELF64);
206 template <bool IsELF64>
245 template <bool IsELF64>
316 template <bool IsELF64> void ELFSection::writeHeader(ELFStreamer &Str) { in writeHeader()
317 Str.writeELFWord<IsELF64>(Header.sh_name); in writeHeader()
318 Str.writeELFWord<IsELF64>(Header.sh_type); in writeHeader()
319 Str.writeELFXword<IsELF64>(Header.sh_flags); in writeHeader()
320 Str.writeAddrOrOffset<IsELF64>(Header.sh_addr); in writeHeader()
321 Str.writeAddrOrOffset<IsELF64>(Header.sh_offset); in writeHeader()
[all …]
DIceELFStreamer.h58 template <bool IsELF64, typename T> void writeAddrOrOffset(T Value) { in writeAddrOrOffset()
59 if (IsELF64) in writeAddrOrOffset()
65 template <bool IsELF64, typename T> void writeELFWord(T Value) { in writeELFWord()
69 template <bool IsELF64, typename T> void writeELFXword(T Value) { in writeELFXword()
70 if (IsELF64) in writeELFXword()
DIceELFObjectWriter.cpp34 bool IsELF64; member
57 return ELFTargetInfo[Arch].IsELF64; in isELF64()
470 template <bool IsELF64>
477 Str.write8(IsELF64 ? ELFCLASS64 : ELFCLASS32); in writeELFHeaderInternal()
497 Str.writeELFWord<IsELF64>(1); // e_version in writeELFHeaderInternal()
500 Str.writeAddrOrOffset<IsELF64>(0); // e_entry in writeELFHeaderInternal()
501 Str.writeAddrOrOffset<IsELF64>(0); // e_phoff in writeELFHeaderInternal()
502 Str.writeAddrOrOffset<IsELF64>(SectionHeaderOffset); // e_shoff in writeELFHeaderInternal()
503 Str.writeELFWord<IsELF64>(getELFFlags(Arch)); // e_flags in writeELFHeaderInternal()
504 Str.writeLE16(IsELF64 ? sizeof(Elf64_Ehdr) : sizeof(Elf32_Ehdr)); // e_ehsize in writeELFHeaderInternal()
[all …]
DIceELFSection.cpp177 void ELFSymbolTableSection::writeData(ELFStreamer &Str, bool IsELF64) { in writeData() argument
178 if (IsELF64) { in writeData()
DIceELFObjectWriter.h175 template <bool IsELF64>
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp25 X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
35 X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, in X86ELFObjectWriter() argument
37 : MCELFObjectTargetWriter(IsELF64, OSABI, EMachine, in X86ELFObjectWriter()
298 bool IsELF64, uint8_t OSABI, in createX86ELFObjectWriter() argument
301 new X86ELFObjectWriter(IsELF64, OSABI, EMachine); in createX86ELFObjectWriter()
DX86MCTargetDesc.h90 MCObjectWriter *createX86ELFObjectWriter(raw_pwrite_stream &OS, bool IsELF64,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp29 X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
39 X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, in X86ELFObjectWriter() argument
41 : MCELFObjectTargetWriter(IsELF64, OSABI, EMachine, in X86ELFObjectWriter()
332 llvm::createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine) { in createX86ELFObjectWriter() argument
333 return std::make_unique<X86ELFObjectWriter>(IsELF64, OSABI, EMachine); in createX86ELFObjectWriter()
DX86MCTargetDesc.h111 createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp29 X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
39 X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, in X86ELFObjectWriter() argument
41 : MCELFObjectTargetWriter(IsELF64, OSABI, EMachine, in X86ELFObjectWriter()
343 llvm::createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine) { in createX86ELFObjectWriter() argument
344 return std::make_unique<X86ELFObjectWriter>(IsELF64, OSABI, EMachine); in createX86ELFObjectWriter()
DX86MCTargetDesc.h112 createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);