Home
last modified time | relevance | path

Searched refs:IsELF64 (Results 1 – 9 of 9) 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
58 return ELFTargetInfo[Arch].IsELF64; in isELF64()
471 template <bool IsELF64>
478 Str.write8(IsELF64 ? ELFCLASS64 : ELFCLASS32); in writeELFHeaderInternal()
498 Str.writeELFWord<IsELF64>(1); // e_version in writeELFHeaderInternal()
501 Str.writeAddrOrOffset<IsELF64>(0); // e_entry in writeELFHeaderInternal()
502 Str.writeAddrOrOffset<IsELF64>(0); // e_phoff in writeELFHeaderInternal()
503 Str.writeAddrOrOffset<IsELF64>(SectionHeaderOffset); // e_shoff in writeELFHeaderInternal()
504 Str.writeELFWord<IsELF64>(getELFFlags(Arch)); // e_flags in writeELFHeaderInternal()
505 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-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp30 X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
40 X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, in X86ELFObjectWriter() argument
42 : MCELFObjectTargetWriter(IsELF64, OSABI, EMachine, in X86ELFObjectWriter()
305 llvm::createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine) { in createX86ELFObjectWriter() argument
306 return llvm::make_unique<X86ELFObjectWriter>(IsELF64, OSABI, EMachine); in createX86ELFObjectWriter()
DX86MCTargetDesc.h110 createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);