Lines Matching refs:Inst

82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,  in decodeRegisterClass()  argument
88 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass()
92 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument
95 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass()
98 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument
101 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass()
104 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument
107 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeGR64BitRegisterClass()
110 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass() argument
113 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16); in DecodeGR128BitRegisterClass()
116 static DecodeStatus DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeADDR64BitRegisterClass() argument
119 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeADDR64BitRegisterClass()
122 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP32BitRegisterClass() argument
125 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP32Regs, 16); in DecodeFP32BitRegisterClass()
128 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP64BitRegisterClass() argument
131 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP64Regs, 16); in DecodeFP64BitRegisterClass()
134 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP128BitRegisterClass() argument
137 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP128Regs, 16); in DecodeFP128BitRegisterClass()
140 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR32BitRegisterClass() argument
143 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR32Regs, 32); in DecodeVR32BitRegisterClass()
146 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR64BitRegisterClass() argument
149 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR64Regs, 32); in DecodeVR64BitRegisterClass()
152 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR128BitRegisterClass() argument
155 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR128Regs, 32); in DecodeVR128BitRegisterClass()
158 static DecodeStatus DecodeAR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeAR32BitRegisterClass() argument
161 return decodeRegisterClass(Inst, RegNo, SystemZMC::AR32Regs, 16); in DecodeAR32BitRegisterClass()
164 static DecodeStatus DecodeCR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCR64BitRegisterClass() argument
167 return decodeRegisterClass(Inst, RegNo, SystemZMC::CR64Regs, 16); in DecodeCR64BitRegisterClass()
171 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() argument
174 Inst.addOperand(MCOperand::createImm(Imm)); in decodeUImmOperand()
179 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() argument
182 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand()
186 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() argument
188 return decodeUImmOperand<1>(Inst, Imm); in decodeU1ImmOperand()
191 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() argument
193 return decodeUImmOperand<2>(Inst, Imm); in decodeU2ImmOperand()
196 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() argument
198 return decodeUImmOperand<3>(Inst, Imm); in decodeU3ImmOperand()
201 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() argument
203 return decodeUImmOperand<4>(Inst, Imm); in decodeU4ImmOperand()
206 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand() argument
208 return decodeUImmOperand<6>(Inst, Imm); in decodeU6ImmOperand()
211 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() argument
213 return decodeUImmOperand<8>(Inst, Imm); in decodeU8ImmOperand()
216 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() argument
218 return decodeUImmOperand<12>(Inst, Imm); in decodeU12ImmOperand()
221 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand() argument
223 return decodeUImmOperand<16>(Inst, Imm); in decodeU16ImmOperand()
226 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand() argument
228 return decodeUImmOperand<32>(Inst, Imm); in decodeU32ImmOperand()
231 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() argument
233 return decodeSImmOperand<8>(Inst, Imm); in decodeS8ImmOperand()
236 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand() argument
238 return decodeSImmOperand<16>(Inst, Imm); in decodeS16ImmOperand()
241 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS32ImmOperand() argument
243 return decodeSImmOperand<32>(Inst, Imm); in decodeS32ImmOperand()
247 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm, in decodePCDBLOperand() argument
255 Inst, Decoder)) in decodePCDBLOperand()
256 Inst.addOperand(MCOperand::createImm(Value)); in decodePCDBLOperand()
261 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC12DBLBranchOperand() argument
264 return decodePCDBLOperand<12>(Inst, Imm, Address, true, Decoder); in decodePC12DBLBranchOperand()
267 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC16DBLBranchOperand() argument
270 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder); in decodePC16DBLBranchOperand()
273 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC24DBLBranchOperand() argument
276 return decodePCDBLOperand<24>(Inst, Imm, Address, true, Decoder); in decodePC24DBLBranchOperand()
279 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLBranchOperand() argument
282 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder); in decodePC32DBLBranchOperand()
285 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLOperand() argument
288 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder); in decodePC32DBLOperand()
291 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
296 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr12Operand()
297 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDAddr12Operand()
301 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
306 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr20Operand()
307 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDAddr20Operand()
311 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
317 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr12Operand()
318 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDXAddr12Operand()
319 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr12Operand()
323 static DecodeStatus decodeBDXAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr20Operand() argument
329 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr20Operand()
330 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDXAddr20Operand()
331 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr20Operand()
335 static DecodeStatus decodeBDLAddr12Len4Operand(MCInst &Inst, uint64_t Field, in decodeBDLAddr12Len4Operand() argument
341 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDLAddr12Len4Operand()
342 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len4Operand()
343 Inst.addOperand(MCOperand::createImm(Length + 1)); in decodeBDLAddr12Len4Operand()
347 static DecodeStatus decodeBDLAddr12Len8Operand(MCInst &Inst, uint64_t Field, in decodeBDLAddr12Len8Operand() argument
353 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDLAddr12Len8Operand()
354 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len8Operand()
355 Inst.addOperand(MCOperand::createImm(Length + 1)); in decodeBDLAddr12Len8Operand()
359 static DecodeStatus decodeBDRAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDRAddr12Operand() argument
365 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDRAddr12Operand()
366 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDRAddr12Operand()
367 Inst.addOperand(MCOperand::createReg(Regs[Length])); in decodeBDRAddr12Operand()
371 static DecodeStatus decodeBDVAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr12Operand() argument
377 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDVAddr12Operand()
378 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDVAddr12Operand()
379 Inst.addOperand(MCOperand::createReg(SystemZMC::VR128Regs[Index])); in decodeBDVAddr12Operand()
383 static DecodeStatus decodeBDAddr32Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp12Operand() argument
386 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp12Operand()
389 static DecodeStatus decodeBDAddr32Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp20Operand() argument
392 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp20Operand()
395 static DecodeStatus decodeBDAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp12Operand() argument
398 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp12Operand()
401 static DecodeStatus decodeBDAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp20Operand() argument
404 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp20Operand()
407 static DecodeStatus decodeBDXAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp12Operand() argument
410 return decodeBDXAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp12Operand()
413 static DecodeStatus decodeBDXAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp20Operand() argument
416 return decodeBDXAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp20Operand()
419 static DecodeStatus decodeBDLAddr64Disp12Len4Operand(MCInst &Inst, in decodeBDLAddr64Disp12Len4Operand() argument
423 return decodeBDLAddr12Len4Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDLAddr64Disp12Len4Operand()
426 static DecodeStatus decodeBDLAddr64Disp12Len8Operand(MCInst &Inst, in decodeBDLAddr64Disp12Len8Operand() argument
430 return decodeBDLAddr12Len8Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDLAddr64Disp12Len8Operand()
433 static DecodeStatus decodeBDRAddr64Disp12Operand(MCInst &Inst, in decodeBDRAddr64Disp12Operand() argument
437 return decodeBDRAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDRAddr64Disp12Operand()
440 static DecodeStatus decodeBDVAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr64Disp12Operand() argument
443 return decodeBDVAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDVAddr64Disp12Operand()
477 uint64_t Inst = 0; in getInstruction() local
479 Inst = (Inst << 8) | Bytes[I]; in getInstruction()
481 return decodeInstruction(Table, MI, Inst, Address, this, STI); in getInstruction()