Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DMips.cpp55 if (ELFT::Is64Bits) { in MIPS()
78 if (ELFT::Is64Bits || ctx.arg.mipsN32Abi) in getRelExpr()
293 } else if (ELFT::Is64Bits) { in writePltHeader()
343 uint32_t loadInst = ELFT::Is64Bits ? 0xddf90000 : 0x8df90000; in writePlt()
347 uint32_t addInst = ELFT::Is64Bits ? 0x65f80000 : 0x25f80000; in writePlt()
575 if (ELFT::Is64Bits || ctx.arg.mipsN32Abi) in relocate()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h118 ELFT::Is64Bits ? 8 : 4); in printEHFrameHdr()
192 ELFT::Endianness == llvm::endianness::little, ELFT::Is64Bits ? 8 : 4); in printEHFrame()
H A DELFDumper.cpp3883 unsigned Bias = ELFT::Is64Bits ? 8 : 0; in printRelRelaReloc()
3885 unsigned Width = ELFT::Is64Bits ? 16 : 8; in printRelRelaReloc()
3926 if (ELFT::Is64Bits) in printRelocHeaderFields()
4048 if (ELFT::Is64Bits) in printRelr()
4075 OS << format_hex_no_prefix(Where, ELFT::Is64Bits ? 16 : 8); in printRelr()
4090 << format_hex_no_prefix(Entry, ELFT::Is64Bits ? 16 : 8) << ' '; in printRelr()
4102 OS.indent(ELFT::Is64Bits ? 24 : 16); in printRelr()
4172 unsigned Bias = ELFT::Is64Bits ? 0 : 8; in printSectionHeaders()
4204 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8)); in printSectionHeaders()
4246 if (ELFT::Is64Bits) { in printSymtabMessage()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp417 Error Err = object::decodeCrel<ELFT::Is64Bits>( in decodeCrel()
462 DataExtractor Data(Content, isLE(), ELFT::Is64Bits ? 8 : 4); in android_relas()
794 EF.isLE(), ELFT::Is64Bits); in decodeBBAddrMapImpl()
806 DataExtractor Data(Content, EF.isLE(), ELFT::Is64Bits ? 8 : 4); in decodeBBAddrMapImpl()
H A DMachOObjectFile.cpp1255 bool Is64Bits, uint32_t UniversalCputype, in create() argument
1260 std::move(Object), IsLittleEndian, Is64Bits, Err, UniversalCputype, in create()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp240 ELFT::Is64Bits ? "0x%016" PRIx64 "\n" : "0x%08" PRIx64 "\n"; in printDynamicSection()
331 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
H A Dllvm-objdump.cpp641 bool Is64Bits) { in printRelocation() argument
642 StringRef Fmt = Is64Bits ? "%016" PRIx64 ": " : "%08" PRIx64 ": "; in printRelocation()
648 OS << (Is64Bits || !LeadingAddr ? "\t\t" : "\t\t\t"); in printRelocation()
1744 bool Is64Bits = Obj.getBytesInAddress() > 4; in disassembleObject() local
2154 OS << format(Is64Bits ? "%016" PRIx64 " " : "%08" PRIx64 " ", in disassembleObject()
2583 SectionAddr + RelOffset + VMAAdjustment, Is64Bits); in disassembleObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h57 static const bool Is64Bits = Is64; member
381 using intX_t = std::conditional_t<ELFT::Is64Bits, int64_t, int32_t>;
382 using uintX_t = std::conditional_t<ELFT::Is64Bits, uint64_t, uint32_t>;
H A DELFObjectFile.h508 ELFT::Is64Bits); in classof()
1047 Error Err = decodeCrel<ELFT::Is64Bits>( in section_rel_begin()
1219 ELFT::Is64Bits), in ELFObjectFile()
1283 return ELFT::Is64Bits ? 8 : 4; in getBytesInAddress()
H A DMachO.h421 create(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits,
846 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits,
H A DXCOFFObjectFile.h940 create(const uint8_t *Ptr, uint64_t &Size, bool Is64Bits = false);
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp104 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
124 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size(); in visit()
129 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
559 bool Is64Bits) in CompressedSection() argument
567 size_t ChdrSize = Is64Bits ? sizeof(object::Elf_Chdr_Impl<object::ELF64LE>) in CompressedSection()
987 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations); in visit()
1935 Obj.Is64Bits = Ehdr.e_ident[EI_CLASS] == ELFCLASS64; in build()
2026 Ehdr.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
H A DELFObject.h674 DebugCompressionType CompressionType, bool Is64Bits);
1187 bool Is64Bits; variable
H A DELFObjcopy.cpp248 CompressedSection(*S, *CType, Is64Bits)); in compressOrDecompressSections()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp532 bool Is64Bits = getSubtarget().is64Bit(); in LowerTlsAddr() local
576 .addReg(Is64Bits ? X86::RIP : X86::EBX) in LowerTlsAddr()
582 MCInstBuilder(Is64Bits ? X86::CALL64m : X86::CALL32m) in LowerTlsAddr()
588 } else if (Is64Bits) { in LowerTlsAddr()
884 bool Is64Bits = Subtarget->is64Bit(); in LowerFENTRY_CALL() local
890 MCInstBuilder(Is64Bits ? X86::CALL64pcrel32 : X86::CALLpcrel32) in LowerFENTRY_CALL()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp179 if (!ELFT::Is64Bits) in create()
237 if (ELFT::Is64Bits) in create()
1334 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection()
3260 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection()
3264 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection()
3473 ELFT::Is64Bits ? 8 : 4); in readPubNamesAndTypes()
4467 eHdr->e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
H A DOutputSections.cpp682 Elf_Crel<ELFT::Is64Bits> &out, InputSection *relSec, in relToCrel()
H A DInputSection.cpp163 RelocsCrel<ELFT::Is64Bits> entries(sec->content_); in relsOrRelas()
H A DInputFiles.cpp969 desc = desc.slice(alignTo<(ELFT::Is64Bits ? 8 : 4)>(size)); in parseGnuPropertyNote()
H A DRelocations.cpp1503 if constexpr (ELFT::Is64Bits || RelTy::IsCrel) { in scanOne()
H A DWriter.cpp2797 (!ELFT::Is64Bits && os->addr + os->size > uint64_t(UINT32_MAX) + 1)) in checkSections()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp59 ElfHeader.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in initELFHeader()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp470 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeELFHeader()
1355 if (!ELFT::Is64Bits && E > UINT32_MAX) in writeSectionContent()