Lines Matching refs:rA
1385 static IRExpr* ea_rA_idxd ( UInt rA, UInt rB ) in ea_rA_idxd() argument
1388 vassert(rA < 32); in ea_rA_idxd()
1390 return binop(mkSzOp(ty, Iop_Add8), getIReg(rA), getIReg(rB)); in ea_rA_idxd()
1394 static IRExpr* ea_rA_simm ( UInt rA, UInt simm16 ) in ea_rA_simm() argument
1397 vassert(rA < 32); in ea_rA_simm()
1398 return binop(mkSzOp(ty, Iop_Add8), getIReg(rA), in ea_rA_simm()
1403 static IRExpr* ea_rAor0 ( UInt rA ) in ea_rAor0() argument
1406 vassert(rA < 32); in ea_rAor0()
1407 if (rA == 0) { in ea_rAor0()
1410 return getIReg(rA); in ea_rAor0()
1415 static IRExpr* ea_rAor0_idxd ( UInt rA, UInt rB ) in ea_rAor0_idxd() argument
1417 vassert(rA < 32); in ea_rAor0_idxd()
1419 return (rA == 0) ? getIReg(rB) : ea_rA_idxd( rA, rB ); in ea_rAor0_idxd()
1423 static IRExpr* ea_rAor0_simm ( UInt rA, UInt simm16 ) in ea_rAor0_simm() argument
1426 vassert(rA < 32); in ea_rAor0_simm()
1427 if (rA == 0) { in ea_rAor0_simm()
1430 return ea_rA_simm( rA, simm16 ); in ea_rAor0_simm()
2906 IRTemp rA = newTemp(ty); in dis_int_arith() local
2912 assign( rA, getIReg(rA_addr) ); in dis_int_arith()
2919 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
2922 mkexpr(rD), mkexpr(rA), mkSzExtendS16(ty, uimm16), in dis_int_arith()
2928 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
2931 mkexpr(rD), mkexpr(rA), mkSzExtendS16(ty, uimm16), in dis_int_arith()
2945 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
2957 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
2966 binop(Iop_MullS64, mkexpr(rA), in dis_int_arith()
2970 binop(Iop_MullS32, mkexpr(rA), in dis_int_arith()
2979 mkexpr(rA)) ); in dis_int_arith()
2981 mkexpr(rD), mkexpr(rA), mkSzExtendS16(ty, uimm16), in dis_int_arith()
2995 mkexpr(rA), mkexpr(rB) ) ); in dis_int_arith()
2998 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3007 mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3009 mkexpr(rD), mkexpr(rA), mkexpr(rB), in dis_int_arith()
3013 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3024 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
3028 mkexpr(rD), mkexpr(rA), mkexpr(rB), in dis_int_arith()
3032 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3051 assign( rD, binop( mkSzOp(ty, Iop_Add8), mkexpr(rA), in dis_int_arith()
3055 mkexpr(rD), mkexpr(rA), min_one, in dis_int_arith()
3059 mkexpr(rD), mkexpr(rA), min_one ); in dis_int_arith()
3077 mkexpr(rA), mkexpr(old_xer_ca)) ); in dis_int_arith()
3079 mkexpr(rD), mkexpr(rA), mkSzImm(ty, 0), in dis_int_arith()
3083 mkexpr(rD), mkexpr(rA), mkSzImm(ty, 0) ); in dis_int_arith()
3100 IRExpr* dividend = mk64lo32Sto64( mkexpr(rA) ); in dis_int_arith()
3109 assign( rD, binop(Iop_DivS32, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3112 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3131 IRExpr* dividend = mk64lo32Uto64( mkexpr(rA) ); in dis_int_arith()
3140 assign( rD, binop(Iop_DivU32, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3143 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3161 mk64lo32Sto64( mkexpr(rA) ), in dis_int_arith()
3167 mkexpr(rA), mkexpr(rB))) ); in dis_int_arith()
3183 mk64lo32Uto64( mkexpr(rA) ), in dis_int_arith()
3189 mkexpr(rA), mkexpr(rB))) ); in dis_int_arith()
3200 IRExpr *a = unop(Iop_64to32, mkexpr(rA) ); in dis_int_arith()
3211 mkexpr(rA), mkexpr(rB))) ); in dis_int_arith()
3214 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3229 unop( mkSzOp(ty, Iop_Not8), mkexpr(rA) ), in dis_int_arith()
3233 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3243 mkexpr(rB), mkexpr(rA)) ); in dis_int_arith()
3246 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3256 mkexpr(rB), mkexpr(rA)) ); in dis_int_arith()
3258 mkexpr(rD), mkexpr(rA), mkexpr(rB), in dis_int_arith()
3262 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3274 unop( mkSzOp(ty, Iop_Not8), mkexpr(rA)), in dis_int_arith()
3278 mkexpr(rD), mkexpr(rA), mkexpr(rB), in dis_int_arith()
3282 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3302 unop( mkSzOp(ty, Iop_Not8), mkexpr(rA)), in dis_int_arith()
3306 mkexpr(rD), mkexpr(rA), min_one, in dis_int_arith()
3310 mkexpr(rD), mkexpr(rA), min_one ); in dis_int_arith()
3329 mkexpr(rA)), mkexpr(old_xer_ca)) ); in dis_int_arith()
3331 mkexpr(rD), mkexpr(rA), mkSzImm(ty, 0), in dis_int_arith()
3335 mkexpr(rD), mkexpr(rA), mkSzImm(ty, 0) ); in dis_int_arith()
3351 mkexpr(rA), mkexpr(rB))) ); in dis_int_arith()
3364 mkexpr(rA), mkexpr(rB))) ); in dis_int_arith()
3371 assign( rD, binop(Iop_Mul64, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3374 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3382 assign( rD, binop(Iop_DivS64, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3385 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3397 assign( rD, binop(Iop_DivU64, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3400 mkexpr(rD), mkexpr(rA), mkexpr(rB) ); in dis_int_arith()
3420 dividend = unop( Iop_64to32, mkexpr( rA ) ); in dis_int_arith()
3425 dividend = mkexpr( rA ); in dis_int_arith()
3455 dividend = unop( Iop_64to32, mkexpr( rA ) ); in dis_int_arith()
3460 dividend = mkexpr( rA ); in dis_int_arith()
3486 assign( rD, binop(Iop_DivS64E, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3489 mkexpr( rA ), mkexpr( rB ) ); in dis_int_arith()
3498 assign( rD, binop(Iop_DivU64E, mkexpr(rA), mkexpr(rB)) ); in dis_int_arith()
3501 mkexpr( rA ), mkexpr( rB ) ); in dis_int_arith()
3662 IRTemp rA = newTemp(ty); in dis_int_logic() local
3673 assign( rA, binop( mkSzOp(ty, Iop_And8), mkexpr(rS), in dis_int_logic()
3681 assign( rA, binop( mkSzOp(ty, Iop_And8), mkexpr(rS), in dis_int_logic()
3689 assign( rA, binop( mkSzOp(ty, Iop_Or8), mkexpr(rS), in dis_int_logic()
3695 assign( rA, binop( mkSzOp(ty, Iop_Or8), mkexpr(rS), in dis_int_logic()
3701 assign( rA, binop( mkSzOp(ty, Iop_Xor8), mkexpr(rS), in dis_int_logic()
3707 assign( rA, binop( mkSzOp(ty, Iop_Xor8), mkexpr(rS), in dis_int_logic()
3719 assign(rA, binop( mkSzOp(ty, Iop_And8), in dis_int_logic()
3726 assign(rA, binop( mkSzOp(ty, Iop_And8), mkexpr(rS), in dis_int_logic()
3745 assign(rA, mkWidenFrom32(ty, in dis_int_logic()
3758 assign( rA, unop( mkSzOp(ty, Iop_Not8), in dis_int_logic()
3771 assign( rA, unop(Iop_8Sto64, unop(Iop_64to8, mkexpr(rS))) ); in dis_int_logic()
3773 assign( rA, unop(Iop_8Sto32, unop(Iop_32to8, mkexpr(rS))) ); in dis_int_logic()
3784 assign( rA, unop(Iop_16Sto64, in dis_int_logic()
3787 assign( rA, unop(Iop_16Sto32, in dis_int_logic()
3794 assign( rA, unop( mkSzOp(ty, Iop_Not8), in dis_int_logic()
3802 assign( rA, unop( mkSzOp(ty, Iop_Not8), in dis_int_logic()
3810 assign( rA, mkexpr(rS) ); in dis_int_logic()
3814 assign( rA, binop( mkSzOp(ty, Iop_Or8), in dis_int_logic()
3822 assign( rA, binop( mkSzOp(ty, Iop_Or8), mkexpr(rS), in dis_int_logic()
3829 assign( rA, binop( mkSzOp(ty, Iop_Xor8), in dis_int_logic()
3841 assign(rA, unop(Iop_32Sto64, unop(Iop_64to32, mkexpr(rS)))); in dis_int_logic()
3853 assign(rA, IRExpr_Mux0X( unop(Iop_1Uto8, irx), in dis_int_logic()
3863 assign( rA, unop( Iop_V128to64, in dis_int_logic()
3869 assign( rA, unop( Iop_V128to32, in dis_int_logic()
3882 assign( rA, unop( Iop_ReinterpF64asI64, mkexpr(frB)) ); in dis_int_logic()
3884 assign( rA, unop( Iop_64to32, unop( Iop_ReinterpF64asI64, mkexpr(frB))) ); in dis_int_logic()
3886 putIReg( rS_addr, mkexpr(rA)); in dis_int_logic()
3996 putIReg( rA_addr, mkexpr(rA) ); in dis_int_logic()
3999 set_CR0( mkexpr(rA) ); in dis_int_logic()
4019 IRTemp rA = newTemp(ty); in dis_int_parity() local
4080 assign( rA, unop(Iop_32Uto64, in dis_int_parity()
4083 assign( rA, mkexpr(iTot4) ); in dis_int_parity()
4118 assign( rA, binop(Iop_32HLto64, mkexpr(iHi), mkexpr(iLo)) ); in dis_int_parity()
4120 assign( rA, binop(Iop_Or32, mkU32(0), mkexpr(iLo)) ); in dis_int_parity()
4127 putIReg( rA_addr, mkexpr(rA) ); in dis_int_parity()
4153 IRTemp rA = newTemp(ty); in dis_int_rot() local
4176 assign( rA, in dis_int_rot()
4185 assign( rA, in dis_int_rot()
4212 assign( rA, binop(Iop_And64, mkexpr(rot), mkU64(mask64)) ); in dis_int_rot()
4220 assign( rA, binop(Iop_Shl32, mkexpr(rS), mkU8(sh_imm)) ); in dis_int_rot()
4227 assign( rA, binop(Iop_Shr32, mkexpr(rS), mkU8(MaskBeg)) ); in dis_int_rot()
4235 assign( rA, binop(Iop_And32, in dis_int_rot()
4258 assign( rA, binop(Iop_And64, mkexpr(rot), mkU64(mask64)) ); in dis_int_rot()
4263 assign( rA, binop(Iop_And32, in dis_int_rot()
4289 assign( rA, binop(Iop_And64, r, mkU64(mask64)) ); in dis_int_rot()
4295 assign( rA, binop(Iop_And64, r, mkU64(mask64)) ); in dis_int_rot()
4305 assign( rA, binop(Iop_And64, r, mkU64(mask64)) ); in dis_int_rot()
4322 assign( rA, binop(Iop_Shr64, mkexpr(rS), mkU8(msk_imm)) ); in dis_int_rot()
4328 assign( rA, binop(Iop_And64, r, mkU64(mask64)) ); in dis_int_rot()
4339 assign( rA, binop(Iop_Shl64, mkexpr(rS), mkU8(sh_imm)) ); in dis_int_rot()
4345 assign( rA, binop(Iop_And64, r, mkU64(mask64)) ); in dis_int_rot()
4356 assign( rA, binop(Iop_Or64, in dis_int_rot()
4374 putIReg( rA_addr, mkexpr(rA) ); in dis_int_rot()
4377 set_CR0( mkexpr(rA) ); in dis_int_rot()
5908 IRTemp rA = newTemp(ty); in dis_int_shift() local
5943 assign( rA, mkWidenFrom32(ty, e_tmp, /* Signed */False) ); in dis_int_shift()
5968 assign( rA, mkWidenFrom32(ty, e_tmp, /* Signed */True) ); in dis_int_shift()
5971 mkexpr(rA), in dis_int_shift()
5983 assign( rA, binop(Iop_Sar64, in dis_int_shift()
5988 assign( rA, binop(Iop_Sar32, mkexpr(rS_lo32), in dis_int_shift()
5993 mkexpr(rA), in dis_int_shift()
6021 assign( rA, mkWidenFrom32(ty, e_tmp, /* Signed */False) ); in dis_int_shift()
6035 assign( rA, in dis_int_shift()
6061 assign( rA, in dis_int_shift()
6070 mkexpr(rA), mkexpr(rS), mkexpr(sh_amt), in dis_int_shift()
6080 assign( rA, binop(Iop_Sar64, getIReg(rS_addr), mkU8(sh_imm)) ); in dis_int_shift()
6083 mkexpr(rA), in dis_int_shift()
6098 assign( rA, in dis_int_shift()
6120 putIReg( rA_addr, mkexpr(rA) ); in dis_int_shift()
6123 set_CR0( mkexpr(rA) ); in dis_int_shift()
6714 IRTemp rA = newTemp(ty); in dis_fp_load() local
6719 assign( rA, getIReg(rA_addr) ); in dis_fp_load()
6853 IRTemp rA = newTemp(ty); in dis_fp_store() local
6857 assign( rA, getIReg(rA_addr) ); in dis_fp_store()
14100 UInt rA = ifieldRegA( theInstr ); in disInstr_PPC_WRK() local
14107 rA == 0 ? (mode64 ? mkU64(0) : mkU32(0)) in disInstr_PPC_WRK()
14108 : getIReg(rA) ) in disInstr_PPC_WRK()
14110 DIP("isel r%u,r%u,r%u,crb%u\n", rT,rA,rB,bi); in disInstr_PPC_WRK()