Home
last modified time | relevance | path

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

12

/external/valgrind/memcheck/tests/vbit-test/
Dvtest.h164 IROp op;
210 irop_t *get_irop(IROp);
211 int is_floating_point_op_with_rounding_mode(IROp);
212 int get_num_operands(IROp);
231 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.c157 IROp first = Iop_INVALID + 1; in main()
158 IROp last = Iop_LAST; in main()
159 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.c276 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
281 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
286 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
457 static IROp mkAND ( IRType ty ) { in mkAND()
465 static IROp mkOR ( IRType ty ) { in mkOR()
473 static IROp mkXOR ( IRType ty ) { in mkXOR()
481 static IROp mkSHL ( IRType ty ) { in mkSHL()
489 static IROp mkSHR ( IRType ty ) { in mkSHR()
497 static IROp mkSAR ( IRType ty ) { in mkSAR()
505 static IROp mkNOT ( IRType ty ) { in mkNOT()
[all …]
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.c306 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
311 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
316 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
2908 IRExpr* binop_w_fake_RM ( IROp op, IRExpr* argL, IRExpr* argR ) in binop_w_fake_RM()
2940 IROp cmp; in dis_neon_vtb()
3022 IROp op, op2; in dis_neon_vdup()
3108 IROp addOp; in dis_neon_data_3same()
3109 IROp andOp; in dis_neon_data_3same()
3110 IROp shOp; in dis_neon_data_3same()
3178 IROp op, op2; in dis_neon_data_3same()
[all …]
Dir_inject.c85 IROp concat; in load()
148 IROp high, low; in store()
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()
1727 static Bool isAddSub ( IROp op8 ) in isAddSub()
1732 static Bool isLogic ( IROp op8 ) in isLogic()
1793 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
1818 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
1845 static void setFlags_DEP1_DEP2_shift ( IROp op64, in setFlags_DEP1_DEP2_shift()
2019 IROp plus = mkSizedOp(ty, Iop_Add8); in helper_ADC()
[all …]
Dir_opt.c1255 static IRExpr* mkZeroOfPrimopResultType ( IROp op ) in mkZeroOfPrimopResultType()
1276 static IRExpr* mkOnesOfPrimopResultType ( IROp op ) in mkOnesOfPrimopResultType()
2891 IROp cvtOp = Iop_INVALID; in cprop_BB()
3431 IROp op;
3436 IROp op;
3442 IROp op;
3448 IROp op;
5250 static inline Bool is_Unop ( IRExpr* e, IROp op ) { in is_Unop()
5253 static inline Bool is_Binop ( IRExpr* e, IROp op ) { in is_Binop()
5257 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()
1841 IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2, in IRExpr_Qop()
1854 IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1, in IRExpr_Triop()
1866 IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 ) { in IRExpr_Binop()
1874 IRExpr* IRExpr_Unop ( IROp op, IRExpr* arg ) { in IRExpr_Unop()
2542 void typeOfPrimop ( IROp op, in typeOfPrimop()
Dguest_ppc_toIR.c618 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
623 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
628 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
633 static IRExpr* qop ( IROp op, IRExpr* a1, IRExpr* a2, in qop()
1079 static IROp mkSzOp ( IRType ty, IROp op8 ) in mkSzOp()
1158 IROp op; in mkWidenFrom8()
1167 IROp op; in mkWidenFrom16()
2134 IROp opAND, opOR, opSHL, opXto1, op1UtoX; in create_DCM()
3683 IROp opAND, opCmpEQ; in exponent_compare()
3736 IROp opAND, opCmpEQ; in fractional_part_compare()
[all …]
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()
5726 s390_irgen_load_and_bitwise32(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise32()
5756 s390_irgen_load_and_bitwise64(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise64()
11478 s390_irgen_xonc(IROp op, IRTemp length, IRTemp start1, IRTemp start2) in s390_irgen_xonc()
11773 s390_irgen_divide_64to32(IROp op, UChar r1, IRTemp op2) in s390_irgen_divide_64to32()
11787 s390_irgen_divide_128to64(IROp op, UChar r1, IRTemp op2) in s390_irgen_divide_128to64()
[all …]
Dhost_amd64_isel.c79 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
84 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
1422 IROp opi = e->Iex.Unop.arg->Iex.Binop.op; /* inner op */ in iselIntExpr_R_wrk()
Dhost_ppc_isel.c194 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
1871 IROp op_unop = e->Iex.Unop.op; in iselWordExpr_R_wrk()
3238 IROp op_binop = e->Iex.Binop.op; in iselInt128Expr_to_32x4_wrk()
3385 IROp op_binop = e->Iex.Binop.op; in iselInt64Expr_wrk()
Dguest_mips_toIR.c882 static IRExpr *unop(IROp op, IRExpr * a) in unop()
887 static IRExpr *binop(IROp op, IRExpr * a1, IRExpr * a2) in binop()
892 static IRExpr *triop(IROp op, IRExpr * a1, IRExpr * a2, IRExpr * a3) in triop()
897 static IRExpr *qop ( IROp op, IRExpr * a1, IRExpr * a2, IRExpr * a3, in qop()
1737 static IROp mkSzOp ( IRType ty, IROp op8 ) in mkSzOp()
2122 IROp opSlt = mode64 ? Iop_CmpLT64S : Iop_CmpLT32S; in dis_instr_branch()
Dhost_mips_isel.c1363 IROp op_unop = e->Iex.Unop.op; in iselWordExpr_R_wrk()
2371 IROp op_binop = e->Iex.Binop.op; in iselInt64Expr_wrk()
/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/VEX/pub/
Dlibvex_ir.h1897 IROp; typedef
1900 extern void ppIROp ( IROp );
1903 extern void typeOfPrimop ( IROp op,
2070 IROp op; /* op-code */
2079 IROp op; /* op-code */
2172 IROp op; /* op-code */
2180 IROp op; /* op-code */
2216 extern IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2,
2218 extern IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1,
2220 extern IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 );
[all …]
Dlibvex.h884 IROp op; // the operation to perform
/external/valgrind/memcheck/
Dmc_translate.c990 IROp opDIFD, opUIFU, opXOR, opNOT, opCMP, opOR; in expensiveCmpEQorNE()
1105 IROp cmp_op, in doCmpORD()
1111 IROp opOR = m64 ? Iop_Or64 : Iop_Or32; in doCmpORD()
1112 IROp opAND = m64 ? Iop_And64 : Iop_And32; in doCmpORD()
1113 IROp opSHL = m64 ? Iop_Shl64 : Iop_Shl32; in doCmpORD()
1114 IROp opSHR = m64 ? Iop_Shr64 : Iop_Shr32; in doCmpORD()
1924 IROp opAND, opOR, opXOR, opNOT, opADD, opSUB; in expensiveAddSub()
2004 IRAtom* expensiveCountTrailingZeroes ( MCEnv* mce, IROp czop, in expensiveCountTrailingZeroes()
2008 IROp xorOp, subOp, andOp; in expensiveCountTrailingZeroes()
2082 IROp original_op, in scalarShift()
[all …]
/external/valgrind/drd/
Ddrd_load_store.c340 static const IROp u_widen_irop[5][9] = {
423 IROp widen_op; in instr_trace_mem_store()
/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