Home | History | Annotate | Download | only in priv

Lines Matching full:addinstr

126 static void addInstr ( ISelEnv * env, TILEGXInstr * instr )
308 addInstr(env, mk_iMOVds_RR(argregs[argreg],
348 addInstr(env, mk_iMOVds_RR(argregs[i], tmpregs[i]));
356 addInstr(env, TILEGXInstr_CallAlways(cc, target, argiregs));
358 addInstr(env, TILEGXInstr_Call(cc, target, argiregs, src));
472 addInstr(env, TILEGXInstr_Load(toUChar(sizeofIRType(ty)),
546 addInstr(env, TILEGXInstr_Alu(aluOp, r_dst, r_srcL, ri_srcR));
603 addInstr(env, TILEGXInstr_Shft(shftOp, False/*64bit shift */,
606 addInstr(env, TILEGXInstr_Shft(shftOp, True /*32bit shift */,
693 addInstr(env, TILEGXInstr_Cmp(syned, size32, dst, r1, r2, cc));
720 addInstr(env, TILEGXInstr_CmpI(syned, size32, dst, r1, r2, cc));
738 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, tmp, argL, argR));
740 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, tmp, tmp , 31, 31));
742 addInstr(env, TILEGXInstr_MovCond(dst, argL, argR, tmp, TILEGXcc_EZ));
752 addInstr(env, TILEGXInstr_Mul(syned /*Unsigned or Signed */ ,
767 addInstr(env, TILEGXInstr_Shft(GXshft_SLL, False, tHi_1, tHi,
770 addInstr(env, TILEGXInstr_LI(mask, 0xffffffff));
771 addInstr(env, TILEGXInstr_Alu(GXalu_AND, tLo_1, tLo,
773 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, tHi_1,
794 addInstr(env, TILEGXInstr_LI(r_dst, 0x1));
795 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, r_dst, r_srcR));
808 addInstr(env, TILEGXInstr_Alu(GXalu_NOR, r_dst, r_srcL, r_srcR));
821 addInstr(env, TILEGXInstr_CmpI(syned, size32, dst, hregTILEGX_R63(),
843 addInstr(env, TILEGXInstr_Alu(GXalu_AND, dst, src, TILEGXRH_Imm(False, 1)));
857 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, dst, src,
870 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_dst, r_src, 0, 0));
879 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 0));
889 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 7));
898 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 15));
906 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_dst, r_src, 0, 31));
914 addInstr(env, TILEGXInstr_Bf(GXbf_EXTS, r_dst, r_src, 0, 31));
926 addInstr(env, TILEGXInstr_Alu(GXalu_AND, tmp, r_src,
928 addInstr(env, TILEGXInstr_Cmp(False, True, r_dst, tmp,
941 addInstr(env, TILEGXInstr_Cmp(False, True, r_dst, r_src,
950 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, hregTILEGX_R63(),
953 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, r_dst,
955 addInstr(env, TILEGXInstr_Shft(GXshft_SRA, True, r_dst, r_dst,
967 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, hregTILEGX_R63(),
969 addInstr(env, TILEGXInstr_Alu(GXalu_OR, r_dst, r_dst,
979 addInstr(env, TILEGXInstr_Unary(GXun_CLZ, r_dst, r_src));
981 addInstr(env, TILEGXInstr_Unary(GXun_CTZ, r_dst, r_src));
994 addInstr(env, TILEGXInstr_Cmp(False, False, r_dst, r_src,
1005 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, tmp2, hregTILEGX_R63(),
1008 addInstr(env, TILEGXInstr_Alu(GXalu_OR, tmp2, tmp2, TILEGXRH_Reg(tmp1)));
1009 addInstr(env, TILEGXInstr_Shft(GXshft_SRA, False, tmp2, tmp2,
1030 addInstr(env, TILEGXInstr_Load(toUChar(sizeofIRType(ty)),
1049 addInstr(env, TILEGXInstr_MovCond(r_dst, r0, TILEGXRH_Reg(r1),
1079 addInstr(env, TILEGXInstr_LI(r_dst, (ULong) l));
1093 addInstr(env, mk_iMOVds_RR(r_dst, hregTILEGX_R0()));
1329 addInstr(env, TILEGXInstr_Cmp(syned, size32, dst, r1, r2, cc));
1333 addInstr(env, TILEGXInstr_Store(8,
1346 addInstr(env, TILEGXInstr_LI(r_dst, 0x1));
1347 addInstr(env, TILEGXInstr_Alu(GXalu_SUB, r_dst, r_dst, r_srcR));
1352 addInstr(env, TILEGXInstr_Store(8,
1365 addInstr(env, TILEGXInstr_Store(8,
1419 addInstr(env, TILEGXInstr_Store(toUChar(sizeofIRType(tyd)),
1435 addInstr(env, TILEGXInstr_Store(toUChar(sizeofIRType(ty)),
1453 addInstr(env, mk_iMOVds_RR(r_dst, r_src));
1460 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_src, r_src, 0, 31));
1463 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_src, r_src, 0, 15));
1466 addInstr(env, TILEGXInstr_Bf(GXbf_EXTU, r_src, r_src, 0, 7));
1472 addInstr(env, TILEGXInstr_MovCond(r_dst,
1502 addInstr(env, mk_iMOVds_RR(r_dst, hregTILEGX_R0()));
1536 addInstr(env, TILEGXInstr_Acas(GXacas_CMPEXCH, r_old,
1545 addInstr(env, TILEGXInstr_Acas(GXacas_EXCH, r_old,
1552 addInstr(env, TILEGXInstr_Acas(GXacas_FetchAnd, r_old,
1559 addInstr(env, TILEGXInstr_Acas(GXacas_FetchAdd, r_old,
1566 addInstr(env, TILEGXInstr_Acas(GXacas_FetchOr, r_old,
1573 addInstr(env, TILEGXInstr_Acas(GXacas_FetchAddgez, r_old,
1620 addInstr(env, TILEGXInstr_XDirect(
1628 addInstr(env, TILEGXInstr_XAssisted(r, amPC, cc, Ijk_Boring));
1651 addInstr(env, TILEGXInstr_XAssisted(r, amPC, cc,
1702 addInstr(env, TILEGXInstr_XDirect((Addr64)cdst->Ico.U64,
1709 addInstr(env, TILEGXInstr_XAssisted(r, amPC, TILEGXcc_AL,
1723 addInstr(env, TILEGXInstr_XIndir(r, amPC, TILEGXcc_AL));
1725 addInstr(env, TILEGXInstr_XAssisted(r, amPC, TILEGXcc_AL,
1751 addInstr(env, TILEGXInstr_XAssisted(r, amPC, TILEGXcc_AL, jk));
1841 addInstr(env, TILEGXInstr_EvCheck(amCounter, amFailAddr));
1848 addInstr(env, TILEGXInstr_ProfInc());