Home
last modified time | relevance | path

Searched refs:Is64 (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h35 template <bool Is64> struct Elf_Crel_Impl;
49 template <endianness E, bool Is64> struct ELFType {
56 static const bool Is64Bits = Is64;
58 using uint = std::conditional_t<Is64, uint64_t, uint32_t>;
59 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>;
60 using Shdr = Elf_Shdr_Impl<ELFType<E, Is64>>;
61 using Sym = Elf_Sym_Impl<ELFType<E, Is64>>;
62 using Dyn = Elf_Dyn_Impl<ELFType<E, Is64>>;
63 using Phdr = Elf_Phdr_Impl<ELFType<E, Is64>>;
64 using Rel = Elf_Rel_Impl<ELFType<E, Is64>, false>;
[all …]
H A DELF.h214 template <bool Is64>
219 function_ref<void(Elf_Crel_Impl<Is64>)> EntryHandler) { in decodeCrel()
226 using uint = typename Elf_Crel_Impl<Is64>::uint; in decodeCrel()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFYAML.cpp258 static void auxSymMapping(IO &IO, XCOFFYAML::CsectAuxEnt &AuxSym, bool Is64) { in auxSymMapping() argument
265 if (Is64) { in auxSymMapping()
280 static void auxSymMapping(IO &IO, XCOFFYAML::BlockAuxEnt &AuxSym, bool Is64) { in auxSymMapping() argument
281 if (Is64) { in auxSymMapping()
290 bool Is64) { in auxSymMapping() argument
291 if (!Is64) in auxSymMapping()
324 const bool Is64 = in mapping() local
334 if (!Is64) { in mapping()
344 auxSymMapping(IO, *cast<XCOFFYAML::FunctionAuxEnt>(AuxSym.get()), Is64); in mapping()
348 auxSymMapping(IO, *cast<XCOFFYAML::BlockAuxEnt>(AuxSym.get()), Is64); in mapping()
[all …]
H A DELFYAML.cpp1307 const bool Is64 = static_cast<ELFYAML::Object *>(Ctx)->Header.Class == in input() local
1316 const int64_t MinVal = Is64 ? INT64_MIN : INT32_MIN; in input()
1324 const uint64_t MaxVal = Is64 ? UINT64_MAX : UINT32_MAX; in input()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h34 MachineInfo(uint16_t EM, uint8_t ABI, bool Is64, bool IsLittle) in MachineInfo()
35 : EMachine(EM), OSABI(ABI), Is64Bit(Is64), IsLittleEndian(IsLittle) {} in MachineInfo()
37 MachineInfo(uint16_t EM, bool Is64, bool IsLittle) in MachineInfo()
38 : MachineInfo(EM, ELF::ELFOSABI_NONE, Is64, IsLittle) {} in MachineInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFExtras.h24 template <bool Is64, class RelocsTy, class F>
26 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; in encodeCrel()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp224 bool Is64 = TT.isPPC64(); in createObjectTargetWriter() local
225 return createPPCELFObjectWriter(Is64, OSABI); in createObjectTargetWriter()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp44 Is64 = !Obj.getPE32Header(); in COFFDumper()
52 return format_hex_no_prefix(V, Is64 ? 16 : 8); in formatAddr()
56 return Is64 ? 0 : static_cast<const pe32_header *>(Hdr)->BaseOfData; in getBaseOfData()
60 bool Is64; member in __anon2be31a260111::COFFDumper
121 if (!Is64) in printPEHeader()
H A DMachODump.cpp7774 CompactUnwindEntry(StringRef Contents, unsigned Offset, bool Is64) in CompactUnwindEntry()
7776 if (Is64) in CompactUnwindEntry()
7879 bool Is64 = Obj->is64Bit(); in printMachOCompactUnwindSection() local
7880 uint32_t PointerSize = Is64 ? sizeof(uint64_t) : sizeof(uint32_t); in printMachOCompactUnwindSection()
7889 CompactUnwindEntry Entry(Contents, Offset, Is64); in printMachOCompactUnwindSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp59 MipsELFObjectWriter(uint8_t OSABI, bool HasRelocationAddend, bool Is64);
214 bool HasRelocationAddend, bool Is64) in MipsELFObjectWriter() argument
215 : MCELFObjectTargetWriter(Is64, OSABI, ELF::EM_MIPS, HasRelocationAddend) {} in MipsELFObjectWriter()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1435 template <bool Is64> struct Elf_Crel {
1436 std::conditional_t<Is64, uint64_t, uint32_t> r_offset;
1439 std::conditional_t<Is64, int64_t, int32_t> r_addend;
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp195 PeHeaderSize = Obj.Is64 ? sizeof(pe32plus_header) : sizeof(pe32_header); in finalize()
292 if (Obj.Is64) { in writeHeaders()
H A DCOFFObject.h103 bool Is64 = false; member
H A DCOFFReader.cpp28 Obj.Is64 = COFFObj.is64(); in readExecutableHeaders()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp277 static unsigned getLogicalBitOpcode(unsigned Opc, bool Is64) { in getLogicalBitOpcode() argument
280 return Is64 ? AMDGPU::S_AND_B64 : AMDGPU::S_AND_B32; in getLogicalBitOpcode()
282 return Is64 ? AMDGPU::S_OR_B64 : AMDGPU::S_OR_B32; in getLogicalBitOpcode()
284 return Is64 ? AMDGPU::S_XOR_B64 : AMDGPU::S_XOR_B32; in getLogicalBitOpcode()
299 bool Is64 = Size > 32 || (DstRB->getID() == AMDGPU::VCCRegBankID && in selectG_AND_OR_XOR() local
301 I.setDesc(TII.get(getLogicalBitOpcode(I.getOpcode(), Is64))); in selectG_AND_OR_XOR()
1406 const bool Is64 = Size == 64; in selectBallot() local
1411 if (Size != STI.getWavefrontSize() && (!Is64 || !IsWave32)) in selectBallot()
1437 unsigned Opcode = Is64 ? AMDGPU::S_MOV_B64 : AMDGPU::S_MOV_B32; in selectBallot()
1975 const bool Is64 = MRI->getType(VDataOut).getSizeInBits() == 64; in selectImageIntrinsic() local
[all …]
H A DMIMGInstructions.td1522 class MIMG_IntersectRay_Helper<bit Is64, bit IsA16> {
1523 int num_addrs = !if(Is64, !if(IsA16, 9, 12), !if(IsA16, 8, 11));
1528 RegisterClass node_ptr_type = !if(Is64, VReg_64, VGPR_32);
1573 multiclass MIMG_IntersectRay<mimgopc op, string opcode, bit Is64, bit IsA16> {
1574 defvar info = MIMG_IntersectRay_Helper<Is64, IsA16>;
H A DAMDGPULegalizerInfo.cpp6956 const bool Is64 = MRI.getType(NodePtr).getSizeInBits() == 64; in legalizeBVHIntrinsic() local
6958 const unsigned NumVAddrDwords = IsA16 ? (Is64 ? 9 : 8) : (Is64 ? 12 : 11); in legalizeBVHIntrinsic()
6969 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in legalizeBVHIntrinsic()
6976 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in legalizeBVHIntrinsic()
7019 if (Is64) { in legalizeBVHIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp796 template <bool Is64>
798 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; in encodeCrel()
799 ELF::encodeCrel<Is64>(OS, Relocs, [&](const ELFRelocationEntry &R) { in encodeCrel()
801 return ELF::Elf_Crel<Is64>{static_cast<uint>(R.Offset), SymIdx, R.Type, in encodeCrel()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp1253 bool Is64 = DoubleRegsRegClass.contains(PReg); in getNextPhysReg() local
1254 assert(PReg == 0 || Is64 || IntRegsRegClass.contains(PReg)); in getNextPhysReg()
1268 if (!Is64) { in getNextPhysReg()
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp343 bool Is64 = isa<object::ELF64LEObjectFile>(Obj) || in handleCompressedSection() local
345 Expected<Decompressor> Dec = Decompressor::create(Name, Contents, IsLE, Is64); in handleCompressedSection()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp4534 constexpr bool Is64 = ELFT::Is64Bits; in printSectionDetails() local
4536 {Is64 ? "Address" : "Addr", 23}, in printSectionDetails()
4537 {"Off", Is64 ? 40 : 32}, in printSectionDetails()
4538 {"Size", Is64 ? 47 : 39}, in printSectionDetails()
4539 {"ES", Is64 ? 54 : 46}, in printSectionDetails()
4540 {"Lk", Is64 ? 59 : 51}, in printSectionDetails()
4541 {"Inf", Is64 ? 62 : 54}, in printSectionDetails()
4542 {"Al", Is64 ? 66 : 57}}); in printSectionDetails()
4553 const unsigned AddrSize = Is64 ? 16 : 8; in printSectionDetails()
4568 {to_string(format_hex_no_prefix(S.sh_offset, 6)), Is64 ? 39 : 32}, in printSectionDetails()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp3131 bool Is64 = Subtarget.isPPC64(); in expandPostRAPseudo() local
3134 Offset = Is64 ? PPC_HWCAP_OFFSET_LE64 : PPC_HWCAP_OFFSET_LE32; in expandPostRAPseudo()
3136 Offset = Is64 ? PPC_HWCAP_OFFSET_BE64 : PPC_HWCAP_OFFSET_BE32; in expandPostRAPseudo()
3139 Offset = Is64 ? PPC_HWCAP2_OFFSET_LE64 : PPC_HWCAP2_OFFSET_LE32; in expandPostRAPseudo()
3141 Offset = Is64 ? PPC_HWCAP2_OFFSET_BE64 : PPC_HWCAP2_OFFSET_BE32; in expandPostRAPseudo()
3144 Offset = Is64 ? PPC_CPUID_OFFSET_LE64 : PPC_CPUID_OFFSET_LE32; in expandPostRAPseudo()
3146 Offset = Is64 ? PPC_CPUID_OFFSET_BE64 : PPC_CPUID_OFFSET_BE32; in expandPostRAPseudo()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp111 template <bool Is64>
113 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; in encodeCrel()
116 ELF::encodeCrel<Is64>(OS, Relocations, [&](const Relocation &R) { in encodeCrel()
118 return ELF::Elf_Crel<Is64>{static_cast<uint>(R.Offset), CurSymIdx, R.Type, in encodeCrel()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp101 bool Is64 = O.is64Bit(); in getSectionPtr() local
102 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr()
104 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp3140 bool Is64 = X86MCRegisterClasses[X86::GR64RegClassID].contains(BaseReg) || in ParseMemOperand() local
3143 if (Is64) { in ParseMemOperand()

12