Lines Matching refs:RegNo
82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument
85 assert(RegNo < Size && "Invalid register"); in decodeRegisterClass()
86 if (IsAddr && RegNo == 0) { in decodeRegisterClass()
87 RegNo = SystemZ::NoRegister; in decodeRegisterClass()
89 RegNo = Regs[RegNo]; in decodeRegisterClass()
90 if (RegNo == 0) in decodeRegisterClass()
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()