/external/swiftshader/third_party/subzero/src/ |
IceAssemblerX86Base.h | 60 using GPRRegister = typename Traits::GPRRegister; 179 using TypedEmitGPR = void (AssemblerX86Base::*)(Type, GPRRegister); 186 using TypedEmitGPRGPR = void (AssemblerX86Base::*)(Type, GPRRegister, 187 GPRRegister); 188 using TypedEmitGPRAddr = void (AssemblerX86Base::*)(Type, GPRRegister, 190 using TypedEmitGPRImm = void (AssemblerX86Base::*)(Type, GPRRegister, 205 using TypedEmitGPRGPRImm = void (AssemblerX86Base::*)(Type, GPRRegister, 206 GPRRegister, 216 GPRRegister); [all...] |
IceRegistersARM32.h | 43 enum GPRRegister { 125 static inline GPRRegister getEncodedGPR(RegNumT RegNum) { 127 return GPRRegister(RegTable[RegNum].Encoding); 145 static inline GPRRegister getI64PairFirstGPRNum(RegNumT RegNum) { 147 return GPRRegister(RegTable[RegNum].Encoding); 150 static inline GPRRegister getI64PairSecondGPRNum(RegNumT RegNum) { 152 return GPRRegister(RegTable[RegNum].Encoding + 1);
|
IceRegistersMIPS32.h | 43 enum GPRRegister { 68 static inline GPRRegister getEncodedGPR(RegNumT RegNum) { 71 return GPRRegister(RegNum - Reg_GPR_First);
|
IceAssemblerX86BaseImpl.h | 109 void AssemblerX86Base<TraitsType>::call(GPRRegister reg) { 152 void AssemblerX86Base<TraitsType>::pushl(GPRRegister reg) { 178 void AssemblerX86Base<TraitsType>::popl(GPRRegister reg) { 230 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 249 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 250 GPRRegister src) { 264 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 281 GPRRegister src) { 319 AssemblerX86Base<TraitsType>::movabs(const GPRRegister Dst, uint64_t Imm64) { 334 void AssemblerX86Base<TraitsType>::movzx(Type SrcTy, GPRRegister dst [all...] |
IceTargetLoweringX8632Traits.h | 58 static constexpr ::Ice::RegX8632::GPRRegister Last8BitGPR = 59 ::Ice::RegX8632::GPRRegister::Encoded_Reg_ebx; 63 using GPRRegister = ::Ice::RegX8632::GPRRegister; 73 static constexpr GPRRegister Encoded_Reg_Accumulator = 75 static constexpr GPRRegister Encoded_Reg_Counter = RegX8632::Encoded_Reg_ecx; 97 GPRRegister rm() const { 98 return static_cast<GPRRegister>(encoding_at(0) & 7); 105 GPRRegister index() const { 106 return static_cast<GPRRegister>((encoding_at(1) >> 3) & 7) [all...] |
IceTargetLoweringX8664Traits.h | 59 static constexpr ::Ice::RegX8664::GPRRegister Last8BitGPR = 60 ::Ice::RegX8664::GPRRegister::Encoded_Reg_r15d; 64 using GPRRegister = ::Ice::RegX8664::GPRRegister; 73 static constexpr GPRRegister Encoded_Reg_Accumulator = 75 static constexpr GPRRegister Encoded_Reg_Counter = RegX8664::Encoded_Reg_ecx; 107 GPRRegister rm() const { 108 return static_cast<GPRRegister>((rexB() != 0 ? 0x08 : 0) | 116 GPRRegister index() const { 117 return static_cast<GPRRegister>((rexX() != 0 ? 0x08 : 0) [all...] |
IceRegistersX8664.h | 40 enum GPRRegister {
|
IceRegistersX8632.h | 40 enum GPRRegister {
|
IceInstX86BaseImpl.h | 712 // We cheat a little and use GPRRegister even for byte operations. 713 GPRRegister VarReg = Traits::getEncodedGPR(Var->getRegNum()); 736 // We cheat a little and use GPRRegister even for byte operations. 737 GPRRegister VarReg = VarCanBeByte ? Traits::getEncodedGPR(Var->getRegNum()) 741 GPRRegister SrcReg = SrcCanBeByte 782 GPRRegister SrcReg = Traits::getEncodedGPR(SrcVar->getRegNum()); 832 // We cheat a little and use GPRRegister even for byte operations. 833 GPRRegister VarReg = Traits::getEncodedGPR(Var->getRegNum()); 837 GPRRegister SrcReg = Traits::getEncodedGPR(SrcVar->getRegNum()); 857 GPRRegister DestReg = Traits::getEncodedGPR(Dest->getRegNum()) [all...] |
IceAssemblerARM32.cpp | 135 IValueT encodeGPRRegister(RegARM32::GPRRegister Rn) { 139 RegARM32::GPRRegister decodeGPRRegister(IValueT R) { 140 return static_cast<RegARM32::GPRRegister>(R); 174 RegARM32::GPRRegister getGPRReg(IValueT Shift, IValueT Value) { [all...] |
IceAssemblerARM32.h | 203 void bx(RegARM32::GPRRegister Rm, CondARM32::Cond Cond = CondARM32::AL); [all...] |
IceInstX86Base.h | 45 using GPRRegister = typename Traits::RegisterSet::GPRRegister; [all...] |
IceInstARM32.cpp | [all...] |
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
Locked.cpp | 45 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Dst1, \ 48 GPRRegister::Encoded_Reg_##Dst1); \ 49 __ And(IceType_i32, GPRRegister::Encoded_Reg_##Dst1, \ 68 if (GPRRegister::Encoded_Reg_##Dst1 < 4) { \ 93 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Reg0, \ 95 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Reg1, \ 97 __ xchg(IceType_i##Size, GPRRegister::Encoded_Reg_##Reg0, \ 98 GPRRegister::Encoded_Reg_##Reg1); \ 99 __ And(IceType_i32, GPRRegister::Encoded_Reg_##Reg0, \ 101 __ And(IceType_i32, GPRRegister::Encoded_Reg_##Reg1, [all...] |
GPRArith.cpp | 35 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xC0FFEE)); 36 __ pushl(GPRRegister::Encoded_Reg_eax); 52 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src0, Immediate(Value0)); \ 53 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src1, Immediate(Value1)); \ 54 __ cmp(IceType_i32, GPRRegister::Encoded_Reg_##Src0, \ 55 GPRRegister::Encoded_Reg_##Src1); \ 56 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0)); \ 57 __ setcc(Cond::Br_##C, ByteRegister(GPRRegister::Encoded_Reg_##Dest)); \ 128 if (GPRRegister::Encoded_Reg_##Base != GPRRegister::Encoded_Reg_esp && [all...] |
ControlFlow.cpp | 22 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src0, Immediate(Value0)); \ 23 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src1, Immediate(Value1)); \ 24 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0xBEEF)); \ 25 __ cmp(IceType_i32, GPRRegister::Encoded_Reg_##Src0, \ 26 GPRRegister::Encoded_Reg_##Src1); \ 28 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0xC0FFEE)); \ 88 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xf00f)); 89 __ popl(GPRRegister::Encoded_Reg_ebx); 100 __ popl(GPRRegister::Encoded_Reg_edx); 101 __ pushl(GPRRegister::Encoded_Reg_edx) [all...] |
DataMov.cpp | 24 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(ExpectedEax)); 25 __ mov(IceType_i32, GPRRegister::Encoded_Reg_ebx, Immediate(ExpectedEbx)); 26 __ mov(IceType_i32, GPRRegister::Encoded_Reg_ecx, Immediate(ExpectedEcx)); 27 __ mov(IceType_i32, GPRRegister::Encoded_Reg_edx, Immediate(ExpectedEdx)); 28 __ mov(IceType_i32, GPRRegister::Encoded_Reg_edi, Immediate(ExpectedEdi)); 29 __ mov(IceType_i32, GPRRegister::Encoded_Reg_esi, Immediate(ExpectedEsi)); 84 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(ExpectedT0)); 85 __ mov(IceType_i32, dwordAddress(T0), GPRRegister::Encoded_Reg_eax); 86 __ mov(IceType_i32, GPRRegister::Encoded_Reg_ebx, Immediate(ExpectedT1)); 87 __ mov(IceType_i32, dwordAddress(T1), GPRRegister::Encoded_Reg_ebx) [all...] |
TestUtil.h | 41 using GPRRegister = AssemblerX8632::Traits::GPRRegister; 68 // __ mov(GPRRegister::Reg_Eax, 1); 782 return Address(GPRRegister::Encoded_Reg_ebp, dwordDisp(Dword), nullptr); [all...] |
LowLevel.cpp | 44 __ popl(GPRRegister::Encoded_Reg_eax); 45 __ popl(GPRRegister::Encoded_Reg_ebx); 46 __ popl(GPRRegister::Encoded_Reg_ecx); 47 __ popl(GPRRegister::Encoded_Reg_edx); 48 __ popl(GPRRegister::Encoded_Reg_edi); 49 __ popl(GPRRegister::Encoded_Reg_esi); 50 __ popl(GPRRegister::Encoded_Reg_ebp); 56 verifyBytes<ByteCount>(codeBytes(), PopOpcode | GPRRegister::Encoded_Reg_eax, 57 PopOpcode | GPRRegister::Encoded_Reg_ebx, 58 PopOpcode | GPRRegister::Encoded_Reg_ecx [all...] |
X87.cpp | 18 Address(GPRRegister::Encoded_Reg_ebp, 1, AssemblerFixup::NoFixup)); 19 __ fld(IceType_f64, Address(GPRRegister::Encoded_Reg_ebp, 0x10000, 27 (/*rm*/ GPRRegister::Encoded_Reg_ebp); 30 (/*rm*/ GPRRegister::Encoded_Reg_ebp); 37 Address(GPRRegister::Encoded_Reg_ebp, 1, AssemblerFixup::NoFixup)); 38 __ fstp(IceType_f64, Address(GPRRegister::Encoded_Reg_ebp, 0x10000, 46 (/*rm*/ GPRRegister::Encoded_Reg_ebp); 49 (/*rm*/ GPRRegister::Encoded_Reg_ebp); 65 Address(GPRRegister::Encoded_Reg_ebp, 0x12345, AssemblerFixup::NoFixup)); 72 (/*rm*/ GPRRegister::Encoded_Reg_ebp) [all...] |
XmmArith.cpp | [all...] |
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
TestUtil.h | 41 using GPRRegister = AssemblerX8664::Traits::GPRRegister; 51 // instead of GPRRegister::Encoded_Reg_eax for 8 bit operands. They also 55 static constexpr GPRRegister Encoded_GPR_##NewName() { \ 56 return GPRRegister::Encoded_Reg_##Name32; \ 58 static constexpr GPRRegister Encoded_GPR_##NewName##q() { \ 59 return GPRRegister::Encoded_Reg_##Name32; \ 61 static constexpr GPRRegister Encoded_GPR_##NewName##d() { \ 62 return GPRRegister::Encoded_Reg_##Name32; \ 64 static constexpr GPRRegister Encoded_GPR_##NewName##w() { [all...] |
ControlFlow.cpp | 108 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xf00f)); 109 __ popl(GPRRegister::Encoded_Reg_ebx);
|
GPRArith.cpp | 20 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xC0FFEE)); 21 __ pushl(GPRRegister::Encoded_Reg_eax); 330 __ lea(IceType_i32, GPRRegister::Encoded_Reg_##Dst, \ 336 /*mod*/ 0x00 | /*reg*/ (GPRRegister::Encoded_Reg_##Dst << 3) | \ 337 /*rm*/ GPRRegister::Encoded_Reg_esp; \ 339 /*Scale*/ 0x00 | /*Index*/ (GPRRegister::Encoded_Reg_esp << 3) | \ 340 /*base*/ GPRRegister::Encoded_Reg_ebp; \ [all...] |
XmmArith.cpp | [all...] |