Lines Matching refs:Inst

49 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,  in decodeRegisterClass()  argument
55 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass()
59 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument
62 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass()
65 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument
68 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass()
71 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument
74 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeGR64BitRegisterClass()
77 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass() argument
80 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16); in DecodeGR128BitRegisterClass()
83 static DecodeStatus DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeADDR64BitRegisterClass() argument
86 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeADDR64BitRegisterClass()
89 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP32BitRegisterClass() argument
92 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP32Regs, 16); in DecodeFP32BitRegisterClass()
95 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP64BitRegisterClass() argument
98 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP64Regs, 16); in DecodeFP64BitRegisterClass()
101 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP128BitRegisterClass() argument
104 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP128Regs, 16); in DecodeFP128BitRegisterClass()
107 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR32BitRegisterClass() argument
110 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR32Regs, 32); in DecodeVR32BitRegisterClass()
113 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR64BitRegisterClass() argument
116 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR64Regs, 32); in DecodeVR64BitRegisterClass()
119 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR128BitRegisterClass() argument
122 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR128Regs, 32); in DecodeVR128BitRegisterClass()
126 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() argument
129 Inst.addOperand(MCOperand::createImm(Imm)); in decodeUImmOperand()
134 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() argument
137 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand()
141 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm, in decodeAccessRegOperand() argument
144 return decodeUImmOperand<4>(Inst, Imm); in decodeAccessRegOperand()
147 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() argument
149 return decodeUImmOperand<1>(Inst, Imm); in decodeU1ImmOperand()
152 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() argument
154 return decodeUImmOperand<2>(Inst, Imm); in decodeU2ImmOperand()
157 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() argument
159 return decodeUImmOperand<3>(Inst, Imm); in decodeU3ImmOperand()
162 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() argument
164 return decodeUImmOperand<4>(Inst, Imm); in decodeU4ImmOperand()
167 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand() argument
169 return decodeUImmOperand<6>(Inst, Imm); in decodeU6ImmOperand()
172 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() argument
174 return decodeUImmOperand<8>(Inst, Imm); in decodeU8ImmOperand()
177 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() argument
179 return decodeUImmOperand<12>(Inst, Imm); in decodeU12ImmOperand()
182 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand() argument
184 return decodeUImmOperand<16>(Inst, Imm); in decodeU16ImmOperand()
187 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand() argument
189 return decodeUImmOperand<32>(Inst, Imm); in decodeU32ImmOperand()
192 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() argument
194 return decodeSImmOperand<8>(Inst, Imm); in decodeS8ImmOperand()
197 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand() argument
199 return decodeSImmOperand<16>(Inst, Imm); in decodeS16ImmOperand()
202 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS32ImmOperand() argument
204 return decodeSImmOperand<32>(Inst, Imm); in decodeS32ImmOperand()
208 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm, in decodePCDBLOperand() argument
211 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm) * 2 + Address)); in decodePCDBLOperand()
215 static DecodeStatus decodePC16DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC16DBLOperand() argument
218 return decodePCDBLOperand<16>(Inst, Imm, Address); in decodePC16DBLOperand()
221 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLOperand() argument
224 return decodePCDBLOperand<32>(Inst, Imm, Address); in decodePC32DBLOperand()
227 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
232 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr12Operand()
233 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDAddr12Operand()
237 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
242 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr20Operand()
243 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDAddr20Operand()
247 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
253 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr12Operand()
254 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDXAddr12Operand()
255 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr12Operand()
259 static DecodeStatus decodeBDXAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr20Operand() argument
265 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr20Operand()
266 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDXAddr20Operand()
267 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr20Operand()
271 static DecodeStatus decodeBDLAddr12Len8Operand(MCInst &Inst, uint64_t Field, in decodeBDLAddr12Len8Operand() argument
277 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDLAddr12Len8Operand()
278 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len8Operand()
279 Inst.addOperand(MCOperand::createImm(Length + 1)); in decodeBDLAddr12Len8Operand()
283 static DecodeStatus decodeBDVAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr12Operand() argument
289 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDVAddr12Operand()
290 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDVAddr12Operand()
291 Inst.addOperand(MCOperand::createReg(SystemZMC::VR128Regs[Index])); in decodeBDVAddr12Operand()
295 static DecodeStatus decodeBDAddr32Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp12Operand() argument
298 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp12Operand()
301 static DecodeStatus decodeBDAddr32Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp20Operand() argument
304 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp20Operand()
307 static DecodeStatus decodeBDAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp12Operand() argument
310 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp12Operand()
313 static DecodeStatus decodeBDAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp20Operand() argument
316 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp20Operand()
319 static DecodeStatus decodeBDXAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp12Operand() argument
322 return decodeBDXAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp12Operand()
325 static DecodeStatus decodeBDXAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp20Operand() argument
328 return decodeBDXAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp20Operand()
331 static DecodeStatus decodeBDLAddr64Disp12Len8Operand(MCInst &Inst, in decodeBDLAddr64Disp12Len8Operand() argument
335 return decodeBDLAddr12Len8Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDLAddr64Disp12Len8Operand()
338 static DecodeStatus decodeBDVAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr64Disp12Operand() argument
341 return decodeBDVAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDVAddr64Disp12Operand()
374 uint64_t Inst = 0; in getInstruction() local
376 Inst = (Inst << 8) | Bytes[I]; in getInstruction()
378 return decodeInstruction(Table, MI, Inst, Address, this, STI); in getInstruction()