Lines Matching refs:Inst
82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument
93 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass()
97 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument
100 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass()
103 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument
106 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass()
109 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument
112 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeGR64BitRegisterClass()
115 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass() argument
118 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16); in DecodeGR128BitRegisterClass()
122 DecodeADDR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeADDR32BitRegisterClass() argument
124 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16, true); in DecodeADDR32BitRegisterClass()
128 DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeADDR64BitRegisterClass() argument
130 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16, true); in DecodeADDR64BitRegisterClass()
133 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP32BitRegisterClass() argument
136 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP32Regs, 16); in DecodeFP32BitRegisterClass()
139 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP64BitRegisterClass() argument
142 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP64Regs, 16); in DecodeFP64BitRegisterClass()
145 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFP128BitRegisterClass() argument
148 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP128Regs, 16); in DecodeFP128BitRegisterClass()
151 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR32BitRegisterClass() argument
154 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR32Regs, 32); in DecodeVR32BitRegisterClass()
157 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR64BitRegisterClass() argument
160 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR64Regs, 32); in DecodeVR64BitRegisterClass()
163 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeVR128BitRegisterClass() argument
166 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR128Regs, 32); in DecodeVR128BitRegisterClass()
169 static DecodeStatus DecodeAR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeAR32BitRegisterClass() argument
172 return decodeRegisterClass(Inst, RegNo, SystemZMC::AR32Regs, 16); in DecodeAR32BitRegisterClass()
175 static DecodeStatus DecodeCR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCR64BitRegisterClass() argument
178 return decodeRegisterClass(Inst, RegNo, SystemZMC::CR64Regs, 16); in DecodeCR64BitRegisterClass()
182 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() argument
185 Inst.addOperand(MCOperand::createImm(Imm)); in decodeUImmOperand()
190 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() argument
193 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand()
197 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() argument
200 return decodeUImmOperand<1>(Inst, Imm); in decodeU1ImmOperand()
203 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() argument
206 return decodeUImmOperand<2>(Inst, Imm); in decodeU2ImmOperand()
209 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() argument
212 return decodeUImmOperand<3>(Inst, Imm); in decodeU3ImmOperand()
215 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() argument
218 return decodeUImmOperand<4>(Inst, Imm); in decodeU4ImmOperand()
221 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() argument
224 return decodeUImmOperand<8>(Inst, Imm); in decodeU8ImmOperand()
227 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() argument
230 return decodeUImmOperand<12>(Inst, Imm); in decodeU12ImmOperand()
233 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand() argument
236 return decodeUImmOperand<16>(Inst, Imm); in decodeU16ImmOperand()
239 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand() argument
242 return decodeUImmOperand<32>(Inst, Imm); in decodeU32ImmOperand()
245 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() argument
248 return decodeSImmOperand<8>(Inst, Imm); in decodeS8ImmOperand()
251 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand() argument
254 return decodeSImmOperand<16>(Inst, Imm); in decodeS16ImmOperand()
257 static DecodeStatus decodeS20ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS20ImmOperand() argument
260 return decodeSImmOperand<20>(Inst, Imm); in decodeS20ImmOperand()
263 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS32ImmOperand() argument
266 return decodeSImmOperand<32>(Inst, Imm); in decodeS32ImmOperand()
270 static DecodeStatus decodeLenOperand(MCInst &Inst, uint64_t Imm, in decodeLenOperand() argument
275 Inst.addOperand(MCOperand::createImm(Imm + 1)); in decodeLenOperand()
280 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm, in decodePCDBLOperand() argument
287 Inst, Decoder)) in decodePCDBLOperand()
288 Inst.addOperand(MCOperand::createImm(Value)); in decodePCDBLOperand()
293 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC12DBLBranchOperand() argument
296 return decodePCDBLOperand<12>(Inst, Imm, Address, true, Decoder); in decodePC12DBLBranchOperand()
299 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC16DBLBranchOperand() argument
302 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder); in decodePC16DBLBranchOperand()
305 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC24DBLBranchOperand() argument
308 return decodePCDBLOperand<24>(Inst, Imm, Address, true, Decoder); in decodePC24DBLBranchOperand()
311 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLBranchOperand() argument
314 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder); in decodePC32DBLBranchOperand()
317 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLOperand() argument
320 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder); in decodePC32DBLOperand()
354 uint64_t Inst = 0; in getInstruction() local
356 Inst = (Inst << 8) | Bytes[I]; in getInstruction()
358 return decodeInstruction(Table, MI, Inst, Address, this, STI); in getInstruction()