Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp17 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) { in PPCMCAsmInfoDarwin() argument
18 if (is64Bit) in PPCMCAsmInfoDarwin()
26 if (!is64Bit) in PPCMCAsmInfoDarwin()
33 PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) { in PPCLinuxMCAsmInfo() argument
34 if (is64Bit) in PPCLinuxMCAsmInfo()
58 if (!is64Bit) in PPCLinuxMCAsmInfo()
62 Data64bitsDirective = is64Bit ? "\t.quad\t" : 0; in PPCLinuxMCAsmInfo()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetELFWriterInfo.h31 bool is64Bit, isLittleEndian; variable
69 unsigned getEIClass() const { return is64Bit ? ELFCLASS64 : ELFCLASS32; } in getEIClass()
75 unsigned getHdrSize() const { return is64Bit ? 64 : 52; } in getHdrSize()
76 unsigned getSHdrSize() const { return is64Bit ? 64 : 40; } in getSHdrSize()
79 unsigned getSymTabEntrySize() const { return is64Bit ? 24 : 16; } in getSymTabEntrySize()
83 unsigned getPrefELFAlignment() const { return is64Bit ? 8 : 4; } in getPrefELFAlignment()
87 return is64Bit ? (hasRelocationAddend() ? 24 : 16) in getRelocationEntrySize()
/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()
/external/swiftshader/third_party/LLVM/test/Scripts/
Dmacho-dumpx17 self.is64Bit = None
69 f.isLSB, f.is64Bit = False, False
71 f.isLSB, f.is64Bit = True, False
73 f.isLSB, f.is64Bit = False, True
75 f.isLSB, f.is64Bit = True, True
92 if f.is64Bit:
136 def dumpSegmentLoadCommand(f, opts, is64Bit):
138 if is64Bit:
156 dumpSection(f, i, opts, is64Bit)
195 if f.is64Bit:
[all …]
Delf-dump17 self.is64Bit = None
41 if self.is64Bit:
103 if not f.is64Bit:
113 if f.is64Bit:
126 if f.is64Bit:
146 f.is64Bit = False
148 f.is64Bit = True
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCJITInfo.cpp49 static void EmitBranchToAt(uint64_t At, uint64_t To, bool isCall, bool is64Bit){ in EmitBranchToAt() argument
55 } else if (!is64Bit) { in EmitBranchToAt()
296 bool is64Bit) { in PPCCompilationCallbackC() argument
327 StubCallAddr -= is64Bit ? 9 : 6; in PPCCompilationCallbackC()
332 EmitBranchToAt((intptr_t)StubCallAddr, (intptr_t)Target, false, is64Bit); in PPCCompilationCallbackC()
346 return is64Bit ? PPC64CompilationCallback : PPC32CompilationCallback; in getLazyResolverFunction()
377 EmitBranchToAt((intptr_t)Addr, (intptr_t)Fn, false, is64Bit); in emitFunctionStub()
383 if (is64Bit) { in emitFunctionStub()
404 EmitBranchToAt(BranchAddr, (intptr_t)Fn, true, is64Bit); in emitFunctionStub()
466 EmitBranchToAt((intptr_t)Old, (intptr_t)New, false, is64Bit); in replaceMachineCodeForFunction()
DPPCSubtarget.cpp66 const std::string &FS, bool is64Bit) in PPCSubtarget() argument
73 , IsPPC64(is64Bit) in PPCSubtarget()
97 if (is64Bit) { in PPCSubtarget()
DPPCTargetMachine.cpp32 bool is64Bit) in PPCTargetMachine() argument
34 Subtarget(TT, CPU, FS, is64Bit), in PPCTargetMachine()
36 FrameLowering(Subtarget), JITInfo(*this, is64Bit), in PPCTargetMachine()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ELFWriterInfo.cpp30 EMachine = is64Bit ? EM_X86_64 : EM_386; in X86ELFWriterInfo()
36 if (is64Bit) { in getRelocationType()
68 if (is64Bit) { in getDefaultAddendForRelTy()
90 if (is64Bit) { in getRelocationTySize()
114 if (is64Bit) { in isPCRelativeRel()
139 return is64Bit ? in getAbsoluteLabelMachineRelTy()
DX86TargetMachine.cpp69 bool is64Bit) in X86TargetMachine() argument
71 Subtarget(TT, CPU, FS, StackAlignmentOverride, is64Bit), in X86TargetMachine()
73 ELFWriterInfo(is64Bit, true) { in X86TargetMachine()
78 } else if (Subtarget.is64Bit()) { in X86TargetMachine()
117 if (!Subtarget.is64Bit()) in addInstSelector()
DX86SelectionDAGInfo.cpp101 if (Subtarget->is64Bit() && ((Align & 0x7) == 0)) { // QWORD aligned in EmitTargetCodeForMemset()
130 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RCX : in EmitTargetCodeForMemset()
134 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RDI : in EmitTargetCodeForMemset()
212 AVT = Subtarget->is64Bit() ? MVT::i64 : MVT::i32; in EmitTargetCodeForMemcpy()
220 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RCX : in EmitTargetCodeForMemcpy()
224 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RDI : in EmitTargetCodeForMemcpy()
228 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RSI : in EmitTargetCodeForMemcpy()
DX86Subtarget.h147 unsigned StackAlignOverride, bool is64Bit);
166 bool is64Bit() const { return In64BitMode; } in is64Bit() function
219 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
220 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
/external/llvm/lib/Target/X86/MCTargetDesc/
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()
/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 …]
/external/llvm/lib/Target/Sparc/
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()
73 Subtarget(TT, CPU, FS, *this, is64bit), is64Bit(is64bit) { in SparcTargetMachine()
108 this->is64Bit); in getSubtargetImpl()
DSparcSubtarget.cpp71 bool is64Bit) in SparcSubtarget() argument
72 : SparcGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT), Is64Bit(is64Bit), in SparcSubtarget()
78 if (is64Bit()) { in getAdjustedFrameSize()
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp302 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo() local
306 if (is64Bit) in createX86MCAsmInfo()
318 int stackGrowth = is64Bit ? -8 : -4; in createX86MCAsmInfo()
322 MachineLocation Src(is64Bit ? X86::RSP : X86::ESP, stackGrowth); in createX86MCAsmInfo()
326 MachineLocation CSDst(is64Bit ? X86::RSP : X86::ESP, stackGrowth); in createX86MCAsmInfo()
327 MachineLocation CSSrc(is64Bit ? X86::RIP : X86::EIP); in createX86MCAsmInfo()
338 bool is64Bit = T.getArch() == Triple::x86_64; in createX86MCCodeGenInfo() local
345 if (is64Bit) in createX86MCCodeGenInfo()
349 } else if (T.isOSWindows() && is64Bit) in createX86MCCodeGenInfo()
360 if (is64Bit) in createX86MCCodeGenInfo()
[all …]
DX86MCAsmInfo.cpp52 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local
53 if (is64Bit) in X86MCAsmInfoDarwin()
61 if (!is64Bit) in X86MCAsmInfoDarwin()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcSubtarget.cpp25 const std::string &FS, bool is64Bit) : in SparcSubtarget() argument
30 Is64Bit(is64Bit) { in SparcSubtarget()
35 if (is64Bit) in SparcSubtarget()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp124 Write32(is64Bit() ? macho::HM_Object64 : macho::HM_Object32); in WriteHeader()
133 if (is64Bit()) in WriteHeader()
137 (is64Bit() ? macho::Header64Size : macho::Header32Size)); in WriteHeader()
155 is64Bit() ? macho::SegmentLoadCommand64Size: in WriteSegmentLoadCommand()
157 Write32(is64Bit() ? macho::LCT_Segment64 : macho::LCT_Segment); in WriteSegmentLoadCommand()
159 NumSections * (is64Bit() ? macho::Section64Size : in WriteSegmentLoadCommand()
163 if (is64Bit()) { in WriteSegmentLoadCommand()
205 if (is64Bit()) { in WriteSection()
225 if (is64Bit()) in WriteSection()
228 assert(OS.tell() - Start == (is64Bit() ? macho::Section64Size : in WriteSection()
[all …]
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp63 if (is64Bit()) in classifyLocalReference()
101 if (is64Bit()) in classifyGlobalReference()
129 if (is64Bit()) { in classifyGlobalFunctionReference()
158 is64Bit(); in hasSinCos()
321 else if (is64Bit()) in X86Subtarget()
DX86SelectionDAGInfo.cpp124 if (Subtarget.is64Bit() && ((Align & 0x7) == 0)) { // QWORD aligned in EmitTargetCodeForMemset()
153 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
156 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemset()
239 AVT = Subtarget.is64Bit() ? MVT::i64 : MVT::i32; in EmitTargetCodeForMemcpy()
247 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemcpy()
250 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemcpy()
253 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RSI : X86::ESI, in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObjectFile.cpp115 if (MachOObj->is64Bit()) { in getSymbolName()
131 if (MachOObj->is64Bit()) { in getSymbolOffset()
150 if (MachOObj->is64Bit()) { in getSymbolAddress()
171 if (MachOObj->is64Bit()) { in getSymbolNMTypeChar()
205 if (MachOObj->is64Bit()) { in isSymbolInternal()
219 if (MachOObj->is64Bit()) { in isSymbolGlobal()
234 if (MachOObj->is64Bit()) { in getSymbolType()
469 if (MachOObj->is64Bit()) { in sectionContainsSymbol()
527 if (MachOObj->is64Bit()) { in getRelocation()
547 if (MachOObj->is64Bit()) { in getRelocationAddress()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DOutputBuffer.h29 bool is64Bit, isLittleEndian; variable
33 : Output(Out), is64Bit(is64bit), isLittleEndian(le) {} in OutputBuffer()
105 if (!is64Bit) in outaddr()
150 if (!is64Bit) in fixaddr()
/external/llvm/lib/Object/
DMachOObjectFile.cpp80 bool Is64 = O->is64Bit(); in getSectionPtr()
163 if (O->is64Bit()) { in getSectionFlags()
185 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getFirstLoadCommandInfo()
196 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getNextLoadCommandInfo()
234 Obj->is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section); in parseSegmentLoadCommand()
272 if (is64Bit()) { in MachOObjectFile()
300 if (is64Bit()) { in MachOObjectFile()
443 unsigned SymbolTableEntrySize = is64Bit() ? in moveSymbolNext()
467 if (is64Bit()) { in getNValue()
609 if (is64Bit()) in getSectionAddress()
[all …]

123456