Home
last modified time | relevance | path

Searched refs:IROp (Results 1 – 25 of 31) sorted by relevance

12

/external/valgrind/memcheck/tests/vbit-test/
Dvtest.h89 IROp op;
128 irop_t *get_irop(IROp);
129 int is_floating_point_op_with_rounding_mode(IROp);
130 int get_num_operands(IROp);
149 void typeof_primop(IROp, IRType *t_dst, IRType *t_arg1, IRType *t_arg2,
DREADME3 The program tests the effect of an undefined input bit to an IROp on the
18 (1) use VALGRIND_SET_VBITS to set the V-bits of the operands of an IROp
19 (2) execute that IROp
25 The key step here is #2. To "execute an IROp" we need to inject some
30 on the IROp at hand and its operands. We need to know the addresses of
31 those operands, their types and, trivially, which IROp we want to execute.
71 (2) inject IR into the current IRSB to exacute a single IROp, and
86 Adding a new IROp
Dmain.c122 IROp first = Iop_INVALID + 1; in main()
123 IROp last = Iop_LAST; in main()
124 IROp opkind; in main()
Dutil.c151 is_floating_point_op_with_rounding_mode(IROp op) in is_floating_point_op_with_rounding_mode()
176 get_num_operands(IROp op) in get_num_operands()
202 typeof_primop(IROp op, IRType *t_dst, IRType *t_arg1, IRType *t_arg2, in typeof_primop()
/external/valgrind/VEX/priv/
Dguest_arm64_toIR.c275 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
280 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
285 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
456 static IROp mkAND ( IRType ty ) { in mkAND()
464 static IROp mkOR ( IRType ty ) { in mkOR()
472 static IROp mkXOR ( IRType ty ) { in mkXOR()
480 static IROp mkSHL ( IRType ty ) { in mkSHL()
488 static IROp mkSHR ( IRType ty ) { in mkSHR()
496 static IROp mkSAR ( IRType ty ) { in mkSAR()
504 static IROp mkNOT ( IRType ty ) { in mkNOT()
[all …]
Dir_inject.c84 IROp concat; in load()
147 IROp high, low; in store()
Dguest_x86_toIR.c643 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
648 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
653 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
705 static IROp mkSizedOp ( IRType ty, IROp op8 ) in mkSizedOp()
721 static IROp mkWidenOp ( Int szSmall, Int szBig, Bool signd ) in mkWidenOp()
857 static Bool isAddSub ( IROp op8 ) in isAddSub()
862 static Bool isLogic ( IROp op8 ) in isLogic()
914 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
938 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
964 static void setFlags_DEP1_DEP2_shift ( IROp op32, in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_arm_toIR.c298 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
303 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
308 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
2881 IRExpr* binop_w_fake_RM ( IROp op, IRExpr* argL, IRExpr* argR ) in binop_w_fake_RM()
2913 IROp cmp; in dis_neon_vtb()
2995 IROp op, op2; in dis_neon_vdup()
3075 IROp addOp; in dis_neon_data_3same()
3076 IROp andOp; in dis_neon_data_3same()
3077 IROp shOp; in dis_neon_data_3same()
3145 IROp op, op2; in dis_neon_data_3same()
[all …]
Dguest_amd64_toIR.c243 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
248 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
253 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
307 static IROp mkSizedOp ( IRType ty, IROp op8 ) in mkSizedOp()
1717 static Bool isAddSub ( IROp op8 ) in isAddSub()
1722 static Bool isLogic ( IROp op8 ) in isLogic()
1783 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
1808 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
1835 static void setFlags_DEP1_DEP2_shift ( IROp op64, in setFlags_DEP1_DEP2_shift()
2009 IROp plus = mkSizedOp(ty, Iop_Add8); in helper_ADC()
[all …]
Dir_opt.c1254 static IRExpr* mkZeroOfPrimopResultType ( IROp op ) in mkZeroOfPrimopResultType()
1275 static IRExpr* mkOnesOfPrimopResultType ( IROp op ) in mkOnesOfPrimopResultType()
2890 IROp cvtOp = Iop_INVALID; in cprop_BB()
3430 IROp op;
3435 IROp op;
3441 IROp op;
3447 IROp op;
5249 static inline Bool is_Unop ( IRExpr* e, IROp op ) { in is_Unop()
5252 static inline Bool is_Binop ( IRExpr* e, IROp op ) { in is_Binop()
5256 static IRExpr* fold_IRExpr_Binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in fold_IRExpr_Binop()
[all …]
Dhost_s390_isel.c1548 IROp unop, binop; in s390_isel_int_expr_wrk()
1997 IROp op = triop->op; in s390_isel_float128_expr_wrk()
2369 IROp op = triop->op; in s390_isel_float_expr_wrk()
2400 IROp op = expr->Iex.Binop.op; in s390_isel_float_expr_wrk()
2542 IROp op = expr->Iex.Unop.op; in s390_isel_float_expr_wrk()
2685 IROp op = triop->op; in s390_isel_dfp128_expr_wrk()
3014 IROp op = expr->Iex.Binop.op; in s390_isel_dfp_expr_wrk()
3175 IROp op = expr->Iex.Unop.op; in s390_isel_dfp_expr_wrk()
3224 IROp op = triop->op; in s390_isel_dfp_expr_wrk()
Dir_defs.c120 void ppIROp ( IROp op ) in ppIROp()
123 IROp base; in ppIROp()
1815 IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2, in IRExpr_Qop()
1828 IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1, in IRExpr_Triop()
1840 IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 ) { in IRExpr_Binop()
1848 IRExpr* IRExpr_Unop ( IROp op, IRExpr* arg ) { in IRExpr_Unop()
2477 void typeOfPrimop ( IROp op, in typeOfPrimop()
Dguest_ppc_toIR.c605 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
610 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
615 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
620 static IRExpr* qop ( IROp op, IRExpr* a1, IRExpr* a2, in qop()
1012 static IROp mkSzOp ( IRType ty, IROp op8 ) in mkSzOp()
1091 IROp op; in mkWidenFrom8()
1100 IROp op; in mkWidenFrom16()
4637 IROp to_bit = (mode64 ? Iop_64to1 : Iop_32to1); in dis_int_parity()
4638 IROp shr_op = (mode64 ? Iop_Shr64 : Iop_Shr32); in dis_int_parity()
5520 IROp mkAdd = mode64 ? Iop_Add64 : Iop_Add32; in dis_int_ldst_mult()
[all …]
Dguest_tilegx_toIR.c120 static IRExpr *unop ( IROp op, IRExpr * a ) in unop()
125 static IRExpr *binop ( IROp op, IRExpr * a1, IRExpr * a2 ) in binop()
Dhost_ppc_isel.c194 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
1852 IROp op_unop = e->Iex.Unop.op; in iselWordExpr_R_wrk()
3131 IROp op_binop = e->Iex.Binop.op; in iselInt128Expr_to_32x4_wrk()
3248 IROp op_binop = e->Iex.Binop.op; in iselInt64Expr_wrk()
Dhost_tilegx_isel.c786 IROp op_unop = e->Iex.Unop.op; in iselWordExpr_R_wrk()
Dguest_s390_toIR.c52 static void s390_irgen_xonc(IROp, IRTemp, IRTemp, IRTemp);
154 unop(IROp kind, IRExpr *op) in unop()
161 binop(IROp kind, IRExpr *op1, IRExpr *op2) in binop()
168 triop(IROp kind, IRExpr *op1, IRExpr *op2, IRExpr *op3) in triop()
175 qop(IROp kind, IRExpr *op1, IRExpr *op2, IRExpr *op3, IRExpr *op4) in qop()
5716 s390_irgen_load_and_bitwise32(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise32()
5746 s390_irgen_load_and_bitwise64(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise64()
11354 s390_irgen_xonc(IROp op, IRTemp length, IRTemp start1, IRTemp start2) in s390_irgen_xonc()
11638 s390_irgen_divide_64to32(IROp op, UChar r1, IRTemp op2) in s390_irgen_divide_64to32()
11652 s390_irgen_divide_128to64(IROp op, UChar r1, IRTemp op2) in s390_irgen_divide_128to64()
[all …]
/external/valgrind/VEX/pub/
Dlibvex_ir.h1848 IROp; typedef
1851 extern void ppIROp ( IROp );
1854 extern void typeOfPrimop ( IROp op,
2021 IROp op; /* op-code */
2030 IROp op; /* op-code */
2123 IROp op; /* op-code */
2131 IROp op; /* op-code */
2167 extern IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2,
2169 extern IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1,
2171 extern IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 );
[all …]
Dlibvex.h837 IROp op; // the operation to perform
/external/valgrind/coregrind/
Dm_translate.c1029 IROp op_CmpNE = Iop_CmpNE64; in gen_PUSH()
1030 IROp op_Sar = Iop_Sar64; in gen_PUSH()
1031 IROp op_Sub = Iop_Sub64; in gen_PUSH()
1032 IROp op_Add = Iop_Add64; in gen_PUSH()
1043 IROp op_CmpNE = Iop_CmpNE32; in gen_PUSH()
1044 IROp op_Sar = Iop_Sar32; in gen_PUSH()
1045 IROp op_Sub = Iop_Sub32; in gen_PUSH()
1046 IROp op_Add = Iop_Add32; in gen_PUSH()
1123 IROp op_CmpNE = Iop_CmpNE64; in gen_POP()
1124 IROp op_Sar = Iop_Sar64; in gen_POP()
[all …]
/external/valgrind/memcheck/
Dmc_translate.c979 IROp opDIFD, opUIFU, opXOR, opNOT, opCMP, opOR; in expensiveCmpEQorNE()
1094 IROp cmp_op, in doCmpORD()
1100 IROp opOR = m64 ? Iop_Or64 : Iop_Or32; in doCmpORD()
1101 IROp opAND = m64 ? Iop_And64 : Iop_And32; in doCmpORD()
1102 IROp opSHL = m64 ? Iop_Shl64 : Iop_Shl32; in doCmpORD()
1103 IROp opSHR = m64 ? Iop_Shr64 : Iop_Shr32; in doCmpORD()
1889 IROp opAND, opOR, opXOR, opNOT, opADD, opSUB; in expensiveAddSub()
1969 IRAtom* expensiveCountTrailingZeroes ( MCEnv* mce, IROp czop, in expensiveCountTrailingZeroes()
1973 IROp xorOp, subOp, andOp; in expensiveCountTrailingZeroes()
2047 IROp original_op, in scalarShift()
[all …]
/external/valgrind/drd/
Ddrd_load_store.c342 static const IROp u_widen_irop[5][9] = {
425 IROp widen_op; in instr_trace_mem_store()
/external/valgrind/VEX/useful/
Dtest_main.c1346 IROp opAND, opOR, opXOR, opNOT, opADD; in expensiveAdd32()
1575 IRAtom* vectorNarrowV128 ( MCEnv* mce, IROp narrow_op, in vectorNarrowV128()
1641 IROp op, in expr2vbits_Binop()
1961 IRExpr* expr2vbits_Unop ( MCEnv* mce, IROp op, IRAtom* atom ) in expr2vbits_Unop()
2088 IROp mkAdd; in expr2vbits_LDle_WRK()
2250 IROp mkAdd; in do_shadow_STle()
/external/valgrind/cachegrind/
Dcg_main.c1249 IROp widen = tyW==Ity_I32 ? Iop_1Uto32 : Iop_1Uto64; in cg_instrument()
1250 IROp opXOR = tyW==Ity_I32 ? Iop_Xor32 : Iop_Xor64; in cg_instrument()
/external/valgrind/callgrind/
Dmain.c1195 IROp widen = tyW==Ity_I32 ? Iop_1Uto32 : Iop_1Uto64; in CLG_()
1196 IROp opXOR = tyW==Ity_I32 ? Iop_Xor32 : Iop_Xor64; in CLG_()

12