Home
last modified time | relevance | path

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

12345678910>>...12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DXCOFFObjectFile.cpp94 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in toSection32()
103 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in toSection64()
111 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in toSymbolEntry()
121 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in fileHeader32()
126 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in fileHeader64()
132 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in sectionHeaderTable32()
138 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in sectionHeaderTable64()
194 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in getSymbolAddress()
199 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in getSymbolValueImpl()
242 if (is64Bit()) in getSectionAddress()
[all …]
/external/llvm-project/llvm/lib/Object/
DXCOFFObjectFile.cpp101 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in toSection32()
110 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in toSection64()
118 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in toSymbolEntry()
128 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in fileHeader32()
133 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in fileHeader64()
139 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in sectionHeaderTable32()
145 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in sectionHeaderTable64()
201 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in getSymbolAddress()
206 assert(!is64Bit() && "Symbol table support not implemented for 64-bit."); in getSymbolValueImpl()
249 if (is64Bit()) in getSectionAddress()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVMRuntime.java22 private static boolean is64Bit = true; field in ShadowVMRuntime
57 protected boolean is64Bit() { in is64Bit() method in ShadowVMRuntime
58 return ShadowVMRuntime.is64Bit; in is64Bit()
63 public static void setIs64Bit(boolean is64Bit) { in setIs64Bit() argument
64 ShadowVMRuntime.is64Bit = is64Bit; in setIs64Bit()
69 ShadowVMRuntime.is64Bit = true; in reset()
/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 &);
/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-project/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()
/external/swiftshader/third_party/llvm-10.0/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()
85 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local
91 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo()
94 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
/external/angle/src/libANGLE/
Dangletypes_unittest.cpp17 constexpr bool is64Bit = true; variable
19 constexpr bool is64Bit = false;
52 ASSERT_EQ(blendStateExt.mMaxColorMask, is64Bit ? 0xFFu : 0xFu); in TEST()
53 ASSERT_EQ(blendStateExt.mMaxEquationMask, is64Bit ? 0xFFu : 0xFu); in TEST()
62 ASSERT_EQ(blendStateExt.mMaxColorMask, is64Bit ? 0xFFFFFFFFu : 0xFFFFu); in TEST()
63 ASSERT_EQ(blendStateExt.mMaxEquationMask, is64Bit ? 0xFFFFFFFFu : 0xFFFFu); in TEST()
72 ASSERT_EQ(blendStateExt.mMaxColorMask, is64Bit ? 0xFFFFFFFFFFFFFFFFu : 0xFFFFFFFFu); in TEST()
73 ASSERT_EQ(blendStateExt.mMaxEquationMask, is64Bit ? 0xFFFFFFFFFFFFFFFFu : 0xFFFFFFFFu); in TEST()
97 ASSERT_EQ(blendStateExt.mColorMask, is64Bit ? 0x0505050505u : 0x55555u); in TEST()
100 ASSERT_EQ(blendStateExt.mColorMask, is64Bit ? 0x050A050505u : 0x5A555u); in TEST()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86Subtarget.cpp74 if (is64Bit()) { in classifyLocalReference()
154 if (is64Bit()) { in classifyGlobalReference()
199 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
207 is64Bit()) in classifyGlobalFunctionReference()
210 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
215 if (is64Bit()) { in classifyGlobalFunctionReference()
308 else if (is64Bit()) in X86Subtarget()
DX86Subtarget.h587 bool is64Bit() const { in is64Bit() function
619 bool hasCMov() const { return HasCMov || X86SSELevel >= SSE1 || is64Bit(); } in hasCMov()
682 bool hasLAHFSAHF() const { return HasLAHFSAHF64 || !is64Bit(); } in hasLAHFSAHF()
695 bool hasCmpxchg16b() const { return HasCmpxchg16b && is64Bit(); } in hasCmpxchg16b()
804 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
815 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
834 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
835 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp20 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
25 if (is64Bit) { in PPCELFMCAsmInfo()
50 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp21 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
26 if (is64Bit) { in PPCELFMCAsmInfo()
51 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
/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-10.0/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()
102 Subtarget(TT, CPU, FS, *this, is64bit), is64Bit(is64bit) { in SparcTargetMachine()
137 this->is64Bit); in getSubtargetImpl()
DSparcSubtarget.cpp69 bool is64Bit) in SparcSubtarget() argument
70 : SparcGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT), Is64Bit(is64Bit), in SparcSubtarget()
76 if (is64Bit()) { in getAdjustedFrameSize()
/external/llvm-project/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()
103 is64Bit(is64bit) { in SparcTargetMachine()
136 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()
/external/llvm-project/llvm/lib/MC/
DMachObjectWriter.cpp148 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
157 if (is64Bit()) in writeHeader()
160 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
185 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
187 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
189 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
193 if (is64Bit()) { in writeSegmentLoadCommand()
236 if (is64Bit()) { in writeSection()
252 if (is64Bit()) in writeSection()
256 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMachObjectWriter.cpp148 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
157 if (is64Bit()) in writeHeader()
160 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
185 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
187 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
189 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
193 if (is64Bit()) { in writeSegmentLoadCommand()
236 if (is64Bit()) { in writeSection()
252 if (is64Bit()) in writeSection()
256 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86Subtarget.cpp75 if (is64Bit()) { in classifyLocalReference()
153 if (is64Bit()) { in classifyGlobalReference()
194 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
202 is64Bit()) in classifyGlobalFunctionReference()
207 if (is64Bit()) { in classifyGlobalFunctionReference()
341 else if (is64Bit()) in X86Subtarget()
/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()

12345678910>>...12