Lines Matching refs:r_dst

182 static TILEGXInstr *mk_iMOVds_RR ( HReg r_dst, HReg r_src )  in mk_iMOVds_RR()  argument
184 vassert(hregClass(r_dst) == hregClass(r_src)); in mk_iMOVds_RR()
186 return TILEGXInstr_Alu(GXalu_OR, r_dst, r_src, TILEGXRH_Reg(r_src)); in mk_iMOVds_RR()
465 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
473 r_dst, am_addr)); in iselWordExpr_R_wrk()
474 return r_dst; in iselWordExpr_R_wrk()
527 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
546 addInstr(env, TILEGXInstr_Alu(aluOp, r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
547 return r_dst; in iselWordExpr_R_wrk()
576 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
604 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
607 r_dst, r_srcL, ri_srcR)); in iselWordExpr_R_wrk()
609 return r_dst; in iselWordExpr_R_wrk()
749 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
755 r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
756 return r_dst; in iselWordExpr_R_wrk()
764 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
773 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, tHi_1, in iselWordExpr_R_wrk()
776 return r_dst; in iselWordExpr_R_wrk()
790 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
794 addInstr(env, TILEGXInstr_LI(r_dst, 0x1)); in iselWordExpr_R_wrk()
795 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, r_dst, r_srcR)); in iselWordExpr_R_wrk()
796 return r_dst; in iselWordExpr_R_wrk()
804 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
808 addInstr(env, TILEGXInstr_Alu(GXalu_NOR, r_dst, r_srcL, r_srcR)); in iselWordExpr_R_wrk()
809 return r_dst; in iselWordExpr_R_wrk()
867 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
870 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_dst, r_src, 0, 0)); in iselWordExpr_R_wrk()
871 return r_dst; in iselWordExpr_R_wrk()
876 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
879 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 0)); in iselWordExpr_R_wrk()
880 return r_dst; in iselWordExpr_R_wrk()
886 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
889 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 7)); in iselWordExpr_R_wrk()
890 return r_dst; in iselWordExpr_R_wrk()
895 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
898 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 15)); in iselWordExpr_R_wrk()
899 return r_dst; in iselWordExpr_R_wrk()
903 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
906 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_dst, r_src, 0, 31)); in iselWordExpr_R_wrk()
907 return r_dst; in iselWordExpr_R_wrk()
911 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
914 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 31)); in iselWordExpr_R_wrk()
915 return r_dst; in iselWordExpr_R_wrk()
919 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
928 addInstr(env, TILEGXInstr_Cmp(False, True, r_dst, tmp, in iselWordExpr_R_wrk()
930 return r_dst; in iselWordExpr_R_wrk()
934 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
941 addInstr(env, TILEGXInstr_Cmp(False, True, r_dst, r_src, in iselWordExpr_R_wrk()
943 return r_dst; in iselWordExpr_R_wrk()
947 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
950 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, hregTILEGX_R63(), in iselWordExpr_R_wrk()
953 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, r_dst, in iselWordExpr_R_wrk()
955 addInstr(env, TILEGXInstr_Shft(GXshft_SRA, True, r_dst, r_dst, in iselWordExpr_R_wrk()
957 return r_dst; in iselWordExpr_R_wrk()
965 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
967 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, hregTILEGX_R63(), in iselWordExpr_R_wrk()
969 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, r_dst, in iselWordExpr_R_wrk()
971 return r_dst; in iselWordExpr_R_wrk()
976 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
979 addInstr(env, TILEGXInstr_Unary(GXun_CLZ, r_dst, r_src)); in iselWordExpr_R_wrk()
981 addInstr(env, TILEGXInstr_Unary(GXun_CTZ, r_dst, r_src)); in iselWordExpr_R_wrk()
982 return r_dst; in iselWordExpr_R_wrk()
987 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
994 addInstr(env, TILEGXInstr_Cmp(False, False, r_dst, r_src, in iselWordExpr_R_wrk()
996 return r_dst; in iselWordExpr_R_wrk()
1025 HReg r_dst; in iselWordExpr_R_wrk() local
1027 r_dst = newVRegI(env); in iselWordExpr_R_wrk()
1031 r_dst, am_addr)); in iselWordExpr_R_wrk()
1032 return r_dst; in iselWordExpr_R_wrk()
1045 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1049 addInstr(env, TILEGXInstr_MovCond(r_dst, r0, TILEGXRH_Reg(r1), in iselWordExpr_R_wrk()
1052 return r_dst; in iselWordExpr_R_wrk()
1060 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1079 addInstr(env, TILEGXInstr_LI(r_dst, (ULong) l)); in iselWordExpr_R_wrk()
1080 return r_dst; in iselWordExpr_R_wrk()
1085 HReg r_dst = newVRegI(env); in iselWordExpr_R_wrk() local
1093 addInstr(env, mk_iMOVds_RR(r_dst, hregTILEGX_R0())); in iselWordExpr_R_wrk()
1095 return r_dst; in iselWordExpr_R_wrk()
1342 HReg r_dst = newVRegI(env); in iselCondCode_wrk() local
1346 addInstr(env, TILEGXInstr_LI(r_dst, 0x1)); in iselCondCode_wrk()
1347 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, r_dst, r_srcR)); in iselCondCode_wrk()
1356 r_dst)); in iselCondCode_wrk()
1361 HReg r_dst = iselWordExpr_R_wrk(env, e); in iselCondCode_wrk() local
1369 r_dst)); in iselCondCode_wrk()
1446 HReg r_dst = lookupIRTemp(env, tmp); in iselStmt() local
1453 addInstr(env, mk_iMOVds_RR(r_dst, r_src)); in iselStmt()
1472 addInstr(env, TILEGXInstr_MovCond(r_dst, in iselStmt()
1501 HReg r_dst = lookupIRTemp(env, d->tmp); in iselStmt() local
1502 addInstr(env, mk_iMOVds_RR(r_dst, hregTILEGX_R0())); in iselStmt()