Home
last modified time | relevance | path

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

12345

/openbsd/src/gnu/llvm/llvm/lib/Object/
DXCOFFObjectFile.cpp128 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in getSymbolAuxType()
149 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in toSection32()
158 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in toSection64()
174 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in fileHeader32()
179 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in fileHeader64()
184 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in auxiliaryHeader32()
189 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in auxiliaryHeader64()
199 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in sectionHeaderTable32()
205 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in sectionHeaderTable64()
328 if (is64Bit()) in getSymbolType()
[all …]
DMachOObjectFile.cpp101 bool Is64 = O.is64Bit(); in getSectionPtr()
181 if (O.is64Bit()) { in getSectionFlags()
206 unsigned HeaderSize = Obj.is64Bit() ? sizeof(MachO::mach_header_64) in getFirstLoadCommandInfo()
217 unsigned HeaderSize = Obj.is64Bit() ? sizeof(MachO::mach_header_64) in getNextLoadCommandInfo()
428 if (Obj.is64Bit()) { in checkSymtabCommand()
505 if (Obj.is64Bit()) { in checkDysymtabCommand()
1269 if (is64Bit()) { in MachOObjectFile()
1317 if (is64Bit()) { in MachOObjectFile()
1695 if (is64Bit()) { in checkSymbolTable()
1711 if (is64Bit()) { in checkSymbolTable()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
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()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86Subtarget.h196 return hasCX16() && is64Bit(); in canUseCMPXCHG16B()
200 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV()
229 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF()
268 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
273 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH()
278 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
298 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
299 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
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()
DX86TargetMachine.cpp169 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local
180 if (is64Bit) in getEffectiveRelocModel()
184 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel()
194 if (is64Bit) in getEffectiveRelocModel()
202 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
/openbsd/src/gnu/llvm/llvm/lib/MC/
DXCOFFObjectWriter.cpp250 TargetObjectWriter->is64Bit() ? UINT64_MAX : UINT32_MAX;
302 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon7b6597f50111::XCOFFObjectWriter
373 return HasVisibility && !is64Bit() ? XCOFF::AuxFileHeaderSizeShort : 0; in auxiliaryHeaderSize()
381 is64Bit() ? W.write<uint64_t>(Word) : W.write<uint32_t>(Word); in writeWord()
746 return SymbolName.size() > XCOFF::NameSize || is64Bit(); in nameShouldBeInStringTable()
767 if (is64Bit()) { in writeSymbolEntry()
783 W.write<uint32_t>(is64Bit() ? Lo_32(SectionOrLength) : SectionOrLength); in writeSymbolAuxCsectEntry()
788 if (is64Bit()) { in writeSymbolAuxCsectEntry()
801 if (!is64Bit()) in writeSymbolAuxDwarfEntry()
804 if (is64Bit()) { in writeSymbolAuxDwarfEntry()
[all …]
DMachObjectWriter.cpp150 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
159 if (is64Bit()) in writeHeader()
162 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
187 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
189 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
191 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
195 if (is64Bit()) { in writeSegmentLoadCommand()
238 if (is64Bit()) { in writeSection()
253 if (is64Bit()) in writeSection()
257 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
[all …]
DELFObjectWriter.cpp142 bool is64Bit() const;
158 if (is64Bit()) in WriteWord()
385 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter
386 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
406 W.OS << char(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS] in writeHeader()
436 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader()
443 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader()
636 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
639 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable()
642 SymtabSection->setAlignment(is64Bit() ? Align(8) : Align(4)); in computeSymbolTable()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/
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()
DPPCMCAsmInfo.h26 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
33 explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
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()
/openbsd/src/gnu/llvm/llvm/tools/llvm-readobj/
DXCOFFDumper.cpp116 if (Obj.is64Bit()) { in printFileHeaders()
138 if (Obj.is64Bit()) in printAuxiliaryHeader()
145 if (Obj.is64Bit()) in printSectionHeaders()
193 if (Obj.is64Bit()) { in printLoaderSectionHeader()
266 if (Obj.is64Bit()) in printLoaderSectionSymbols()
337 Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntry()
358 W.startLine() << center_justify("Vaddr", Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntriesHelper()
396 if (Obj.is64Bit()) in printLoaderSectionRelocationEntries()
443 if (Obj.is64Bit()) in printExceptionSection()
450 if (Obj.is64Bit()) in printRelocations()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp39 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
45 if (!is64Bit) in computeDataLayout()
53 if (is64Bit) in computeDataLayout()
58 if (is64Bit) in computeDataLayout()
113 is64Bit(is64bit) { in SparcTargetMachine()
144 this->is64Bit); in getSubtargetImpl()
DSparcSubtarget.cpp69 bool is64Bit) in SparcSubtarget() argument
71 Is64Bit(is64Bit), InstrInfo(initializeSubtargetDependencies(CPU, FS)), in SparcSubtarget()
76 if (is64Bit()) { in getAdjustedFrameSize()
DSparcSubtarget.h107 bool is64Bit() const { return Is64Bit; } in is64Bit() function
112 return is64Bit() ? 2047 : 0; in getStackPointerBias()
DSparcRegisterInfo.cpp67 if (!Subtarget.is64Bit()) in getReservedRegs()
82 if (ReserveAppRegisters || !Subtarget.is64Bit()) in getReservedRegs()
108 return Subtarget.is64Bit() ? &SP::I64RegsRegClass : &SP::IntRegsRegClass; in getPointerRegClass()
DSparcISelLowering.cpp238 return CCInfo.CheckReturn(Outs, Subtarget->is64Bit() ? RetCC_Sparc64 in CanLowerReturn()
248 if (Subtarget->is64Bit()) in LowerReturn()
419 if (Subtarget->is64Bit()) in LowerFormalArguments()
735 if (Subtarget->is64Bit()) in LowerCall()
776 unsigned StackOffsetLimit = Subtarget->is64Bit() ? 48 : 0; in IsEligibleForTailCallOptimization()
1561 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1638 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1698 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1741 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1748 if (!Subtarget->is64Bit()) { in SparcTargetLowering()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/MC/
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
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
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()
/openbsd/src/gnu/llvm/llvm/include/llvm/Object/
DTapiFile.h53 bool is64Bit() { return MachO::is64Bit(Arch); } in is64Bit() function
/openbsd/src/gnu/llvm/llvm/tools/obj2yaml/
Dxcoff2yaml.cpp46 YAMLObj.Header.SymbolTableOffset = Obj.is64Bit() in dumpHeader()
50 Obj.is64Bit() ? Obj.getNumberOfSymbolTableEntries64() in dumpHeader()
57 if (Obj.is64Bit()) in dumpSections()
/openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp143 return TM.is64Bit() ? NVPTX::VRFrame64 : NVPTX::VRFrame32; in getFrameRegister()
150 return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; in getFrameLocalRegister()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVCodeGenPrepare.cpp62 if (!ST->is64Bit()) in visitZExtInst()
109 if (!ST->is64Bit()) in visitAnd()
/openbsd/src/gnu/llvm/llvm/lib/ObjectYAML/
DMachOEmitter.cpp34 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || in MachOWriter()
68 bool is64Bit; member in __anon60a555470111::MachOWriter
103 is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader()
302 uint64_t segOff = is64Bit ? LC.Data.segment_command_64_data.fileoff in writeSectionData()
355 uint64_t segSize = is64Bit ? LC.Data.segment_command_64_data.filesize in writeSectionData()
584 if (is64Bit) in writeNameList()
726 bool is64Bit = FatFile.Header.magic == MachO::FAT_MAGIC_64; in writeFatArchs() local
728 if (is64Bit) in writeFatArchs()

12345