Lines Matching refs:op8

307 static IROp mkSizedOp ( IRType ty, IROp op8 )  in mkSizedOp()  argument
309 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8 in mkSizedOp()
310 || op8 == Iop_Mul8 in mkSizedOp()
311 || op8 == Iop_Or8 || op8 == Iop_And8 || op8 == Iop_Xor8 in mkSizedOp()
312 || op8 == Iop_Shl8 || op8 == Iop_Shr8 || op8 == Iop_Sar8 in mkSizedOp()
313 || op8 == Iop_CmpEQ8 || op8 == Iop_CmpNE8 in mkSizedOp()
314 || op8 == Iop_CasCmpNE8 in mkSizedOp()
315 || op8 == Iop_Not8 ); in mkSizedOp()
317 case Ity_I8: return 0 +op8; in mkSizedOp()
318 case Ity_I16: return 1 +op8; in mkSizedOp()
319 case Ity_I32: return 2 +op8; in mkSizedOp()
320 case Ity_I64: return 3 +op8; in mkSizedOp()
1710 static Bool isAddSub ( IROp op8 ) in isAddSub() argument
1712 return toBool(op8 == Iop_Add8 || op8 == Iop_Sub8); in isAddSub()
1715 static Bool isLogic ( IROp op8 ) in isLogic() argument
1717 return toBool(op8 == Iop_And8 || op8 == Iop_Or8 || op8 == Iop_Xor8); in isLogic()
1776 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2() argument
1786 switch (op8) { in setFlags_DEP1_DEP2()
1789 default: ppIROp(op8); in setFlags_DEP1_DEP2()
1801 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1() argument
1811 switch (op8) { in setFlags_DEP1()
1815 default: ppIROp(op8); in setFlags_DEP1()
2911 IROp op8, in dis_op2_E_G() argument
2929 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8); in dis_op2_E_G()
2938 if ((op8 == Iop_Xor8 || (op8 == Iop_Sub8 && addSubCarry)) in dis_op2_E_G()
2940 if (False && op8 == Iop_Sub8) in dis_op2_E_G()
2948 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_E_G()
2953 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_E_G()
2958 assign( dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op2_E_G()
2959 if (isAddSub(op8)) in dis_op2_E_G()
2960 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_E_G()
2962 setFlags_DEP1(op8, dst1, ty); in dis_op2_E_G()
2977 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_E_G()
2982 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_E_G()
2987 assign( dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op2_E_G()
2988 if (isAddSub(op8)) in dis_op2_E_G()
2989 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_E_G()
2991 setFlags_DEP1(op8, dst1, ty); in dis_op2_E_G()
3027 IROp op8, in dis_op2_G_E() argument
3045 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8); in dis_op2_G_E()
3054 if ((op8 == Iop_Xor8 || (op8 == Iop_Sub8 && addSubCarry)) in dis_op2_G_E()
3062 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_G_E()
3067 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_G_E()
3072 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_op2_G_E()
3073 if (isAddSub(op8)) in dis_op2_G_E()
3074 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_G_E()
3076 setFlags_DEP1(op8, dst1, ty); in dis_op2_G_E()
3093 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_G_E()
3104 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_G_E()
3115 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_op2_G_E()
3127 if (isAddSub(op8)) in dis_op2_G_E()
3128 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_G_E()
3130 setFlags_DEP1(op8, dst1, ty); in dis_op2_G_E()
3243 IROp op8, in dis_op_imm_A() argument
3257 if (isAddSub(op8) && !carrying) { in dis_op_imm_A()
3258 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op_imm_A()
3259 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op_imm_A()
3262 if (isLogic(op8)) { in dis_op_imm_A()
3264 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op_imm_A()
3265 setFlags_DEP1(op8, dst1, ty); in dis_op_imm_A()
3268 if (op8 == Iop_Add8 && carrying) { in dis_op_imm_A()
3273 if (op8 == Iop_Sub8 && carrying) { in dis_op_imm_A()
3407 IROp op8 = Iop_INVALID; in dis_Grp1() local
3411 case 0: op8 = Iop_Add8; break; case 1: op8 = Iop_Or8; break; in dis_Grp1()
3414 case 4: op8 = Iop_And8; break; case 5: op8 = Iop_Sub8; break; in dis_Grp1()
3415 case 6: op8 = Iop_Xor8; break; case 7: op8 = Iop_Sub8; break; in dis_Grp1()
3434 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_Grp1()
3435 if (isAddSub(op8)) in dis_Grp1()
3436 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_Grp1()
3438 setFlags_DEP1(op8, dst1, ty); in dis_Grp1()
3476 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_Grp1()
3486 if (isAddSub(op8)) in dis_Grp1()
3487 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_Grp1()
3489 setFlags_DEP1(op8, dst1, ty); in dis_Grp1()
27032 const HChar* opname, IROp op8 ) in dis_SHIFTX() argument
27057 binop(mkSizedOp(ty,op8), mkexpr(src), in dis_SHIFTX()