Home
last modified time | relevance | path

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

12

/external/valgrind/main/memcheck/tests/vbit-test/
Dvtest.h65 IROp op;
102 irop_t *get_irop(IROp);
103 int is_floating_point_op_with_rounding_mode(IROp);
104 int get_num_operands(IROp);
123 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.c98 IROp first = Iop_INVALID + 1; in main()
99 IROp last = Iop_LAST; in main()
100 IROp opkind; in main()
Dutil.c119 is_floating_point_op_with_rounding_mode(IROp op) in is_floating_point_op_with_rounding_mode()
144 get_num_operands(IROp op) in get_num_operands()
201 typeof_primop(IROp op, IRType *t_dst, IRType *t_arg1, IRType *t_arg2, in typeof_primop()
/external/valgrind/main/coregrind/
Dm_translate.c952 IROp op_CmpNE = Iop_CmpNE64; in gen_PUSH()
953 IROp op_Sar = Iop_Sar64; in gen_PUSH()
954 IROp op_Sub = Iop_Sub64; in gen_PUSH()
955 IROp op_Add = Iop_Add64; in gen_PUSH()
966 IROp op_CmpNE = Iop_CmpNE32; in gen_PUSH()
967 IROp op_Sar = Iop_Sar32; in gen_PUSH()
968 IROp op_Sub = Iop_Sub32; in gen_PUSH()
969 IROp op_Add = Iop_Add32; in gen_PUSH()
1046 IROp op_CmpNE = Iop_CmpNE64; in gen_POP()
1047 IROp op_Sar = Iop_Sar64; in gen_POP()
[all …]
/external/valgrind/main/VEX/priv/
Dguest_arm64_toIR.c282 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
287 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
292 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
403 static IROp mkAND ( IRType ty ) { in mkAND()
411 static IROp mkOR ( IRType ty ) { in mkOR()
419 static IROp mkXOR ( IRType ty ) { in mkXOR()
427 static IROp mkSHL ( IRType ty ) { in mkSHL()
435 static IROp mkSHR ( IRType ty ) { in mkSHR()
443 static IROp mkSAR ( IRType ty ) { in mkSAR()
451 static IROp mkNOT ( IRType ty ) { in mkNOT()
[all …]
Dir_inject.c84 IROp concat; in load()
147 IROp high, low; in store()
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_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_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()
1710 static Bool isAddSub ( IROp op8 ) in isAddSub()
1715 static Bool isLogic ( IROp op8 ) in isLogic()
1776 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
1801 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
1828 static void setFlags_DEP1_DEP2_shift ( IROp op64, in setFlags_DEP1_DEP2_shift()
2002 IROp plus = mkSizedOp(ty, Iop_Add8); in helper_ADC()
[all …]
Dhost_s390_isel.c1545 IROp unop, binop; in s390_isel_int_expr_wrk()
1994 IROp op = triop->op; in s390_isel_float128_expr_wrk()
2330 IROp op = triop->op; in s390_isel_float_expr_wrk()
2361 IROp op = expr->Iex.Binop.op; in s390_isel_float_expr_wrk()
2501 IROp op = expr->Iex.Unop.op; in s390_isel_float_expr_wrk()
2644 IROp op = triop->op; in s390_isel_dfp128_expr_wrk()
2973 IROp op = expr->Iex.Binop.op; in s390_isel_dfp_expr_wrk()
3134 IROp op = expr->Iex.Unop.op; in s390_isel_dfp_expr_wrk()
3183 IROp op = triop->op; in s390_isel_dfp_expr_wrk()
Dir_opt.c1243 static IRExpr* mkZeroOfPrimopResultType ( IROp op ) in mkZeroOfPrimopResultType()
1262 static IRExpr* mkOnesOfPrimopResultType ( IROp op ) in mkOnesOfPrimopResultType()
2825 IROp cvtOp = Iop_INVALID; in cprop_BB()
3346 IROp op;
3351 IROp op;
3357 IROp op;
3363 IROp op;
5119 static inline Bool is_Unop ( IRExpr* e, IROp op ) { in is_Unop()
5122 static inline Bool is_Binop ( IRExpr* e, IROp op ) { in is_Binop()
5126 static IRExpr* fold_IRExpr_Binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in fold_IRExpr_Binop()
[all …]
Dir_defs.c119 void ppIROp ( IROp op ) in ppIROp()
122 IROp base; in ppIROp()
1722 IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2, in IRExpr_Qop()
1735 IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1, in IRExpr_Triop()
1747 IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 ) { in IRExpr_Binop()
1755 IRExpr* IRExpr_Unop ( IROp op, IRExpr* arg ) { in IRExpr_Unop()
2377 void typeOfPrimop ( IROp op, in typeOfPrimop()
Dguest_ppc_toIR.c536 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
541 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
546 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
551 static IRExpr* qop ( IROp op, IRExpr* a1, IRExpr* a2, in qop()
931 static IROp mkSzOp ( IRType ty, IROp op8 ) in mkSzOp()
1010 IROp op; in mkWidenFrom8()
1019 IROp op; in mkWidenFrom16()
4373 IROp to_bit = (mode64 ? Iop_64to1 : Iop_32to1); in dis_int_parity()
4374 IROp shr_op = (mode64 ? Iop_Shr64 : Iop_Shr32); in dis_int_parity()
5242 IROp mkAdd = mode64 ? Iop_Add64 : Iop_Add32; in dis_int_ldst_mult()
[all …]
Dhost_ppc_isel.c194 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
1812 IROp op_unop = e->Iex.Unop.op; in iselWordExpr_R_wrk()
3033 IROp op_binop = e->Iex.Binop.op; in iselInt128Expr_to_32x4_wrk()
3148 IROp op_binop = e->Iex.Binop.op; in iselInt64Expr_wrk()
Dguest_s390_toIR.c52 static void s390_irgen_xonc(IROp, IRTemp, IRTemp, IRTemp);
163 unop(IROp kind, IRExpr *op) in unop()
170 binop(IROp kind, IRExpr *op1, IRExpr *op2) in binop()
177 triop(IROp kind, IRExpr *op1, IRExpr *op2, IRExpr *op3) in triop()
184 qop(IROp kind, IRExpr *op1, IRExpr *op2, IRExpr *op3, IRExpr *op4) in qop()
5709 s390_irgen_load_and_bitwise32(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise32()
5739 s390_irgen_load_and_bitwise64(UChar r1, UChar r3, IRTemp op2addr, IROp op) in s390_irgen_load_and_bitwise64()
11263 s390_irgen_xonc(IROp op, IRTemp length, IRTemp start1, IRTemp start2) in s390_irgen_xonc()
11547 s390_irgen_divide_64to32(IROp op, UChar r1, IRTemp op2) in s390_irgen_divide_64to32()
11561 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()
1423 IROp opi = e->Iex.Unop.arg->Iex.Binop.op; /* inner op */ in iselIntExpr_R_wrk()
Dguest_mips_toIR.c873 static IRExpr *unop(IROp op, IRExpr * a) in unop()
878 static IRExpr *binop(IROp op, IRExpr * a1, IRExpr * a2) in binop()
883 static IRExpr *triop(IROp op, IRExpr * a1, IRExpr * a2, IRExpr * a3) in triop()
888 static IRExpr *qop ( IROp op, IRExpr * a1, IRExpr * a2, IRExpr * a3, in qop()
1686 static IROp mkSzOp ( IRType ty, IROp op8 ) in mkSzOp()
2071 IROp opSlt = mode64 ? Iop_CmpLT64S : Iop_CmpLT32S; in dis_instr_branch()
/external/valgrind/main/VEX/pub/
Dlibvex_ir.h1698 IROp; typedef
1701 extern void ppIROp ( IROp );
1867 IROp op; /* op-code */
1876 IROp op; /* op-code */
1969 IROp op; /* op-code */
1977 IROp op; /* op-code */
2013 extern IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2,
2015 extern IRExpr* IRExpr_Triop ( IROp op, IRExpr* arg1,
2017 extern IRExpr* IRExpr_Binop ( IROp op, IRExpr* arg1, IRExpr* arg2 );
2018 extern IRExpr* IRExpr_Unop ( IROp op, IRExpr* arg );
Dlibvex.h856 IROp op; // the operation to perform
/external/valgrind/main/memcheck/
Dmc_translate.c910 IROp opDIFD, opUIFU, opXOR, opNOT, opCMP, opOR; in expensiveCmpEQorNE()
1025 IROp cmp_op, in doCmpORD()
1031 IROp opOR = m64 ? Iop_Or64 : Iop_Or32; in doCmpORD()
1032 IROp opAND = m64 ? Iop_And64 : Iop_And32; in doCmpORD()
1033 IROp opSHL = m64 ? Iop_Shl64 : Iop_Shl32; in doCmpORD()
1034 IROp opSHR = m64 ? Iop_Shr64 : Iop_Shr32; in doCmpORD()
1820 IROp opAND, opOR, opXOR, opNOT, opADD, opSUB; in expensiveAddSub()
1900 IRAtom* expensiveCountTrailingZeroes ( MCEnv* mce, IROp czop, in expensiveCountTrailingZeroes()
1904 IROp xorOp, subOp, andOp; in expensiveCountTrailingZeroes()
1978 IROp original_op, in scalarShift()
[all …]
/external/valgrind/main/drd/
Ddrd_load_store.c340 static const IROp u_widen_irop[5][9] = {
423 IROp widen_op; in instr_trace_mem_store()
/external/valgrind/main/VEX/
Dtest_main.c1325 IROp opAND, opOR, opXOR, opNOT, opADD; in expensiveAdd32()
1554 IRAtom* vectorNarrowV128 ( MCEnv* mce, IROp narrow_op, in vectorNarrowV128()
1620 IROp op, in expr2vbits_Binop()
1940 IRExpr* expr2vbits_Unop ( MCEnv* mce, IROp op, IRAtom* atom ) in expr2vbits_Unop()
2068 IROp mkAdd; in expr2vbits_LDle_WRK()
2230 IROp mkAdd; in do_shadow_STle()
/external/valgrind/main/cachegrind/
Dcg_main.c1256 IROp widen = tyW==Ity_I32 ? Iop_1Uto32 : Iop_1Uto64; in cg_instrument()
1257 IROp opXOR = tyW==Ity_I32 ? Iop_Xor32 : Iop_Xor64; in cg_instrument()
/external/valgrind/main/callgrind/
Dmain.c1194 IROp widen = tyW==Ity_I32 ? Iop_1Uto32 : Iop_1Uto64; in CLG_()
1195 IROp opXOR = tyW==Ity_I32 ? Iop_Xor32 : Iop_Xor64; in CLG_()

12