Lines Matching refs:InstName
541 const char *RegName, const char *InstName) { in encodeRegister() argument
544 llvm::report_fatal_error(std::string(InstName) + ": Can't find register " + in encodeRegister()
550 const char *InstName) { in encodeGPRegister() argument
551 return encodeRegister(OpReg, WantGPRegs, RegName, InstName); in encodeGPRegister()
555 const char *InstName) { in encodeSRegister() argument
556 return encodeRegister(OpReg, WantSRegs, RegName, InstName); in encodeSRegister()
560 const char *InstName) { in encodeDRegister() argument
561 return encodeRegister(OpReg, WantDRegs, RegName, InstName); in encodeDRegister()
565 const char *InstName) { in encodeQRegister() argument
566 return encodeRegister(OpReg, WantQRegs, RegName, InstName); in encodeQRegister()
569 void verifyPOrNotW(IValueT Address, const char *InstName) { in verifyPOrNotW() argument
573 llvm::report_fatal_error(std::string(InstName) + in verifyPOrNotW()
578 const char *Reg2Name, const char *InstName) { in verifyRegsNotEq() argument
582 llvm::report_fatal_error(std::string(InstName) + ": " + Reg1Name + "=" + in verifyRegsNotEq()
586 void verifyRegNotPc(IValueT Reg, const char *RegName, const char *InstName) { in verifyRegNotPc() argument
587 verifyRegsNotEq(Reg, RegName, RegARM32::Encoded_Reg_pc, "pc", InstName); in verifyRegNotPc()
591 const char *InstName) { in verifyAddrRegNotPc() argument
595 llvm::report_fatal_error(std::string(InstName) + ": " + RegName + in verifyAddrRegNotPc()
600 const char *InstName) { in verifyRegNotPcWhenSetFlags() argument
604 llvm::report_fatal_error(std::string(InstName) + ": " + in verifyRegNotPcWhenSetFlags()
797 EmitChecks RuleChecks, const char *InstName) { in emitType01() argument
802 verifyRegNotPcWhenSetFlags(Rd, SetFlags, InstName); in emitType01()
817 EmitChecks RuleChecks, const char *InstName) { in emitType01() argument
818 IValueT Rd = encodeGPRegister(OpRd, "Rd", InstName); in emitType01()
819 IValueT Rn = encodeGPRegister(OpRn, "Rn", InstName); in emitType01()
820 emitType01(Cond, Opcode, Rd, Rn, OpSrc1, SetFlags, RuleChecks, InstName); in emitType01()
826 const char *InstName) { in emitType01() argument
831 llvm::report_fatal_error(std::string(InstName) + in emitType01()
843 RuleChecks, InstName); in emitType01()
849 RuleChecks, InstName); in emitType01()
857 llvm::report_fatal_error(std::string(InstName) + in emitType01()
869 Src1Value, RuleChecks, InstName); in emitType01()
880 RuleChecks, InstName); in emitType01()
913 const char *InstName) { in emitCompareOp() argument
929 IValueT Rn = encodeGPRegister(OpRn, "Rn", InstName); in emitCompareOp()
930 emitType01(Cond, Opcode, Rd, Rn, OpSrc1, SetFlags, NoChecks, InstName); in emitCompareOp()
946 const TargetInfo &TInfo, const char *InstName) { in emitMemOp() argument
950 llvm::report_fatal_error(std::string(InstName) + in emitMemOp()
964 verifyRegNotPc(Rn, "Rn", InstName); in emitMemOp()
965 verifyPOrNotW(Address, InstName); in emitMemOp()
969 llvm::report_fatal_error(std::string(InstName) + in emitMemOp()
987 verifyPOrNotW(Address, InstName); in emitMemOp()
988 verifyRegNotPc(Rm, "Rm", InstName); in emitMemOp()
990 verifyRegNotPc(Rt, "Rt", InstName); in emitMemOp()
992 verifyRegNotPc(Rn, "Rn", InstName); in emitMemOp()
993 verifyRegsNotEq(Rn, "Rn", Rt, "Rt", InstName); in emitMemOp()
1004 const char *InstName) { in emitMemOpEnc3() argument
1008 llvm::report_fatal_error(std::string(InstName) + in emitMemOpEnc3()
1021 verifyPOrNotW(Address, InstName); in emitMemOpEnc3()
1022 verifyRegNotPc(Rt, "Rt", InstName); in emitMemOpEnc3()
1024 verifyRegsNotEq(getGPRReg(kRnShift, Address), "Rn", Rt, "Rt", InstName); in emitMemOpEnc3()
1040 verifyPOrNotW(Address, InstName); in emitMemOpEnc3()
1041 verifyRegNotPc(Rt, "Rt", InstName); in emitMemOpEnc3()
1042 verifyAddrRegNotPc(kRmShift, Address, "Rm", InstName); in emitMemOpEnc3()
1045 verifyRegNotPc(Rn, "Rn", InstName); in emitMemOpEnc3()
1046 verifyRegsNotEq(Rn, "Rn", Rt, "Rt", InstName); in emitMemOpEnc3()
1050 llvm::report_fatal_error(std::string(InstName) + in emitMemOpEnc3()
1076 const char *InstName) { in emitInsertExtractInt() argument
1077 const IValueT Rt = encodeGPRegister(OpRt, "Rt", InstName); in emitInsertExtractInt()
1078 IValueT Dn = mapQRegToDReg(encodeQRegister(OpQn, "Qn", InstName)); in emitInsertExtractInt()
1087 llvm::report_fatal_error(std::string(InstName) + in emitInsertExtractInt()
1156 const char *InstName) { in emitSignExtend() argument
1157 IValueT Rd = encodeGPRegister(OpRd, "Rd", InstName); in emitSignExtend()
1158 IValueT Rm = encodeGPRegister(OpSrc0, "Rm", InstName); in emitSignExtend()
1165 llvm::report_fatal_error(std::string(InstName) + ": Type " + in emitSignExtend()
1192 llvm::report_fatal_error(std::string(InstName) + in emitSignExtend()
1285 const Operand *OpDm, const char *InstName) { in emitVFPddd() argument
1286 IValueT Dd = encodeDRegister(OpDd, "Dd", InstName); in emitVFPddd()
1287 IValueT Dn = encodeDRegister(OpDn, "Dn", InstName); in emitVFPddd()
1288 IValueT Dm = encodeDRegister(OpDm, "Dm", InstName); in emitVFPddd()
1309 const Operand *OpSm, const char *InstName) { in emitVFPsss() argument
1310 const IValueT Sd = encodeSRegister(OpSd, "Sd", InstName); in emitVFPsss()
1311 const IValueT Sn = encodeSRegister(OpSn, "Sn", InstName); in emitVFPsss()
1312 const IValueT Sm = encodeSRegister(OpSm, "Sm", InstName); in emitVFPsss()
1622 const char *InstName) { in emitMemExOp() argument
1623 IValueT Rd = encodeGPRegister(OpRd, "Rd", InstName); in emitMemExOp()
1627 llvm::report_fatal_error(std::string(InstName) + ": Type " + in emitMemExOp()
1644 llvm::report_fatal_error(std::string(InstName) + in emitMemExOp()
1689 const char *InstName) { in emitShift() argument
1691 IValueT Rd = encodeGPRegister(OpRd, "Rd", InstName); in emitShift()
1692 IValueT Rm = encodeGPRegister(OpRm, "Rm", InstName); in emitShift()
1696 llvm::report_fatal_error(std::string(InstName) + in emitShift()
1707 Value, RdIsPcAndSetFlags, InstName); in emitShift()
1717 IValueT Rs = encodeGPRegister(OpSrc1, "Rs", InstName); in emitShift()
1718 verifyRegNotPc(Rd, "Rd", InstName); in emitShift()
1719 verifyRegNotPc(Rm, "Rm", InstName); in emitShift()
1720 verifyRegNotPc(Rs, "Rs", InstName); in emitShift()
1722 encodeShiftRotateReg(Rm, Shift, Rs), NoChecks, InstName); in emitShift()
2126 const char *InstName) { in emitRdRm() argument
2127 IValueT Rd = encodeGPRegister(OpRd, "Rd", InstName); in emitRdRm()
2128 IValueT Rm = encodeGPRegister(OpRm, "Rm", InstName); in emitRdRm()
2910 const char *InstName) { in emitVMem1Op() argument
2917 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()
2942 const char *InstName) { in emitVMem1Op() argument
2949 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()