Home
last modified time | relevance | path

Searched refs:mkexpr (Results 1 – 12 of 12) sorted by relevance

/external/valgrind/VEX/priv/
Dguest_mips_toIR.c481 assign(t2, binop(Iop_And64, mkexpr(t1), mkU64(0xFFFFFFFFFFFFFFFCULL))); \
484 mkexpr(t1), mkU64(0x3))));
488 assign(t2, binop(Iop_And64, mkexpr(t1), mkU64(0xFFFFFFFFFFFFFFF8ULL))); \
490 assign(t4, binop(Iop_And64, mkexpr(t1), mkU64(0x7)));
494 assign(t2, binop(Iop_And32, mkexpr(t1), mkU32(0xFFFFFFFC))); \
496 assign(t4, binop(Iop_And32, mkexpr(t1), mkU32(0x00000003)))
874 static IRExpr *mkexpr(IRTemp tmp) in mkexpr() function
954 assign(t1, binop(Iop_Sub8, mkU8(32), mkexpr(t0))); in genRORV32()
955 return binop(Iop_Or32, binop(Iop_Shl32, src, mkexpr(t1)), in genRORV32()
956 binop(Iop_Shr32, src, mkexpr(t0))); in genRORV32()
[all …]
Dguest_ppc_toIR.c626 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr() function
704 assign( *vOdd, binop(Iop_MullEven8Ux16, mkexpr(ones8x16), vIn) ); in expand8Ux16()
705 assign( *vEvn, binop(Iop_MullEven8Ux16, mkexpr(ones8x16), in expand8Ux16()
722 assign( *vOdd, binop(Iop_MullEven8Sx16, mkexpr(ones8x16), vIn) ); in expand8Sx16()
723 assign( *vEvn, binop(Iop_MullEven8Sx16, mkexpr(ones8x16), in expand8Sx16()
740 assign( *vOdd, binop(Iop_MullEven16Ux8, mkexpr(ones16x8), vIn) ); in expand16Ux8()
741 assign( *vEvn, binop(Iop_MullEven16Ux8, mkexpr(ones16x8), in expand16Ux8()
758 assign( *vOdd, binop(Iop_MullEven16Sx8, mkexpr(ones16x8), vIn) ); in expand16Sx8()
759 assign( *vEvn, binop(Iop_MullEven16Sx8, mkexpr(ones16x8), in expand16Sx8()
787 unop( Iop_64HIto32, mkexpr( hi64 ) ) ) ) ); in breakV128to4xF64()
[all …]
Dguest_s390_toIR.c115 mkexpr(IRTemp tmp) in mkexpr() function
561 expr = mkexpr(v); in s390_cc_widen()
652 dep1 = mkexpr(d1); in s390_cc_thunk_put1f()
676 dep1 = mkexpr(d1); in s390_cc_thunk_putFZ()
692 hi = unop(Iop_F128HItoF64, mkexpr(d1)); in s390_cc_thunk_put1f128()
693 lo = unop(Iop_F128LOtoF64, mkexpr(d1)); in s390_cc_thunk_put1f128()
708 hi = unop(Iop_F128HItoF64, mkexpr(d1)); in s390_cc_thunk_put1f128Z()
709 lo = unop(Iop_ReinterpF64asI64, unop(Iop_F128LOtoF64, mkexpr(d1))); in s390_cc_thunk_put1f128Z()
726 hi = unop(Iop_D128HItoD64, mkexpr(d1)); in s390_cc_thunk_put1d128()
727 lo = unop(Iop_D128LOtoD64, mkexpr(d1)); in s390_cc_thunk_put1d128()
[all …]
Dguest_x86_toIR.c658 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr() function
763 NULL, mkexpr(expTmp), NULL, newVal ); in casLE()
767 mkexpr(oldTmp), mkexpr(expTmp) ), in casLE()
927 stmt( IRStmt_Put( OFFB_CC_DEP1, widenUto32(mkexpr(dep1))) ); in setFlags_DEP1_DEP2()
928 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto32(mkexpr(dep2))) ); in setFlags_DEP1_DEP2()
952 stmt( IRStmt_Put( OFFB_CC_DEP1, widenUto32(mkexpr(dep1))) ); in setFlags_DEP1()
987 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) ); in setFlags_DEP1_DEP2_shift()
991 IRExpr_ITE( mkexpr(guardB), in setFlags_DEP1_DEP2_shift()
995 IRExpr_ITE( mkexpr(guardB), in setFlags_DEP1_DEP2_shift()
996 widenUto32(mkexpr(res)), in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_arm_toIR.c293 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr() function
341 binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) ); in storeGuardedLE()
373 binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) ); in loadGuardedLE()
396 return mkexpr(src); in genROR32()
399 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)), in genROR32()
400 binop(Iop_Shr32, mkexpr(src), mkU8(rot))); in genROR32()
599 IRExpr_ITE( binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0)), in putIRegA()
632 IRExpr_ITE( binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0)), in putIRegT()
727 IRExpr_ITE( binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0)), in putDReg()
770 IRExpr_ITE( binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0)), in putDRegI64()
[all …]
Dguest_amd64_toIR.c258 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr() function
1623 NULL, mkexpr(expTmp), NULL, newVal ); in casLE()
1627 mkexpr(oldTmp), mkexpr(expTmp) ), in casLE()
1800 stmt( IRStmt_Put( OFFB_CC_DEP1, widenUto64(mkexpr(dep1))) ); in setFlags_DEP1_DEP2()
1801 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto64(mkexpr(dep2))) ); in setFlags_DEP1_DEP2()
1826 stmt( IRStmt_Put( OFFB_CC_DEP1, widenUto64(mkexpr(dep1))) ); in setFlags_DEP1()
1864 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) ); in setFlags_DEP1_DEP2_shift()
1868 IRExpr_ITE( mkexpr(guardB), in setFlags_DEP1_DEP2_shift()
1872 IRExpr_ITE( mkexpr(guardB), in setFlags_DEP1_DEP2_shift()
1873 widenUto64(mkexpr(res)), in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_arm64_toIR.c270 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr() function
1012 binop(mkSHL(ty), mkexpr(arg), mkU8(w - imm)), in mathROR()
1013 binop(mkSHR(ty), mkexpr(arg), mkU8(imm)) )); in mathROR()
1032 binop(mkSHL(ty), mkexpr(arg), mkU8(w - 1 - imm)), in mathREPLICATE()
1666 binop(Iop_Shl32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
1669 binop(Iop_Shr32, mkexpr(armEncd), mkU8(1)), in mk_get_IR_rounding_mode()
1848 stmt( IRStmt_Put( OFFB_CC_DEP1, mkexpr(t_dep1) )); in setFlags_D1_D2_ND()
1849 stmt( IRStmt_Put( OFFB_CC_DEP2, mkexpr(t_dep2) )); in setFlags_D1_D2_ND()
1850 stmt( IRStmt_Put( OFFB_CC_NDEP, mkexpr(t_ndep) )); in setFlags_D1_D2_ND()
1866 assign(argL64, unop(Iop_32Uto64, mkexpr(argL))); in setFlags_ADD_SUB()
[all …]
Dguest_tilegx_toIR.c115 static IRExpr *mkexpr ( IRTemp tmp ) in mkexpr() function
248 return IRStmt_Exit(mkexpr(t0), Ijk_Boring, in dis_branch()
622 mkexpr(t0), in disInstr_TILEGX_WRK()
673 mkexpr(t0), in disInstr_TILEGX_WRK()
788 NULL, mkexpr(t1)))); in disInstr_TILEGX_WRK()
804 mkexpr(t1)))); in disInstr_TILEGX_WRK()
805 assign(t2, unop(Iop_32Uto64, mkexpr(t3))); in disInstr_TILEGX_WRK()
902 mkexpr(t0))); in disInstr_TILEGX_WRK()
907 unop(Iop_64to8, mkexpr(t1))), in disInstr_TILEGX_WRK()
910 unop(Iop_64to8, mkexpr(t0))))); in disInstr_TILEGX_WRK()
[all …]
/external/valgrind/exp-dhat/
Ddh_main.c766 #define mkexpr(_tmp) IRExpr_RdTmp((_tmp)) macro
790 IRStmt* st2 = assign(t2, binop(Iop_Add64, mkexpr(t1), mkU64(n))); in add_counter_update()
791 IRStmt* st3 = IRStmt_Store(END, counter_addr, mkexpr(t2)); in add_counter_update()
845 ? binop(Iop_Sub32, mkexpr(sp), mkU32(rz_szB)) in addMemEvent()
846 : binop(Iop_Sub64, mkexpr(sp), mkU64(rz_szB))) in addMemEvent()
854 ? binop(Iop_Sub32, addr, mkexpr(sp_minus_rz)) in addMemEvent()
855 : binop(Iop_Sub64, addr, mkexpr(sp_minus_rz))) in addMemEvent()
863 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in addMemEvent()
864 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff))) in addMemEvent()
866 di->guard = mkexpr(guard); in addMemEvent()
[all …]
/external/valgrind/helgrind/
Dhg_main.c4394 #define mkexpr(_tmp) IRExpr_RdTmp((_tmp)) macro
4413 addStmtToIRSB(sbOut, assign(anded, binop(Iop_And32, mkexpr(wide1), in mk_And1()
4414 mkexpr(wide2)))); in mk_And1()
4415 addStmtToIRSB(sbOut, assign(res, unop(Iop_32to1, mkexpr(anded)))); in mk_And1()
4416 return mkexpr(res); in mk_And1()
4547 ? binop(Iop_Sub32, addr, mkexpr(sp)) in instrument_mem_access()
4548 : binop(Iop_Sub64, addr, mkexpr(sp))) in instrument_mem_access()
4557 ? binop(Iop_Add32, mkexpr(addr_minus_sp), mkU32(rz_szB)) in instrument_mem_access()
4558 : binop(Iop_Add64, mkexpr(addr_minus_sp), mkU64(rz_szB))) in instrument_mem_access()
4567 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in instrument_mem_access()
[all …]
/external/valgrind/memcheck/
Dmc_translate.c446 #define mkexpr(_tmp) IRExpr_RdTmp((_tmp)) macro
473 return mkexpr(t); in assignNew()
1382 mkexpr(old_tmpV))); in complainIfUndefined()
4741 return mkexpr(datavbits); in expr2vbits_Load_WRK()
5789 bind_shadow_tmp_to_orig('V', mce, mkexpr(cas->oldLo), voldLo); in do_shadow_CAS_single()
5794 bind_shadow_tmp_to_orig('B', mce, mkexpr(cas->oldLo), boldLo); in do_shadow_CAS_single()
5806 binop(opCasCmpEQ, cas->expdLo, mkexpr(cas->oldLo))); in do_shadow_CAS_single()
5926 bind_shadow_tmp_to_orig('V', mce, mkexpr(cas->oldHi), voldHi); in do_shadow_CAS_double()
5927 bind_shadow_tmp_to_orig('V', mce, mkexpr(cas->oldLo), voldLo); in do_shadow_CAS_double()
5937 bind_shadow_tmp_to_orig('B', mce, mkexpr(cas->oldHi), boldHi); in do_shadow_CAS_double()
[all …]
/external/valgrind/VEX/useful/
Dtest_main.c743 #define mkexpr(_tmp) IRExpr_RdTmp((_tmp)) macro
751 return mkexpr(t); in assignNew()
2106 return mkexpr(datavbits); in expr2vbits_LDle_WRK()