Lines Matching defs:Inst

81 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
92 Inst.addOperand(MCOperand::createReg(RegNo));
96 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
99 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16);
102 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
105 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16);
108 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
111 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16);
114 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
117 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16);
121 DecodeADDR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address,
123 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16, true);
127 DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address,
129 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16, true);
132 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
135 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP32Regs, 16);
138 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
141 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP64Regs, 16);
144 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
147 return decodeRegisterClass(Inst, RegNo, SystemZMC::FP128Regs, 16);
150 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
153 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR32Regs, 32);
156 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
159 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR64Regs, 32);
162 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
165 return decodeRegisterClass(Inst, RegNo, SystemZMC::VR128Regs, 32);
168 static DecodeStatus DecodeAR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
171 return decodeRegisterClass(Inst, RegNo, SystemZMC::AR32Regs, 16);
174 static DecodeStatus DecodeCR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
177 return decodeRegisterClass(Inst, RegNo, SystemZMC::CR64Regs, 16);
181 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) {
184 Inst.addOperand(MCOperand::createImm(Imm));
189 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) {
192 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm)));
196 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm,
199 return decodeUImmOperand<1>(Inst, Imm);
202 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm,
205 return decodeUImmOperand<2>(Inst, Imm);
208 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm,
211 return decodeUImmOperand<3>(Inst, Imm);
214 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm,
217 return decodeUImmOperand<4>(Inst, Imm);
220 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm,
223 return decodeUImmOperand<8>(Inst, Imm);
226 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm,
229 return decodeUImmOperand<12>(Inst, Imm);
232 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm,
235 return decodeUImmOperand<16>(Inst, Imm);
238 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm,
241 return decodeUImmOperand<32>(Inst, Imm);
244 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm,
247 return decodeSImmOperand<8>(Inst, Imm);
250 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm,
253 return decodeSImmOperand<16>(Inst, Imm);
256 static DecodeStatus decodeS20ImmOperand(MCInst &Inst, uint64_t Imm,
259 return decodeSImmOperand<20>(Inst, Imm);
262 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm,
265 return decodeSImmOperand<32>(Inst, Imm);
269 static DecodeStatus decodeLenOperand(MCInst &Inst, uint64_t Imm,
274 Inst.addOperand(MCOperand::createImm(Imm + 1));
279 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm,
286 Inst, Decoder))
287 Inst.addOperand(MCOperand::createImm(Value));
292 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm,
295 return decodePCDBLOperand<12>(Inst, Imm, Address, true, Decoder);
298 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm,
301 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder);
304 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm,
307 return decodePCDBLOperand<24>(Inst, Imm, Address, true, Decoder);
310 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm,
313 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder);
316 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm,
319 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder);
353 uint64_t Inst = 0;
355 Inst = (Inst << 8) | Bytes[I];
357 return decodeInstruction(Table, MI, Inst, Address, this, STI);