Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp21 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) { in PPCMCAsmInfoDarwin() argument
22 if (is64Bit) { in PPCMCAsmInfoDarwin()
30 if (!is64Bit) in PPCMCAsmInfoDarwin()
47 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
52 if (is64Bit) { in PPCELFMCAsmInfo()
77 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
DPPCMCAsmInfo.h27 explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple &);
34 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
DPPCELFObjectWriter.cpp238 if (is64Bit()) in GetRelocType()
253 if (is64Bit()) in GetRelocType()
352 if (is64Bit()) in GetRelocType()
358 if (is64Bit()) in GetRelocType()
364 if (is64Bit()) in GetRelocType()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp114 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo() local
118 if (is64Bit) in createX86MCAsmInfo()
138 int stackGrowth = is64Bit ? -8 : -4; in createX86MCAsmInfo()
141 unsigned StackPtr = is64Bit ? X86::RSP : X86::ESP; in createX86MCAsmInfo()
147 unsigned InstPtr = is64Bit ? X86::RIP : X86::EIP; in createX86MCAsmInfo()
160 bool is64Bit = TT.getArch() == Triple::x86_64; in createX86MCCodeGenInfo() local
167 if (is64Bit) in createX86MCCodeGenInfo()
171 } else if (TT.isOSWindows() && is64Bit) in createX86MCCodeGenInfo()
182 if (is64Bit) in createX86MCCodeGenInfo()
190 if (RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in createX86MCCodeGenInfo()
[all …]
DX86MCAsmInfo.cpp45 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local
46 if (is64Bit) in X86MCAsmInfoDarwin()
53 if (!is64Bit) in X86MCAsmInfoDarwin()
90 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local
96 PointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo()
99 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
DX86AsmBackend.cpp64 X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine, in X86ELFObjectWriter() argument
66 : MCELFObjectTargetWriter(is64Bit, OSABI, EMachine, HasRelocationAddend) {} in X86ELFObjectWriter()
421 WindowsX86AsmBackend(const Target &T, bool is64Bit, StringRef CPU) in WindowsX86AsmBackend() argument
423 , Is64Bit(is64Bit) { in WindowsX86AsmBackend()
/external/llvm/lib/MC/
DMachObjectWriter.cpp134 write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
143 if (is64Bit()) in writeHeader()
148 (is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header))); in writeHeader()
166 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
168 write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
170 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
175 if (is64Bit()) { in writeSegmentLoadCommand()
218 if (is64Bit()) { in writeSection()
234 if (is64Bit()) in writeSection()
238 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
[all …]
DELFObjectWriter.cpp128 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon4ed704dc0111::ELFObjectWriter
155 if (is64Bit()) in WriteWord()
320 write8(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS] in writeHeader()
345 write16(is64Bit() ? sizeof(ELF::Elf64_Ehdr) : sizeof(ELF::Elf32_Ehdr)); in writeHeader()
351 write16(is64Bit() ? sizeof(ELF::Elf64_Shdr) : sizeof(ELF::Elf32_Shdr)); in writeHeader()
765 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
768 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable()
771 SymtabSection->setAlignment(is64Bit() ? 8 : 4); in computeSymbolTable()
957 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela); in createRelocationSection()
959 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel); in createRelocationSection()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp54 bool is64Bit) in SparcSubtarget() argument
55 : SparcGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit), in SparcSubtarget()
61 if (is64Bit()) { in getAdjustedFrameSize()
DSparcTargetMachine.cpp28 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
34 if (!is64Bit) in computeDataLayout()
42 if (is64Bit) in computeDataLayout()
47 if (is64Bit) in computeDataLayout()
DSparcSubtarget.h78 bool is64Bit() const { return Is64Bit; } in is64Bit() function
83 return is64Bit() ? 2047 : 0; in getStackPointerBias()
DSparcRegisterInfo.cpp68 if (!Subtarget.is64Bit()) in getReservedRegs()
83 if (ReserveAppRegisters || !Subtarget.is64Bit()) in getReservedRegs()
105 return Subtarget.is64Bit() ? &SP::I64RegsRegClass : &SP::IntRegsRegClass; in getPointerRegClass()
DSparcISelLowering.cpp199 if (Subtarget->is64Bit()) in LowerReturn()
374 if (Subtarget->is64Bit()) in LowerFormalArguments()
707 if (Subtarget->is64Bit()) in LowerCall()
1442 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1515 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1562 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1603 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1653 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1710 if (!Subtarget->is64Bit()) { in SparcTargetLowering()
1733 if (Subtarget->is64Bit()) { in SparcTargetLowering()
[all …]
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp125 if (Subtarget.is64Bit() && ((Align & 0x7) == 0)) { // QWORD aligned in EmitTargetCodeForMemset()
154 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
157 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemset()
240 AVT = Subtarget.is64Bit() ? MVT::i64 : MVT::i32; in EmitTargetCodeForMemcpy()
248 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemcpy()
251 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemcpy()
254 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RSI : X86::ESI, in EmitTargetCodeForMemcpy()
DX86Subtarget.h312 bool is64Bit() const { in is64Bit() function
426 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
427 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
DX86Subtarget.cpp164 is64Bit(); in hasSinCos()
323 } else if (is64Bit()) { in X86Subtarget()
DX86MCInstLower.cpp106 MF->getSubtarget<X86Subtarget>().is64Bit(), STI); in emitShadowPadding()
352 if (Printer.getSubtarget().is64Bit()) in SimplifyShortMoveForm()
400 return Subtarget.is64Bit() ? X86::RETQ : X86::RETL; in getRetOpcode()
546 unsigned ReturnReg = Subtarget.is64Bit() ? X86::RAX : X86::EAX; in Lower()
577 if (!AsmPrinter.getSubtarget().is64Bit()) { in Lower()
844 assert(Subtarget->is64Bit() && "Statepoint currently only supports X86-64"); in LowerSTATEPOINT()
848 EmitNops(*OutStreamer, PatchBytes, Subtarget->is64Bit(), in LowerSTATEPOINT()
934 assert(Subtarget->is64Bit() && "Patchpoint currently only supports X86-64"); in LowerPATCHPOINT()
984 EmitNops(*OutStreamer, NumBytes - EncodedBytes, Subtarget->is64Bit(), in LowerPATCHPOINT()
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py91 self.is64Bit = None
143 if self.is64Bit:
149 if self.is64Bit:
203 if f.is64Bit:
265 f.is64Bit = False
267 f.is64Bit = True
281 if e_machine == 0x0008 and f.is64Bit: # EM_MIPS && 64 bit
370 f.isLSB, f.is64Bit = False, False
372 f.isLSB, f.is64Bit = True, False
374 f.isLSB, f.is64Bit = False, True
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp73 bool Is64 = O->is64Bit(); in getSectionPtr()
156 if (O->is64Bit()) { in getSectionFlags()
179 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getFirstLoadCommandInfo()
215 Obj->is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section); in parseSegmentLoadCommand()
234 if (is64Bit()) in MachOObjectFile()
324 unsigned SymbolTableEntrySize = is64Bit() ? in moveSymbolNext()
347 if (is64Bit()) { in getNValue()
483 if (is64Bit()) in getSectionAddress()
496 if (is64Bit()) { in getSectionSize()
522 if (is64Bit()) { in getSectionContents()
[all …]
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h53 bool is64Bit() const { return Is64Bit; } in is64Bit() function
154 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp81 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString() local
94 if (!is64Bit || T.getOS() == Triple::Lv2) in getDataLayoutString()
99 if (is64Bit || !T.isOSDarwin()) in getDataLayoutString()
105 if (is64Bit) in getDataLayoutString()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp79 static std::string computeDataLayout(bool is64Bit) { in computeDataLayout() argument
82 if (!is64Bit) in computeDataLayout()
DNVPTXISelDAGToDAG.cpp615 Opc = TM.is64Bit() ? NVPTX::cvta_global_yes_64 : NVPTX::cvta_global_yes; in SelectAddrSpaceCast()
618 Opc = TM.is64Bit() ? NVPTX::cvta_shared_yes_64 : NVPTX::cvta_shared_yes; in SelectAddrSpaceCast()
621 Opc = TM.is64Bit() ? NVPTX::cvta_const_yes_64 : NVPTX::cvta_const_yes; in SelectAddrSpaceCast()
624 Opc = TM.is64Bit() ? NVPTX::cvta_local_yes_64 : NVPTX::cvta_local_yes; in SelectAddrSpaceCast()
636 Opc = TM.is64Bit() ? NVPTX::cvta_to_global_yes_64 in SelectAddrSpaceCast()
640 Opc = TM.is64Bit() ? NVPTX::cvta_to_shared_yes_64 in SelectAddrSpaceCast()
645 TM.is64Bit() ? NVPTX::cvta_to_const_yes_64 : NVPTX::cvta_to_const_yes; in SelectAddrSpaceCast()
649 TM.is64Bit() ? NVPTX::cvta_to_local_yes_64 : NVPTX::cvta_to_local_yes; in SelectAddrSpaceCast()
652 Opc = TM.is64Bit() ? NVPTX::nvvm_ptr_gen_to_param_64 in SelectAddrSpaceCast()
753 } else if (TM.is64Bit() ? SelectADDRsi64(N1.getNode(), N1, Base, Offset) in SelectLoad()
[all …]
DNVPTXFrameLowering.cpp50 static_cast<const NVPTXTargetMachine &>(MF.getTarget()).is64Bit(); in emitPrologue()
DNVPTXTargetMachine.h47 bool is64Bit() const { return is64bit; } in is64Bit() function

123