Lines Matching defs:Inst
56 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, uint64_t RegNo,
61 Inst.addOperand(MCOperand::createReg(LoongArch::R0 + RegNo));
65 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, uint64_t RegNo,
70 Inst.addOperand(MCOperand::createReg(LoongArch::F0 + RegNo));
74 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, uint64_t RegNo,
79 Inst.addOperand(MCOperand::createReg(LoongArch::F0_64 + RegNo));
83 static DecodeStatus DecodeCFRRegisterClass(MCInst &Inst, uint64_t RegNo,
88 Inst.addOperand(MCOperand::createReg(LoongArch::FCC0 + RegNo));
92 static DecodeStatus DecodeFCSRRegisterClass(MCInst &Inst, uint64_t RegNo,
97 Inst.addOperand(MCOperand::createReg(LoongArch::FCSR0 + RegNo));
101 static DecodeStatus DecodeLSX128RegisterClass(MCInst &Inst, uint64_t RegNo,
106 Inst.addOperand(MCOperand::createReg(LoongArch::VR0 + RegNo));
110 static DecodeStatus DecodeLASX256RegisterClass(MCInst &Inst, uint64_t RegNo,
115 Inst.addOperand(MCOperand::createReg(LoongArch::XR0 + RegNo));
119 static DecodeStatus DecodeSCRRegisterClass(MCInst &Inst, uint64_t RegNo,
124 Inst.addOperand(MCOperand::createReg(LoongArch::SCR0 + RegNo));
129 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm,
133 Inst.addOperand(MCOperand::createImm(Imm + P));
138 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm,
144 Inst.addOperand(MCOperand::createImm(SignExtend64<N + S>(Imm << S)));