/external/valgrind/main/VEX/priv/ |
D | guest_s390_helpers.c | 688 #define mkU32(v) IRExpr_Const(IRConst_U32(v)) macro 781 return mkU32(1); in guest_s390x_spechelper() 784 return mkU32(0); in guest_s390x_spechelper() 817 return mkU32(1); in guest_s390x_spechelper() 820 return mkU32(0); in guest_s390x_spechelper() 853 return mkU32(1); in guest_s390x_spechelper() 856 return mkU32(0); in guest_s390x_spechelper() 876 return mkU32(1); in guest_s390x_spechelper() 885 return mkU32(0); in guest_s390x_spechelper() 924 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() 811 = mkIRExprVec_5( mkU32(cond), in mk_x86g_calculate_condition() 927 stmt( IRStmt_Put( OFFB_CC_OP, mkU32(ccOp)) ); in setFlags_DEP1_DEP2() 932 stmt( IRStmt_Put( OFFB_CC_NDEP, mkU32(0) )); in setFlags_DEP1_DEP2() 952 stmt( IRStmt_Put( OFFB_CC_OP, mkU32(ccOp)) ); in setFlags_DEP1() 954 stmt( IRStmt_Put( OFFB_CC_DEP2, mkU32(0)) ); in setFlags_DEP1() 957 stmt( IRStmt_Put( OFFB_CC_NDEP, mkU32(0) )); in setFlags_DEP1() 990 mkU32(ccOp))) ); in setFlags_DEP1_DEP2_shift() 1004 mkU32(0) ))); in setFlags_DEP1_DEP2_shift() [all …]
|
D | guest_ppc_toIR.c | 553 static IRExpr* mkU32 ( UInt i ) in mkU32() function 799 binop(Iop_Add32, mkU32(0x7FFFFFFF), in mkQNarrow64Sto32() 818 unop(Iop_1Uto8, binop(Iop_CmpEQ32, mkexpr(hi32), mkU32(0))), in mkQNarrow64Uto32() 820 mkU32(0xFFFFFFFF), in mkQNarrow64Uto32() 919 return ty == Ity_I64 ? mkU64(imm64) : mkU32((UInt)imm64); in mkSzImm() 937 mkU32(extend_s_16to32(imm16)) ); in mkSzExtendS16() 946 mkU32(imm32) ); in mkSzExtendS32() 1310 assign(mask[0], mkU32(0x55555555)); in gen_POPCOUNT() 1311 assign(mask[1], mkU32(0x33333333)); in gen_POPCOUNT() 1312 assign(mask[2], mkU32(0x0F0F0F0F)); in gen_POPCOUNT() [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 | 190 mkU32(UInt value) in mkU32() function 1790 if_condition_goto(binop(Iop_CmpEQ32, s390_call_calculate_cond(m3), mkU32(0)), in s390_format_RSY_RDRM() 2239 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_AFI() 2241 mkU32((UInt)op2))); in s390_irgen_AFI() 2273 assign(result, binop(Iop_Add32, mkU32((UInt)op2), mkexpr(op3))); in s390_irgen_AHIK() 2274 s390_cc_thunk_putSS(S390_CC_OP_SIGNED_ADD_32, mktemp(Ity_I32, mkU32((UInt) in s390_irgen_AHIK() 2307 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_ASI() 2310 mkU32((UInt)op2))); in s390_irgen_ASI() 2373 assign(result, binop(Iop_Add32, mkexpr(op1), mkU32((UInt)op2))); in s390_irgen_AHI() 2375 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 671 binop(Iop_CmpEQ32, cc_dep1, mkU32(0))); in guest_arm_spechelper() 676 binop(Iop_CmpNE32, cc_dep1, mkU32(0))); in guest_arm_spechelper() 684 mkU32(0))); in guest_arm_spechelper() 691 mkU32(1))); in guest_arm_spechelper() 735 return mkU32(1); in guest_arm_spechelper() 853 binop(Iop_Xor32, cc_ndep, mkU32(1))) in guest_arm_spechelper() 856 mkU32(1) in guest_arm_spechelper() 864 # undef mkU32 in guest_arm_spechelper()
|
D | guest_amd64_toIR.c | 280 static IRExpr* mkU32 ( ULong i ) in mkU32() function 296 case Ity_I32: return mkU32(i); in mkU() 4285 cmp = binop(Iop_CmpEQ32, mkexpr(tc), mkU32(0)); in dis_REP_op() 4295 putIReg32(R_RCX, binop(Iop_Sub32, mkexpr(tc), mkU32(1)) ); in dis_REP_op() 4450 assign(mask[0], mkU32(0x55555555)); in gen_POPCOUNT() 4451 assign(mask[1], mkU32(0x33333333)); in gen_POPCOUNT() 4452 assign(mask[2], mkU32(0x0F0F0F0F)); in gen_POPCOUNT() 4453 assign(mask[3], mkU32(0x00FF00FF)); in gen_POPCOUNT() 4454 assign(mask[4], mkU32(0x0000FFFF)); in gen_POPCOUNT() 4612 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 1030 mkU32(0))); in guest_amd64_spechelper() 1155 mkU32(0))); in guest_amd64_spechelper() 1162 mkU32(0))); in guest_amd64_spechelper() 1175 mkU32(0))); in guest_amd64_spechelper() 1257 mkU32(0))); in guest_amd64_spechelper() 1414 # undef mkU32 in guest_amd64_spechelper()
|
D | host_ppc_isel.c | 198 static IRExpr* mkU32 ( UInt i ) in mkU32() function 1104 zeros = mk_AvDuplicateRI(env, mkU32(0)); in isNan() 1105 msk_exp = mk_AvDuplicateRI(env, mkU32(0x7F800000)); in isNan() 1106 msk_mnt = mk_AvDuplicateRI(env, mkU32(0x7FFFFF)); in isNan()
|
/external/valgrind/main/coregrind/ |
D | m_translate.c | 876 static IRExpr* mkU32 ( UInt n ) { in mkU32() function 927 IRExpr*(*mkU)(UInt) = mkU32; in gen_PUSH() 957 IRStmt_Put(offB_EMWARN, mkU32(EmWarn_PPC64_redir_overflow)) in gen_PUSH() 1015 IRExpr*(*mkU)(UInt) = mkU32; in gen_POP() 1036 IRStmt_Put(offB_EMWARN, mkU32(EmWarn_PPC64_redir_underflow)) in gen_POP() 1173 nraddr_szB == 8 ? mkU64(0) : mkU32(0) in mk_preamble__set_NRADDR_to_zero() 1182 VG_WORDSIZE==8 ? mkU64(0) : mkU32(0) in mk_preamble__set_NRADDR_to_zero()
|
/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/memcheck/ |
D | mc_translate.c | 417 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 841 top = mkU32(0xFFFFFFFF); in expensiveCmpEQorNE() 966 threeLeft1 = m64 ? mkU64(3<<1) : mkU32(3<<1); in doCmpORD() 989 sevenLeft1 = m64 ? mkU64(7<<1) : mkU32(7<<1); in doCmpORD() 3624 eBias = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in expr2vbits_Load_WRK() 3938 eBiasLo64 = tyAddr==Ity_I32 ? mkU32(bias+offLo64) : mkU64(bias+offLo64); in do_shadow_Store() 3946 eBiasHi64 = tyAddr==Ity_I32 ? mkU32(bias+offHi64) : mkU64(bias+offHi64); in do_shadow_Store() 3971 IRAtom* eBias = tyAddr==Ity_I32 ? mkU32(bias) : mkU64(bias); in do_shadow_Store() 4545 elemSzB = 4; zero = mkU32(0); in do_shadow_CAS_double() 4997 assign( 'B', &mce, tmp_b, mkU32(0)/* UNKNOWN ORIGIN */); in MC_() [all …]
|
/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 | 4099 #define mkU32(_n) IRExpr_Const(IRConst_U32(_n)) macro 4240 ? binop(Iop_Add32, mkexpr(addr_minus_sp), mkU32(rz_szB)) in instrument_mem_access() 4249 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in instrument_mem_access() 4506 #undef mkU32
|