Home
last modified time | relevance | path

Searched refs:is64Bit (Results 1 – 25 of 123) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Object/
H A DXCOFFObjectFile.cpp297 if (is64Bit()) in getSymbolType()
342 if (is64Bit()) in getSectionAddress()
351 if (is64Bit()) in getSectionIndex()
360 if (is64Bit()) in getSectionSize()
372 if (is64Bit()) in getSectionContents()
399 if (is64Bit()) { in getLoaderSectionAddress()
462 if (is64Bit()) { in section_rel_begin()
513 if (is64Bit()) in moveRelocationNext()
573 if (is64Bit()) in getRelocationType()
672 if (is64Bit()) in isRelocatableObject()
[all …]
H A DMachOObjectFile.cpp181 if (O.is64Bit()) { in getSectionFlags()
1269 if (is64Bit()) { in MachOObjectFile()
1690 if (is64Bit()) { in checkSymbolTable()
1784 if (is64Bit()) { in getNValue()
1926 if (is64Bit()) in getSectionAddress()
1943 if (is64Bit()) { in getSectionSize()
1974 if (is64Bit()) { in getSectionContents()
1989 if (is64Bit()) { in getSectionAlignment()
2118 if (is64Bit()) in isSectionStripped()
2133 if (is64Bit()) { in section_rel_end()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCAsmInfo.cpp40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local
41 if (is64Bit) in X86MCAsmInfoDarwin()
48 if (!is64Bit) in X86MCAsmInfoDarwin()
83 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local
89 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo()
92 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86Subtarget.cpp83 if (is64Bit()) { in classifyLocalReference()
166 if (is64Bit()) { in classifyGlobalReference()
219 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
227 is64Bit()) in classifyGlobalFunctionReference()
230 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
235 if (is64Bit()) { in classifyGlobalFunctionReference()
328 else if (is64Bit()) in X86Subtarget()
H A DX86Subtarget.h194 return hasCX16() && is64Bit(); in canUseCMPXCHG16B()
198 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV()
226 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF()
261 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
266 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
285 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
286 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
H A DX86TargetMachine.cpp167 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local
178 if (is64Bit) in getEffectiveRelocModel()
182 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel()
192 if (is64Bit) in getEffectiveRelocModel()
200 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp30 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
36 if (!is64Bit) in computeDataLayout()
44 if (is64Bit) in computeDataLayout()
49 if (is64Bit) in computeDataLayout()
101 is64Bit(is64bit) { in SparcTargetMachine()
132 this->is64Bit); in getSubtargetImpl()
H A DSparcSubtarget.cpp69 bool is64Bit) in SparcSubtarget() argument
71 Is64Bit(is64Bit), InstrInfo(initializeSubtargetDependencies(CPU, FS)), in SparcSubtarget()
76 if (is64Bit()) { in getAdjustedFrameSize()
H A DSparcSubtarget.h107 bool is64Bit() const { return Is64Bit; } in is64Bit() function
112 return is64Bit() ? 2047 : 0; in getStackPointerBias()
H A DSparcRegisterInfo.cpp67 if (!Subtarget.is64Bit()) in getReservedRegs()
82 if (ReserveAppRegisters || !Subtarget.is64Bit()) in getReservedRegs()
108 return Subtarget.is64Bit() ? &SP::I64RegsRegClass : &SP::IntRegsRegClass; in getPointerRegClass()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCAsmInfo.cpp21 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
26 if (is64Bit) { in PPCELFMCAsmInfo()
52 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
H A DPPCMCAsmInfo.h26 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
33 explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
H A DPPCELFObjectWriter.cpp289 if (is64Bit()) in getRelocType()
304 if (is64Bit()) in getRelocType()
404 if (is64Bit()) in getRelocType()
410 if (is64Bit()) in getRelocType()
416 if (is64Bit()) in getRelocType()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMachObjectWriter.cpp159 if (is64Bit()) in writeHeader()
187 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
195 if (is64Bit()) { in writeSegmentLoadCommand()
238 if (is64Bit()) { in writeSection()
254 if (is64Bit()) in writeSection()
403 if (is64Bit()) in writeNlist()
424 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument
429 return alignTo(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
759 unsigned Log2Size = is64Bit() ? 3 : 2; in populateAddrSigSection()
802 uint64_t LoadCommandsSize = is64Bit() ? in writeObject()
[all …]
H A DXCOFFObjectWriter.cpp216 TargetObjectWriter->is64Bit() ? UINT64_MAX : UINT32_MAX;
265 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anondfe4bda90111::XCOFFObjectWriter
663 return SymbolName.size() > XCOFF::NameSize || is64Bit(); in nameShouldBeInStringTable()
684 if (is64Bit()) { in writeSymbolEntry()
707 if (is64Bit()) { in writeSymbolAuxCsectEntry()
720 if (!is64Bit()) in writeSymbolAuxDwarfEntry()
723 if (is64Bit()) { in writeSymbolAuxDwarfEntry()
770 if (is64Bit()) { in writeFileHeader()
818 if (is64Bit()) { in writeSectionHeaderTable()
955 Sec->RelocationCount * (is64Bit() in finalizeSectionInfo()
[all …]
H A DELFObjectWriter.cpp142 bool is64Bit() const;
158 if (is64Bit()) in WriteWord()
382 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter
383 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
433 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader()
440 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader()
616 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
828 if (is64Bit()) { in maybeWriteCompression()
881 Section.setAlignment(is64Bit() ? Align(8) : Align(4)); in writeSectionData()
919 if (is64Bit()) { in writeRelocations()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp97 if (Obj.is64Bit()) { in printFileHeaders()
119 if (Obj.is64Bit()) in printAuxiliaryHeader()
126 if (Obj.is64Bit()) in printSectionHeaders()
133 if (Obj.is64Bit()) in printRelocations()
234 if (Obj.is64Bit()) { in printFileAuxEnt()
279 if (Obj.is64Bit()) { in printCsectAuxEnt()
369 if (Obj.is64Bit()) in printSectAuxEntForDWARF()
508 if (Obj.is64Bit() && in printSymbol()
590 if (Obj.is64Bit()) { in printSymbol()
608 if (Obj.is64Bit()) { in printSymbol()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h63 bool is64Bit() const { return Is64Bit; } in is64Bit() function
132 StringTable(TargetObjectWriter->is64Bit() ? StringTableBuilder::MachO64 in MachObjectWriter()
171 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp81 return is64Bit() ? wasm::R_WASM_TABLE_INDEX_REL_SLEB64 in getRelocType()
84 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_TLS_SLEB64 in getRelocType()
88 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_REL_SLEB64 in getRelocType()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DTapiFile.h53 bool is64Bit() { return MachO::is64Bit(Arch); } in is64Bit() function
/llvm-project-15.0.7/llvm/lib/Support/
H A DTargetParser.cpp263 bool is64Bit() const { return (Features & FK_64BIT); } in is64Bit() function
275 return RISCVCPUInfo[static_cast<unsigned>(Kind)].is64Bit() == IsRV64; in checkCPUKind()
281 return RISCVCPUInfo[static_cast<unsigned>(Kind)].is64Bit() == IsRV64; in checkTuneCPUKind()
314 if (C.Kind != CK_INVALID && IsRV64 == C.is64Bit()) in fillValidCPUArchList()
321 if (C.Kind != CK_INVALID && IsRV64 == C.is64Bit()) in fillValidTuneCPUArchList()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dxcoff2yaml.cpp46 YAMLObj.Header.SymbolTableOffset = Obj.is64Bit() in dumpHeader()
50 Obj.is64Bit() ? Obj.getNumberOfSymbolTableEntries64() in dumpHeader()
57 if (Obj.is64Bit()) in dumpSections()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.cpp141 return TM.is64Bit() ? NVPTX::VRFrame64 : NVPTX::VRFrame32; in getFrameRegister()
148 return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; in getFrameLocalRegister()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp33 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || in MachOWriter()
64 bool is64Bit; member in __anonfd710e7b0111::MachOWriter
99 is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader()
298 uint64_t segOff = is64Bit ? LC.Data.segment_command_64_data.fileoff in writeSectionData()
346 uint64_t segSize = is64Bit ? LC.Data.segment_command_64_data.filesize in writeSectionData()
557 if (is64Bit) in writeNameList()
679 bool is64Bit = FatFile.Header.magic == MachO::FAT_MAGIC_64; in writeFatArchs() local
681 if (is64Bit) in writeFatArchs()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp60 if (!ST->is64Bit()) in optimizeZExt()
107 if (!ST->is64Bit()) in optimizeAndExt()

12345