Searched defs:is64Bit (Results 1 - 25 of 28) sorted by last modified time

12

/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp463 static bool is64Bit(const ELFYAML::Object &Doc) { function
483 if (is64Bit(Doc)) {
/external/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h64 bool is64Bit() const { return Is64Bit; } function in class:llvm::MCELFObjectTargetWriter
H A DMCMachObjectWriter.h57 bool is64Bit() const { return Is64Bit; } function in class:llvm::MCMachObjectTargetWriter
157 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } function in class:llvm::MachObjectWriter
/external/llvm/include/llvm/Support/
H A DOutputBuffer.h27 /// is64Bit/isLittleEndian - This information is inferred from the target
29 bool is64Bit, isLittleEndian; member in class:llvm::OutputBuffer
33 : Output(Out), is64Bit(is64bit), isLittleEndian(le) {}
105 if (!is64Bit)
150 if (!is64Bit)
/external/llvm/lib/MC/
H A DELFObjectWriter.cpp180 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } function in class:__anon25871::ELFObjectWriter
198 if (is64Bit())
442 Write8(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS]
461 WriteWord(SectionDataSize + (is64Bit() ? sizeof(ELF::Elf64_Ehdr) :
468 Write16(is64Bit() ? sizeof(ELF::Elf64_Ehdr) : sizeof(ELF::Elf32_Ehdr));
474 Write16(is64Bit() ? sizeof(ELF::Elf64_Shdr) : sizeof(ELF::Elf32_Shdr));
636 SymbolTableWriter Writer(Asm, FWriter, is64Bit(), SectionIndexMap, SymtabF);
1126 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela);
1128 EntrySize = is64Bit()
[all...]
H A DMachObjectWriter.cpp140 Write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC);
149 if (is64Bit())
153 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header)));
171 is64Bit() ? sizeof(MachO::segment_command_64):
173 Write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT);
175 NumSections * (is64Bit() ? sizeof(MachO::section_64) :
179 if (is64Bit()) {
223 if (is64Bit()) {
243 if (is64Bit())
246 assert(OS.tell() - Start == (is64Bit()
418 ComputeLinkerOptionsLoadCommandSize( const std::vector<std::string> &Options, bool is64Bit) argument
[all...]
/external/llvm/lib/Object/
H A DMachOObjectFile.cpp250 if (O->is64Bit()) {
263 bool Is64 = O->is64Bit();
417 if (O->is64Bit()) {
432 MachO::LoadCommandType SegmentLoadType = is64Bit() ?
468 unsigned SymbolTableEntrySize = is64Bit() ?
489 if (is64Bit()) {
509 if (is64Bit()) {
677 if (is64Bit()) {
689 if (is64Bit()) {
705 if (is64Bit()) {
1909 bool MachOObjectFile::is64Bit() const { function in class:llvm::object::MachOObjectFile
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXSubtarget.cpp28 static std::string computeDataLayout(bool is64Bit) { argument
31 if (!is64Bit)
58 bool is64Bit)
59 : NVPTXGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit), PTXVersion(0),
60 SmVersion(20), DL(computeDataLayout(is64Bit)),
56 NVPTXSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM, bool is64Bit) argument
H A DNVPTXSubtarget.h58 const std::string &FS, const TargetMachine &TM, bool is64Bit);
97 bool is64Bit() const { return Is64Bit; } function in class:llvm::NVPTXSubtarget
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCAsmInfo.cpp21 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) { argument
22 if (is64Bit) {
30 if (!is64Bit)
47 PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit, const Triple& T) { argument
48 if (is64Bit) {
74 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr;
78 (T.getOS() == llvm::Triple::NetBSD && !is64Bit) ||
79 (T.getOS() == llvm::Triple::OpenBSD && !is64Bit))
/external/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp1471 bool is64Bit = Subtarget.isPPC64(); local
1473 unsigned StackReg = is64Bit ? PPC::X1 : PPC::R1;
1474 unsigned TmpReg = is64Bit ? PPC::X0 : PPC::R0;
1475 unsigned ADDIInstr = is64Bit ? PPC::ADDI8 : PPC::ADDI;
1476 unsigned ADDInstr = is64Bit ? PPC::ADD8 : PPC::ADD4;
1477 unsigned LISInstr = is64Bit ? PPC::LIS8 : PPC::LIS;
1478 unsigned ORIInstr = is64Bit ? PPC::ORI8 : PPC::ORI;
H A DPPCISelLowering.cpp8856 bool is64Bit = isPPC64 && VT == MVT::i64; local
8858 .Case("r1", is64Bit ? PPC::X1 : PPC::R1)
8859 .Case("r2", isDarwinABI ? 0 : (is64Bit ? PPC::X2 : PPC::R2))
8861 (is64Bit ? PPC::X13 : PPC::R13))
H A DPPCJITInfo.cpp29 : Subtarget(STI), is64Bit(STI.isPPC64()) {
55 static void EmitBranchToAt(uint64_t At, uint64_t To, bool isCall, bool is64Bit){ argument
61 } else if (!is64Bit) {
124 // r5 - is64Bit - always 0.
187 // r5 - is64Bit - always 0.
271 // r5 - is64Bit - always 1.
309 bool is64Bit) {
340 StubCallAddr -= is64Bit ? 9 : 6;
345 EmitBranchToAt((intptr_t)StubCallAddr, (intptr_t)Target, false, is64Bit);
360 return is64Bit
307 LLVMPPCCompilationCallback(unsigned *StubCallAddrPlus4, unsigned *OrigCallAddrPlus4, bool is64Bit) argument
[all...]
H A DPPCJITInfo.h25 bool is64Bit; member in class:llvm::PPCJITInfo
H A DPPCRegisterInfo.cpp796 bool is64Bit = Subtarget.isPPC64(); local
799 const TargetRegisterClass *RC = is64Bit ? G8RC : GPRC;
804 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::LIS8 : PPC::LIS), SRegHi)
806 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::ORI8 : PPC::ORI), SReg)
H A DPPCSubtarget.cpp79 bool is64Bit, CodeGenOpt::Level OptLevel)
80 : PPCGenSubtargetInfo(TT, CPU, FS), IsPPC64(is64Bit), TargetTriple(TT),
77 PPCSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, PPCTargetMachine &TM, bool is64Bit, CodeGenOpt::Level OptLevel) argument
H A DPPCTargetMachine.cpp43 CodeGenOpt::Level OL, bool is64Bit)
45 Subtarget(TT, CPU, FS, *this, is64Bit, OL) {
40 PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool is64Bit) argument
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp79 bool is64Bit() const { return STI.getTargetTriple().startswith("sparcv9"); } function in class:__anon26131::SparcAsmParser
509 return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc());
511 if (is64Bit() && IDVal == ".xword")
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcAsmBackend.cpp219 bool is64Bit() const { function in class:__anon26135::SparcAsmBackend
249 return createSparcELFObjectWriter(OS, is64Bit(), OSABI);
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp176 if (Subtarget->is64Bit())
328 if (Subtarget->is64Bit())
655 if (Subtarget->is64Bit())
1377 if (Subtarget->is64Bit())
1410 if (Subtarget->is64Bit()) {
1457 if (Subtarget->is64Bit()) {
1498 if (Subtarget->is64Bit()) {
1548 if (Subtarget->is64Bit()) {
1608 if (!Subtarget->is64Bit()) {
1631 if (Subtarget->is64Bit()) {
2061 bool is64Bit = Subtarget->is64Bit(); local
2989 bool is64Bit = SP::I64RegsRegClass.hasSubClassEq(MRI.getRegClass(DestReg)); local
[all...]
H A DSparcSubtarget.cpp34 if (!ST.is64Bit())
42 if (ST.is64Bit())
47 if (ST.is64Bit())
80 bool is64Bit)
81 : SparcGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit),
87 if (is64Bit()) {
78 SparcSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, TargetMachine &TM, bool is64Bit) argument
H A DSparcSubtarget.h75 bool is64Bit() const { return Is64Bit; } function in class:llvm::SparcSubtarget
80 return is64Bit() ? 2047 : 0;
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp70 X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine, argument
72 : MCELFObjectTargetWriter(is64Bit, OSABI, EMachine, HasRelocationAddend) {}
394 WindowsX86AsmBackend(const Target &T, bool is64Bit, StringRef CPU) argument
396 , Is64Bit(is64Bit) {
H A DX86MCAsmInfo.cpp45 bool is64Bit = T.getArch() == Triple::x86_64; local
46 if (is64Bit)
53 if (!is64Bit)
91 bool is64Bit = T.getArch() == Triple::x86_64; local
97 PointerSize = (is64Bit && !isX32) ? 8 : 4;
100 CalleeSaveStackSlotSize = is64Bit ? 8 : 4;
H A DX86MCTargetDesc.cpp262 bool is64Bit = TheTriple.getArch() == Triple::x86_64; local
266 if (is64Bit)
284 int stackGrowth = is64Bit ? -8 : -4;
287 unsigned StackPtr = is64Bit ? X86::RSP : X86::ESP;
293 unsigned InstPtr = is64Bit ? X86::RIP : X86::EIP;
307 bool is64Bit = T.getArch() == Triple::x86_64; local
314 if (is64Bit)
318 } else if (T.isOSWindows() && is64Bit)
329 if (is64Bit)
337 if (RM == Reloc::Static && T.isOSDarwin() && is64Bit)
[all...]

Completed in 310 milliseconds

12