Lines Matching refs:Inst

83 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,  in decodeRegisterClass()  argument
89 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass()
93 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument
96 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass()
99 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument
102 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass()
105 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument
108 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeGR64BitRegisterClass()
111 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass() argument
114 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16); in DecodeGR128BitRegisterClass()
117 static DecodeStatus DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeADDR64BitRegisterClass() argument
120 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeADDR64BitRegisterClass()
123 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP32BitRegisterClass() argument
126 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP32Regs, 16); in DecodeFP32BitRegisterClass()
129 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP64BitRegisterClass() argument
132 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP64Regs, 16); in DecodeFP64BitRegisterClass()
135 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP128BitRegisterClass() argument
138 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP128Regs, 16); in DecodeFP128BitRegisterClass()
141 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR32BitRegisterClass() argument
144 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR32Regs, 32); in DecodeVR32BitRegisterClass()
147 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR64BitRegisterClass() argument
150 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR64Regs, 32); in DecodeVR64BitRegisterClass()
153 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR128BitRegisterClass() argument
156 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR128Regs, 32); in DecodeVR128BitRegisterClass()
159 static DecodeStatus DecodeAR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeAR32BitRegisterClass() argument
162 return decodeRegisterClass(Inst, RegNo, SystemZMC::AR32Regs, 16); in DecodeAR32BitRegisterClass()
165 static DecodeStatus DecodeCR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCR64BitRegisterClass() argument
168 return decodeRegisterClass(Inst, RegNo, SystemZMC::CR64Regs, 16); in DecodeCR64BitRegisterClass()
172 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() argument
175 Inst.addOperand(MCOperand::createImm(Imm)); in decodeUImmOperand()
180 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() argument
183 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand()
187 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() argument
189 return decodeUImmOperand<1>(Inst, Imm); in decodeU1ImmOperand()
192 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() argument
194 return decodeUImmOperand<2>(Inst, Imm); in decodeU2ImmOperand()
197 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() argument
199 return decodeUImmOperand<3>(Inst, Imm); in decodeU3ImmOperand()
202 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() argument
204 return decodeUImmOperand<4>(Inst, Imm); in decodeU4ImmOperand()
207 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand() argument
209 return decodeUImmOperand<6>(Inst, Imm); in decodeU6ImmOperand()
212 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() argument
214 return decodeUImmOperand<8>(Inst, Imm); in decodeU8ImmOperand()
217 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() argument
219 return decodeUImmOperand<12>(Inst, Imm); in decodeU12ImmOperand()
222 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand() argument
224 return decodeUImmOperand<16>(Inst, Imm); in decodeU16ImmOperand()
227 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand() argument
229 return decodeUImmOperand<32>(Inst, Imm); in decodeU32ImmOperand()
232 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() argument
234 return decodeSImmOperand<8>(Inst, Imm); in decodeS8ImmOperand()
237 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand() argument
239 return decodeSImmOperand<16>(Inst, Imm); in decodeS16ImmOperand()
242 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS32ImmOperand() argument
244 return decodeSImmOperand<32>(Inst, Imm); in decodeS32ImmOperand()
248 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm, in decodePCDBLOperand() argument
256 Inst, Decoder)) in decodePCDBLOperand()
257 Inst.addOperand(MCOperand::createImm(Value)); in decodePCDBLOperand()
262 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC12DBLBranchOperand() argument
265 return decodePCDBLOperand<12>(Inst, Imm, Address, true, Decoder); in decodePC12DBLBranchOperand()
268 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC16DBLBranchOperand() argument
271 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder); in decodePC16DBLBranchOperand()
274 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC24DBLBranchOperand() argument
277 return decodePCDBLOperand<24>(Inst, Imm, Address, true, Decoder); in decodePC24DBLBranchOperand()
280 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLBranchOperand() argument
283 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder); in decodePC32DBLBranchOperand()
286 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLOperand() argument
289 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder); in decodePC32DBLOperand()
292 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
297 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr12Operand()
298 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDAddr12Operand()
302 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
307 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr20Operand()
308 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDAddr20Operand()
312 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
318 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr12Operand()
319 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDXAddr12Operand()
320 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr12Operand()
324 static DecodeStatus decodeBDXAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr20Operand() argument
330 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr20Operand()
331 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDXAddr20Operand()
332 Inst.addOperand(MCOperand::createReg(Index == 0 ? 0 : Regs[Index])); in decodeBDXAddr20Operand()
336 static DecodeStatus decodeBDLAddr12Len4Operand(MCInst &Inst, uint64_t Field, in decodeBDLAddr12Len4Operand() argument
342 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDLAddr12Len4Operand()
343 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len4Operand()
344 Inst.addOperand(MCOperand::createImm(Length + 1)); in decodeBDLAddr12Len4Operand()
348 static DecodeStatus decodeBDLAddr12Len8Operand(MCInst &Inst, uint64_t Field, in decodeBDLAddr12Len8Operand() argument
354 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDLAddr12Len8Operand()
355 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len8Operand()
356 Inst.addOperand(MCOperand::createImm(Length + 1)); in decodeBDLAddr12Len8Operand()
360 static DecodeStatus decodeBDRAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDRAddr12Operand() argument
366 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDRAddr12Operand()
367 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDRAddr12Operand()
368 Inst.addOperand(MCOperand::createReg(Regs[Length])); in decodeBDRAddr12Operand()
372 static DecodeStatus decodeBDVAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr12Operand() argument
378 Inst.addOperand(MCOperand::createReg(Base == 0 ? 0 : Regs[Base])); in decodeBDVAddr12Operand()
379 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDVAddr12Operand()
380 Inst.addOperand(MCOperand::createReg(SystemZMC::VR128Regs[Index])); in decodeBDVAddr12Operand()
384 static DecodeStatus decodeBDAddr32Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp12Operand() argument
387 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp12Operand()
390 static DecodeStatus decodeBDAddr32Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr32Disp20Operand() argument
393 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR32Regs); in decodeBDAddr32Disp20Operand()
396 static DecodeStatus decodeBDAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp12Operand() argument
399 return decodeBDAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp12Operand()
402 static DecodeStatus decodeBDAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr64Disp20Operand() argument
405 return decodeBDAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDAddr64Disp20Operand()
408 static DecodeStatus decodeBDXAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp12Operand() argument
411 return decodeBDXAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp12Operand()
414 static DecodeStatus decodeBDXAddr64Disp20Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr64Disp20Operand() argument
417 return decodeBDXAddr20Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDXAddr64Disp20Operand()
420 static DecodeStatus decodeBDLAddr64Disp12Len4Operand(MCInst &Inst, in decodeBDLAddr64Disp12Len4Operand() argument
424 return decodeBDLAddr12Len4Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDLAddr64Disp12Len4Operand()
427 static DecodeStatus decodeBDLAddr64Disp12Len8Operand(MCInst &Inst, in decodeBDLAddr64Disp12Len8Operand() argument
431 return decodeBDLAddr12Len8Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDLAddr64Disp12Len8Operand()
434 static DecodeStatus decodeBDRAddr64Disp12Operand(MCInst &Inst, in decodeBDRAddr64Disp12Operand() argument
438 return decodeBDRAddr12Operand(Inst, Field, SystemZMC::GR64Regs); in decodeBDRAddr64Disp12Operand()
441 static DecodeStatus decodeBDVAddr64Disp12Operand(MCInst &Inst, uint64_t Field, in decodeBDVAddr64Disp12Operand() argument
444 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()