Lines Matching defs:Inst

172 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
175 Inst.addOperand(MCOperand::CreateReg(Regs[RegNo]));
179 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo,
182 return decodeRegisterClass(Inst, RegNo, CRRegs);
185 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo,
188 return decodeRegisterClass(Inst, RegNo, CRBITRegs);
191 static DecodeStatus DecodeF4RCRegisterClass(MCInst &Inst, uint64_t RegNo,
194 return decodeRegisterClass(Inst, RegNo, FRegs);
197 static DecodeStatus DecodeF8RCRegisterClass(MCInst &Inst, uint64_t RegNo,
200 return decodeRegisterClass(Inst, RegNo, FRegs);
203 static DecodeStatus DecodeVRRCRegisterClass(MCInst &Inst, uint64_t RegNo,
206 return decodeRegisterClass(Inst, RegNo, VRegs);
209 static DecodeStatus DecodeVSRCRegisterClass(MCInst &Inst, uint64_t RegNo,
212 return decodeRegisterClass(Inst, RegNo, VSRegs);
215 static DecodeStatus DecodeVSFRCRegisterClass(MCInst &Inst, uint64_t RegNo,
218 return decodeRegisterClass(Inst, RegNo, VSFRegs);
221 static DecodeStatus DecodeGPRCRegisterClass(MCInst &Inst, uint64_t RegNo,
224 return decodeRegisterClass(Inst, RegNo, GPRegs);
227 static DecodeStatus DecodeGPRC_NOR0RegisterClass(MCInst &Inst, uint64_t RegNo,
230 return decodeRegisterClass(Inst, RegNo, GP0Regs);
233 static DecodeStatus DecodeG8RCRegisterClass(MCInst &Inst, uint64_t RegNo,
236 return decodeRegisterClass(Inst, RegNo, G8Regs);
243 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm,
246 Inst.addOperand(MCOperand::CreateImm(Imm));
251 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm,
254 Inst.addOperand(MCOperand::CreateImm(SignExtend64<N>(Imm)));
258 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm,
268 switch (Inst.getOpcode()) {
277 Inst.addOperand(MCOperand::CreateReg(GP0Regs[Base]));
284 Inst.insert(Inst.begin(), MCOperand::CreateReg(GP0Regs[Base]));
288 Inst.addOperand(MCOperand::CreateImm(SignExtend64<16>(Disp)));
289 Inst.addOperand(MCOperand::CreateReg(GP0Regs[Base]));
293 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm,
303 if (Inst.getOpcode() == PPC::LDU)
305 Inst.addOperand(MCOperand::CreateReg(GP0Regs[Base]));
306 else if (Inst.getOpcode() == PPC::STDU)
307 Inst.insert(Inst.begin(), MCOperand::CreateReg(GP0Regs[Base]));
309 Inst.addOperand(MCOperand::CreateImm(SignExtend64<16>(Disp << 2)));
310 Inst.addOperand(MCOperand::CreateReg(GP0Regs[Base]));
314 static DecodeStatus decodeCRBitMOperand(MCInst &Inst, uint64_t Imm,
321 Inst.addOperand(MCOperand::CreateReg(CRRegs[7 - Zeros]));
341 uint32_t Inst = (Bytes[0] << 24) |
346 return decodeInstruction(DecoderTable32, MI, Inst, Address, this, STI);