| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFTypes.h | 36 template <bool Is64> struct Elf_Crel_Impl; 50 template <endianness E, bool Is64> struct ELFType { 57 static const bool Is64Bits = Is64; 59 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; 60 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; 61 using Shdr = Elf_Shdr_Impl<ELFType<E, Is64>>; 62 using Sym = Elf_Sym_Impl<ELFType<E, Is64>>; 63 using Dyn = Elf_Dyn_Impl<ELFType<E, Is64>>; 64 using Phdr = Elf_Phdr_Impl<ELFType<E, Is64>>; 65 using Rel = Elf_Rel_Impl<ELFType<E, Is64>, false>; [all …]
|
| H A D | ELF.h | 215 template <bool Is64> 220 function_ref<void(Elf_Crel_Impl<Is64>)> EntryHandler) { in decodeCrel() 227 using uint = typename Elf_Crel_Impl<Is64>::uint; in decodeCrel()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | XCOFFYAML.cpp | 258 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 D | ELFYAML.cpp | 1339 const bool Is64 = static_cast<ELFYAML::Object *>(Ctx)->Header.Class == in input() local 1348 const int64_t MinVal = Is64 ? INT64_MIN : INT32_MIN; in input() 1356 const uint64_t MaxVal = Is64 ? UINT64_MAX : UINT32_MAX; in input()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
| H A D | CommonConfig.h | 35 MachineInfo(uint16_t EM, uint8_t ABI, bool Is64, bool IsLittle) in MachineInfo() 36 : EMachine(EM), OSABI(ABI), Is64Bit(Is64), IsLittleEndian(IsLittle) {} in MachineInfo() 38 MachineInfo(uint16_t EM, bool Is64, bool IsLittle) in MachineInfo() 39 : MachineInfo(EM, ELF::ELFOSABI_NONE, Is64, IsLittle) {} in MachineInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCELFExtras.h | 24 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/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmTypeCheck.cpp | 48 bool Is64) in WebAssemblyAsmTypeCheck() argument 49 : Parser(Parser), MII(MII), Is64(Is64) {} in WebAssemblyAsmTypeCheck() 271 Type = Is64 ? wasm::ValType::I64 : wasm::ValType::I32; in getGlobal() 504 Type = Is64 ? wasm::ValType::I64 : wasm::ValType::I32; in typeCheck() 512 Type = Is64 ? wasm::ValType::I64 : wasm::ValType::I32; in typeCheck() 520 Type = Is64 ? wasm::ValType::I64 : wasm::ValType::I32; in typeCheck()
|
| H A D | WebAssemblyAsmTypeCheck.h | 45 bool Is64; variable 89 bool Is64);
|
| H A D | WebAssemblyAsmParser.cpp | 214 bool Is64) { in getOrCreateFunctionTableSymbol() argument 221 Sym->setFunctionTable(Is64); in getOrCreateFunctionTableSymbol() 269 bool Is64; member in __anon9b7df71c0111::WebAssemblyAsmParser 279 Lexer(Parser.getLexer()), Is64(STI.getTargetTriple().isArch64Bit()), in WebAssemblyAsmParser() 280 TC(Parser, MII, Is64), SkipTypeCheck(Options.MCNoTypeCheck) { in WebAssemblyAsmParser() 306 getContext(), "__indirect_function_table", Is64); in Initialize() 558 getOrCreateFunctionTableSymbol(getContext(), Tok.getString(), Is64); in parseFunctionTableOperand() 984 if (Is64) { in parseDirective() 1169 if (Is64) { in matchAndEmitInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCAsmBackend.cpp | 230 bool Is64 = TT.isPPC64(); in createObjectTargetWriter() local 231 return createPPCELFObjectWriter(Is64, OSABI); in createObjectTargetWriter()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | COFFDump.cpp | 44 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsELFObjectWriter.cpp | 48 MipsELFObjectWriter(uint8_t OSABI, bool HasRelocationAddend, bool Is64); 152 bool HasRelocationAddend, bool Is64) in MipsELFObjectWriter() argument 153 : MCELFObjectTargetWriter(Is64, OSABI, ELF::EM_MIPS, HasRelocationAddend) {} in MipsELFObjectWriter()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 1513 template <bool Is64> struct Elf_Crel { 1514 std::conditional_t<Is64, uint64_t, uint32_t> r_offset; 1517 std::conditional_t<Is64, int64_t, int32_t> r_addend;
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFWriter.cpp | 273 PeHeaderSize = Obj.Is64 ? sizeof(pe32plus_header) : sizeof(pe32_header); in finalize() 370 if (Obj.Is64) { in writeHeaders()
|
| H A D | COFFObject.h | 104 bool Is64 = false; member
|
| H A D | COFFReader.cpp | 28 Obj.Is64 = COFFObj.is64(); in readExecutableHeaders()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | ELFObjectWriter.cpp | 801 template <bool Is64> 803 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; in encodeCrel() 804 ELF::encodeCrel<Is64>(OS, Relocs, [&](const ELFRelocationEntry &R) { in encodeCrel() 806 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 D | HexagonBitTracker.cpp | 1245 bool Is64 = DoubleRegsRegClass.contains(PReg); in getNextPhysReg() local 1246 assert(PReg == 0 || Is64 || IntRegsRegClass.contains(PReg)); in getNextPhysReg() 1260 if (!Is64) { in getNextPhysReg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 375 static unsigned getLogicalBitOpcode(unsigned Opc, bool Is64) { in getLogicalBitOpcode() argument 378 return Is64 ? AMDGPU::S_AND_B64 : AMDGPU::S_AND_B32; in getLogicalBitOpcode() 380 return Is64 ? AMDGPU::S_OR_B64 : AMDGPU::S_OR_B32; in getLogicalBitOpcode() 382 return Is64 ? AMDGPU::S_XOR_B64 : AMDGPU::S_XOR_B32; in getLogicalBitOpcode() 397 bool Is64 = Size > 32 || (DstRB->getID() == AMDGPU::VCCRegBankID && in selectG_AND_OR_XOR() local 399 I.setDesc(TII.get(getLogicalBitOpcode(I.getOpcode(), Is64))); in selectG_AND_OR_XOR() 2204 const bool Is64 = MRI->getType(VDataOut).getSizeInBits() == 64; in selectImageIntrinsic() local 2207 Is64 ? &AMDGPU::VReg_128RegClass : &AMDGPU::VReg_64RegClass); in selectImageIntrinsic() 2208 unsigned SubReg = Is64 ? AMDGPU::sub0_sub1 : AMDGPU::sub0; in selectImageIntrinsic() 3048 const bool Is64 = STI.isWave64(); in selectG_BRCOND() local [all …]
|
| H A D | MIMGInstructions.td | 1515 class MIMG_IntersectRay_Helper<bit Is64, bit IsA16, bit isDual, bit isBVH8> { 1516 int num_addrs = !if(isBVH8, 11, !if(Is64, !if(IsA16, 9, 12), !if(IsA16, 8, 11))); 1521 RegisterClass node_ptr_type = !if(Is64, VReg_64, VGPR_32); 1577 multiclass MIMG_IntersectRay<mimgopc op, string opcode, bit Is64, bit IsA16, 1579 defvar info = MIMG_IntersectRay_Helper<Is64, IsA16, isDual, isBVH8>;
|
| H A D | AMDGPULegalizerInfo.cpp | 7095 const bool Is64 = MRI.getType(NodePtr).getSizeInBits() == 64; in legalizeBVHIntersectRayIntrinsic() local 7097 const unsigned NumVAddrDwords = IsA16 ? (Is64 ? 9 : 8) : (Is64 ? 12 : 11); in legalizeBVHIntersectRayIntrinsic() 7108 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in legalizeBVHIntersectRayIntrinsic() 7115 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in legalizeBVHIntersectRayIntrinsic() 7158 if (Is64) { in legalizeBVHIntersectRayIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 340 bool Is64 = isa<object::ELF64LEObjectFile>(Obj) || in handleCompressedSection() local 342 Expected<Decompressor> Dec = Decompressor::create(Name, Contents, IsLE, Is64); in handleCompressedSection()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 4599 constexpr bool Is64 = ELFT::Is64Bits; in printSectionDetails() local 4601 {Is64 ? "Address" : "Addr", 23}, in printSectionDetails() 4602 {"Off", Is64 ? 40 : 32}, in printSectionDetails() 4603 {"Size", Is64 ? 47 : 39}, in printSectionDetails() 4604 {"ES", Is64 ? 54 : 46}, in printSectionDetails() 4605 {"Lk", Is64 ? 59 : 51}, in printSectionDetails() 4606 {"Inf", Is64 ? 62 : 54}, in printSectionDetails() 4607 {"Al", Is64 ? 66 : 57}}); in printSectionDetails() 4618 const unsigned AddrSize = Is64 ? 16 : 8; in printSectionDetails() 4633 {to_string(format_hex_no_prefix(S.sh_offset, 6)), Is64 ? 39 : 32}, in printSectionDetails() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 108 template <bool Is64> 110 using uint = std::conditional_t<Is64, uint64_t, uint32_t>; in encodeCrel() 113 ELF::encodeCrel<Is64>(OS, Relocations, [&](const Relocation &R) { in encodeCrel() 115 return ELF::Elf_Crel<Is64>{static_cast<uint>(R.Offset), CurSymIdx, R.Type, in encodeCrel()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.cpp | 3162 bool Is64 = Subtarget.isPPC64(); in expandPostRAPseudo() local 3165 Offset = Is64 ? PPC_HWCAP_OFFSET_LE64 : PPC_HWCAP_OFFSET_LE32; in expandPostRAPseudo() 3167 Offset = Is64 ? PPC_HWCAP_OFFSET_BE64 : PPC_HWCAP_OFFSET_BE32; in expandPostRAPseudo() 3170 Offset = Is64 ? PPC_HWCAP2_OFFSET_LE64 : PPC_HWCAP2_OFFSET_LE32; in expandPostRAPseudo() 3172 Offset = Is64 ? PPC_HWCAP2_OFFSET_BE64 : PPC_HWCAP2_OFFSET_BE32; in expandPostRAPseudo() 3175 Offset = Is64 ? PPC_CPUID_OFFSET_LE64 : PPC_CPUID_OFFSET_LE32; in expandPostRAPseudo() 3177 Offset = Is64 ? PPC_CPUID_OFFSET_BE64 : PPC_CPUID_OFFSET_BE32; in expandPostRAPseudo()
|