/external/valgrind/main/VEX/priv/ |
D | guest_mips_toIR.c | 288 assign(t1, binop(Iop_Add32, getIReg(rs), mkU32(extend_s_16to32(imm)))); \ 292 assign(t2, binop(Iop_And32, mkexpr(t1), mkU32(0xFFFFFFFC))); \ 294 assign(t4, binop(Iop_And32, mkexpr(t1), mkU32(0x00000003))) 302 mkU32(0x0000001F) \ 315 putIReg(rt, binop(op, getIReg(rs), mkU32(imm))); 323 binop(Iop_CmpEQ32, mkU32(cc), mkU32(0))), \ 325 binop(Iop_Shr32, getFCSR(), mkU8(23))), mkU32(0x1))); 584 static IRExpr *mkU32(UInt i) in mkU32() function 668 assign(t0, unop(Iop_32to8, binop(Iop_And32, rs, mkU32(0x0000001F)))); in genRORV32() 693 stmt( IRStmt_Put( OFFB_PC, mkU32(d32) ) ); in jmp_lit() [all …]
|
D | guest_ppc_toIR.c | 558 static IRExpr* mkU32 ( UInt i ) in mkU32() function 804 binop(Iop_Add32, mkU32(0x7FFFFFFF), in mkQNarrow64Sto32() 823 unop(Iop_1Uto8, binop(Iop_CmpEQ32, mkexpr(hi32), mkU32(0))), in mkQNarrow64Uto32() 825 mkU32(0xFFFFFFFF), in mkQNarrow64Uto32() 924 return ty == Ity_I64 ? mkU64(imm64) : mkU32((UInt)imm64); in mkSzImm() 942 mkU32(extend_s_16to32(imm16)) ); in mkSzExtendS16() 951 mkU32(imm32) ); in mkSzExtendS32() 1362 assign(mask[0], mkU32(0x55555555)); in gen_POPCOUNT() 1363 assign(mask[1], mkU32(0x33333333)); in gen_POPCOUNT() 1364 assign(mask[2], mkU32(0x0F0F0F0F)); in gen_POPCOUNT() [all …]
|
D | guest_s390_helpers.c | 1188 #define mkU32(v) IRExpr_Const(IRConst_U32(v)) macro 1281 return mkU32(1); in guest_s390x_spechelper() 1284 return mkU32(0); in guest_s390x_spechelper() 1317 return mkU32(1); in guest_s390x_spechelper() 1320 return mkU32(0); in guest_s390x_spechelper() 1353 return mkU32(1); in guest_s390x_spechelper() 1356 return mkU32(0); in guest_s390x_spechelper() 1376 return mkU32(1); in guest_s390x_spechelper() 1385 return mkU32(0); in guest_s390x_spechelper() 1424 word = binop(Iop_And32, word, mkU32(imask)); in guest_s390x_spechelper() [all …]
|
D | guest_x86_helpers.c | 782 # define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) in guest_x86_spechelper() macro 816 mkU32(0))); in guest_x86_spechelper() 844 mkU32(1)); in guest_x86_spechelper() 860 mkU32(1)); in guest_x86_spechelper() 875 mkU32(1)); in guest_x86_spechelper() 890 mkU32(1)); in guest_x86_spechelper() 898 mkU32(0))); in guest_x86_spechelper() 906 mkU32(0))), in guest_x86_spechelper() 907 mkU32(1)); in guest_x86_spechelper() 950 binop(Iop_And32,cc_dep2,mkU32(0xFF)), in guest_x86_spechelper() [all …]
|
D | guest_x86_toIR.c | 678 static IRExpr* mkU32 ( UInt i ) in mkU32() function 692 if (ty == Ity_I32) return mkU32(i); in mkU() 812 = mkIRExprVec_5( mkU32(cond), in mk_x86g_calculate_condition() 928 stmt( IRStmt_Put( OFFB_CC_OP, mkU32(ccOp)) ); in setFlags_DEP1_DEP2() 933 stmt( IRStmt_Put( OFFB_CC_NDEP, mkU32(0) )); in setFlags_DEP1_DEP2() 953 stmt( IRStmt_Put( OFFB_CC_OP, mkU32(ccOp)) ); in setFlags_DEP1() 955 stmt( IRStmt_Put( OFFB_CC_DEP2, mkU32(0)) ); in setFlags_DEP1() 958 stmt( IRStmt_Put( OFFB_CC_NDEP, mkU32(0) )); in setFlags_DEP1() 991 mkU32(ccOp))) ); in setFlags_DEP1_DEP2_shift() 1005 mkU32(0) ))); in setFlags_DEP1_DEP2_shift() [all …]
|
D | guest_arm_toIR.c | 279 static IRExpr* mkU32 ( UInt i ) in mkU32() function 342 return mkU32(Irrm_NEAREST); in get_FAKE_roundingmode() 367 return binop(Iop_And32, e, mkU32(~3)); in align4if() 493 e = mkU32(guest_R15_curr_instr_notENC + 8); in getIRegA() 510 e = mkU32(guest_R15_curr_instr_notENC + 4); in getIRegT() 979 assign(ge10, binop(Iop_And32, mkexpr(t32), mkU32(0x00008000))); in set_GE_32_10_from_bits_31_15() 980 assign(ge32, binop(Iop_And32, mkexpr(t32), mkU32(0x80000000))); in set_GE_32_10_from_bits_31_15() 997 assign(ge0, binop(Iop_And32, mkexpr(t32), mkU32(0x00000080))); in set_GE_3_2_1_0_from_bits_31_23_15_7() 998 assign(ge1, binop(Iop_And32, mkexpr(t32), mkU32(0x00008000))); in set_GE_3_2_1_0_from_bits_31_23_15_7() 999 assign(ge2, binop(Iop_And32, mkexpr(t32), mkU32(0x00800000))); in set_GE_3_2_1_0_from_bits_31_23_15_7() [all …]
|
D | guest_s390_toIR.c | 205 mkU32(UInt value) in mkU32() function 1898 next_insn_if(binop(Iop_CmpEQ32, s390_call_calculate_cond(m3), mkU32(0))); in s390_format_RSY_RDRM() 2329 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_AFI() 2331 mkU32((UInt)op2))); in s390_irgen_AFI() 2363 assign(result, binop(Iop_Add32, mkU32((UInt)op2), mkexpr(op3))); in s390_irgen_AHIK() 2364 s390_cc_thunk_putSS(S390_CC_OP_SIGNED_ADD_32, mktemp(Ity_I32, mkU32((UInt) in s390_irgen_AHIK() 2397 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_ASI() 2400 mkU32((UInt)op2))); in s390_irgen_ASI() 2463 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_AHI() 2465 mkU32((UInt)op2))); in s390_irgen_AHI() [all …]
|
D | guest_arm_helpers.c | 560 # define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) in guest_arm_spechelper() macro 677 binop(Iop_CmpEQ32, cc_dep1, mkU32(0))); in guest_arm_spechelper() 682 binop(Iop_CmpNE32, cc_dep1, mkU32(0))); in guest_arm_spechelper() 690 mkU32(0))); in guest_arm_spechelper() 697 mkU32(1))); in guest_arm_spechelper() 708 mkU32(1)), in guest_arm_spechelper() 709 mkU32(1)); in guest_arm_spechelper() 753 return mkU32(1); in guest_arm_spechelper() 871 binop(Iop_Xor32, cc_ndep, mkU32(1))) in guest_arm_spechelper() 874 mkU32(1) in guest_arm_spechelper() [all …]
|
D | guest_amd64_toIR.c | 280 static IRExpr* mkU32 ( ULong i ) in mkU32() function 296 case Ity_I32: return mkU32(i); in mkU() 4413 cmp = binop(Iop_CmpEQ32, mkexpr(tc), mkU32(0)); in dis_REP_op() 4424 putIReg32(R_RCX, binop(Iop_Sub32, mkexpr(tc), mkU32(1)) ); in dis_REP_op() 4582 assign(mask[0], mkU32(0x55555555)); in gen_POPCOUNT() 4583 assign(mask[1], mkU32(0x33333333)); in gen_POPCOUNT() 4584 assign(mask[2], mkU32(0x0F0F0F0F)); in gen_POPCOUNT() 4585 assign(mask[3], mkU32(0x00FF00FF)); in gen_POPCOUNT() 4586 assign(mask[4], mkU32(0x0000FFFF)); in gen_POPCOUNT() 4744 return binop( Iop_And32, get_fpround(), mkU32(3) ); in get_roundingmode() [all …]
|
D | guest_amd64_helpers.c | 880 # define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) in guest_amd64_spechelper() macro 1038 mkU32(0))); in guest_amd64_spechelper() 1163 mkU32(0))); in guest_amd64_spechelper() 1170 mkU32(0))); in guest_amd64_spechelper() 1183 mkU32(0))); in guest_amd64_spechelper() 1282 mkU32(0))); in guest_amd64_spechelper() 1439 # undef mkU32 in guest_amd64_spechelper()
|
D | host_ppc_isel.c | 200 static IRExpr* mkU32 ( UInt i ) in mkU32() function 1184 zeros = mk_AvDuplicateRI(env, mkU32(0)); in isNan() 1185 msk_exp = mk_AvDuplicateRI(env, mkU32(0x7F800000)); in isNan() 1186 msk_mnt = mk_AvDuplicateRI(env, mkU32(0x7FFFFF)); in isNan()
|
/external/valgrind/main/coregrind/ |
D | m_translate.c | 884 static IRExpr* mkU32 ( UInt n ) { in mkU32() function 937 IRExpr*(*mkU)(UInt) = mkU32; in gen_PUSH() 967 IRStmt_Put(offB_EMWARN, mkU32(EmWarn_PPC64_redir_overflow)) in gen_PUSH() 1028 IRExpr*(*mkU)(UInt) = mkU32; in gen_POP() 1049 IRStmt_Put(offB_EMWARN, mkU32(EmWarn_PPC64_redir_underflow)) in gen_POP() 1188 nraddr_szB == 8 ? mkU64(0) : mkU32(0) in mk_preamble__set_NRADDR_to_zero() 1195 addStmtToIRSB( bb, IRStmt_Put( offB_GPR25, mkU32( closure->readdr )) ); in mk_preamble__set_NRADDR_to_zero() 1203 VG_WORDSIZE==8 ? mkU64(0) : mkU32(0) in mk_preamble__set_NRADDR_to_zero() 1236 addStmtToIRSB( bb, IRStmt_Put( offB_GPR25, mkU32( closure->readdr )) ); in mk_preamble__set_NRADDR_to_nraddr()
|
/external/valgrind/main/memcheck/ |
D | mc_translate.c | 428 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 897 top = mkU32(0xFFFFFFFF); in expensiveCmpEQorNE() 1022 threeLeft1 = m64 ? mkU64(3<<1) : mkU32(3<<1); in doCmpORD() 1045 sevenLeft1 = m64 ? mkU64(7<<1) : mkU32(7<<1); in doCmpORD() 3895 eBias = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in expr2vbits_Load_WRK() 4255 eBiasQ0 = tyAddr==Ity_I32 ? mkU32(bias+offQ0) : mkU64(bias+offQ0); in do_shadow_Store() 4264 eBiasQ1 = tyAddr==Ity_I32 ? mkU32(bias+offQ1) : mkU64(bias+offQ1); in do_shadow_Store() 4273 eBiasQ2 = tyAddr==Ity_I32 ? mkU32(bias+offQ2) : mkU64(bias+offQ2); in do_shadow_Store() 4282 eBiasQ3 = tyAddr==Ity_I32 ? mkU32(bias+offQ3) : mkU64(bias+offQ3); in do_shadow_Store() 4324 eBiasLo64 = tyAddr==Ity_I32 ? mkU32(bias+offLo64) : mkU64(bias+offLo64); in do_shadow_Store() [all …]
|
/external/valgrind/main/exp-dhat/ |
D | dh_main.c | 768 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 846 ? binop(Iop_Sub32, mkexpr(sp), mkU32(rz_szB)) in addMemEvent() 864 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in addMemEvent() 1021 #undef mkU32
|
/external/valgrind/main/VEX/ |
D | test_main.c | 696 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 821 binop(Iop_Sub32, mkU32(0), a1) ))); in mkLeft32() 954 tmp1 = assignNew(mce, Ity_I1, binop(Iop_CmpNE32, vbits, mkU32(0))); in mkPCastTo() 2050 eBias = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in expr2vbits_LDle_WRK() 2266 eBias0 = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in do_shadow_STle() 2273 eBias8 = tyAddr==Ity_I32 ? mkU32(bias+8) : mkU64(bias+8); in do_shadow_STle() 2292 eBias = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in do_shadow_STle()
|
/external/valgrind/main/helgrind/ |
D | hg_main.c | 4133 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 4274 ? binop(Iop_Add32, mkexpr(addr_minus_sp), mkU32(rz_szB)) in instrument_mem_access() 4283 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in instrument_mem_access() 4541 #undef mkU32
|