Home
last modified time | relevance | path

Searched refs:IRExpr (Results 1 – 25 of 55) sorted by relevance

123

/external/valgrind/VEX/pub/
Dlibvex_ir.h1933 IRExpr; typedef
1990 IRExpr* ix; /* Variable part of index into array */
2022 IRExpr* arg1; /* operand 1 */
2023 IRExpr* arg2; /* operand 2 */
2031 IRExpr* arg; /* operand */
2043 IRExpr* addr; /* Address being loaded from */
2103 IRExpr** args; /* Vector of argument expressions. */
2114 IRExpr* cond; /* Condition */
2115 IRExpr* iftrue; /* True expression */
2116 IRExpr* iffalse; /* False expression */
[all …]
/external/valgrind/VEX/priv/
Dir_defs.c1266 void ppIRExpr ( const IRExpr* e ) in ppIRExpr()
1342 IRExpr* arg = e->Iex.CCall.args[i]; in ppIRExpr()
1414 IRExpr* arg = d->args[i]; in ppIRDirty()
1788 IRExpr* IRExpr_Binder ( Int binder ) { in IRExpr_Binder()
1789 IRExpr* e = LibVEX_Alloc_inline(sizeof(IRExpr)); in IRExpr_Binder()
1794 IRExpr* IRExpr_Get ( Int off, IRType ty ) { in IRExpr_Get()
1795 IRExpr* e = LibVEX_Alloc_inline(sizeof(IRExpr)); in IRExpr_Get()
1801 IRExpr* IRExpr_GetI ( IRRegArray* descr, IRExpr* ix, Int bias ) { in IRExpr_GetI()
1802 IRExpr* e = LibVEX_Alloc_inline(sizeof(IRExpr)); in IRExpr_GetI()
1809 IRExpr* IRExpr_RdTmp ( IRTemp tmp ) { in IRExpr_RdTmp()
[all …]
Dir_match.h50 static IRExpr* _patt = NULL
71 IRExpr* bindee[N_IRMATCH_BINDERS];
81 Bool matchIRExpr ( MatchInfo* mi, IRExpr* p/*attern*/, IRExpr* e/*xpr*/ );
Dir_inject.c60 static IRExpr *
61 load_aux(IREndness endian, IRType type, IRExpr *addr) in load_aux()
81 static IRExpr *
85 IRExpr *addr, *next_addr; in load()
125 store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data) in store_aux()
145 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) in store()
148 IRExpr *addr, *next_addr; in store()
194 IRExpr *data, *rounding_mode, *opnd1, *opnd2, *opnd3, *opnd4; in vex_inject_ir()
Dir_match.c45 void setBindee ( MatchInfo* mi, Int n, IRExpr* bindee ) in setBindee()
60 Bool matchWrk ( MatchInfo* mi, IRExpr* p/*attern*/, IRExpr* e/*xpr*/ ) in matchWrk()
99 Bool matchIRExpr ( MatchInfo* mi, IRExpr* p/*attern*/, IRExpr* e/*xpr*/ ) in matchIRExpr()
Dhost_s390_isel.c114 IRExpr *previous_bfp_rounding_mode;
115 IRExpr *previous_dfp_rounding_mode;
128 static HReg s390_isel_int_expr(ISelEnv *, IRExpr *);
129 static s390_amode *s390_isel_amode(ISelEnv *, IRExpr *);
130 static s390_amode *s390_isel_amode_b12_b20(ISelEnv *, IRExpr *);
131 static s390_cc_t s390_isel_cc(ISelEnv *, IRExpr *);
132 static s390_opnd_RMI s390_isel_int_expr_RMI(ISelEnv *, IRExpr *);
133 static void s390_isel_int128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
134 static HReg s390_isel_float_expr(ISelEnv *, IRExpr *);
135 static void s390_isel_float128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
[all …]
Dguest_ppc_defs.h69 IRExpr* guest_ppc32_spechelper ( const HChar* function_name,
70 IRExpr** args,
75 IRExpr* guest_ppc64_spechelper ( const HChar* function_name,
76 IRExpr** args,
Dguest_mips_defs.h58 extern IRExpr *guest_mips32_spechelper ( const HChar * function_name,
59 IRExpr ** args,
63 extern IRExpr *guest_mips64_spechelper ( const HChar * function_name,
64 IRExpr ** args,
Dir_opt.c269 static Bool isFlat ( IRExpr* e ) in isFlat()
285 static IRExpr* flatten_Expr ( IRSB* bb, IRExpr* ex ) in flatten_Expr()
288 IRExpr** newargs; in flatten_Expr()
403 IRExpr *e1, *e2, *e3, *e4, *e5; in flatten_Stmt()
490 IRExpr* arg = d2->args[i]; in flatten_Stmt()
632 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
642 IRExpr* valE = (IRExpr*)val; in redundant_get_removal_BB()
727 IRExpr* e; in handle_gets_Stmt()
1046 static Bool sameIRExprs_aux2 ( IRExpr** env, IRExpr* e1, IRExpr* e2 );
1049 static Bool sameIRExprs_aux ( IRExpr** env, IRExpr* e1, IRExpr* e2 ) in sameIRExprs_aux()
[all …]
Dguest_ppc_toIR.c588 static void assign ( IRTemp dst, IRExpr* e ) in assign()
594 static void store ( IRExpr* addr, IRExpr* data ) in store()
605 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()
621 IRExpr* a3, IRExpr* a4 ) in qop()
626 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
631 static IRExpr* mkU8 ( UChar i ) in mkU8()
636 static IRExpr* mkU16 ( UInt i ) in mkU16()
[all …]
Dhost_arm64_isel.c111 IRExpr* previous_rm;
179 IRExpr* e, IRType dty );
181 IRExpr* e, IRType dty );
183 static ARM64RIA* iselIntExpr_RIA_wrk ( ISelEnv* env, IRExpr* e );
184 static ARM64RIA* iselIntExpr_RIA ( ISelEnv* env, IRExpr* e );
186 static ARM64RIL* iselIntExpr_RIL_wrk ( ISelEnv* env, IRExpr* e );
187 static ARM64RIL* iselIntExpr_RIL ( ISelEnv* env, IRExpr* e );
189 static ARM64RI6* iselIntExpr_RI6_wrk ( ISelEnv* env, IRExpr* e );
190 static ARM64RI6* iselIntExpr_RI6 ( ISelEnv* env, IRExpr* e );
192 static ARM64CondCode iselCondCode_wrk ( ISelEnv* env, IRExpr* e );
[all …]
Dguest_arm_helpers.c546 static Bool isU32 ( IRExpr* e, UInt n ) in isU32()
554 IRExpr* guest_arm_spechelper ( const HChar* function_name, in guest_arm_spechelper()
555 IRExpr** args, in guest_arm_spechelper()
585 IRExpr *cond_n_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
742 IRExpr* n = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_N)); in guest_arm_spechelper()
743 IRExpr* v = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_V)); in guest_arm_spechelper()
744 IRExpr* z = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_Z)); in guest_arm_spechelper()
753 IRExpr* n = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_N)); in guest_arm_spechelper()
754 IRExpr* v = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_V)); in guest_arm_spechelper()
755 IRExpr* z = binop(Iop_Shr32, cc_dep1, mkU8(ARMG_CC_SHIFT_Z)); in guest_arm_spechelper()
[all …]
Dhost_tilegx_isel.c114 IRExpr *previous_rm;
158 static TILEGXRH *iselWordExpr_RH_wrk ( ISelEnv * env, Bool syned, IRExpr * e );
159 static TILEGXRH *iselWordExpr_RH ( ISelEnv * env, Bool syned, IRExpr * e );
161 static TILEGXRH *iselWordExpr_RH6u_wrk ( ISelEnv * env, IRExpr * e );
162 static TILEGXRH *iselWordExpr_RH6u ( ISelEnv * env, IRExpr * e );
165 static HReg iselWordExpr_R_wrk ( ISelEnv * env, IRExpr * e );
166 static HReg iselWordExpr_R ( ISelEnv * env, IRExpr * e );
169 static TILEGXAMode *iselWordExpr_AMode_wrk ( ISelEnv * env, IRExpr * e,
171 static TILEGXAMode *iselWordExpr_AMode ( ISelEnv * env, IRExpr * e,
174 static TILEGXCondCode iselCondCode_wrk ( ISelEnv * env, IRExpr * e );
[all …]
Dir_opt.h49 IRExpr* (*specHelper) (const HChar*, IRExpr**, IRStmt**, Int),
Dguest_arm64_toIR.c243 static IRExpr* mkV128 ( UShort w ) in mkV128()
248 static IRExpr* mkU64 ( ULong i ) in mkU64()
253 static IRExpr* mkU32 ( UInt i ) in mkU32()
258 static IRExpr* mkU16 ( UInt i ) in mkU16()
264 static IRExpr* mkU8 ( UInt i ) in mkU8()
270 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
275 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()
290 static IRExpr* loadLE ( IRType ty, IRExpr* addr ) in loadLE()
[all …]
Dguest_tilegx_defs.h58 extern IRExpr *guest_tilegx_spechelper ( const HChar * function_name,
59 IRExpr ** args,
Dhost_x86_isel.c91 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
96 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
101 static IRExpr* bind ( Int binder ) in bind()
106 static Bool isZeroU8 ( IRExpr* e ) in isZeroU8()
113 static Bool isZeroU32 ( IRExpr* e ) in isZeroU32()
250 static X86RMI* iselIntExpr_RMI_wrk ( ISelEnv* env, IRExpr* e );
251 static X86RMI* iselIntExpr_RMI ( ISelEnv* env, IRExpr* e );
253 static X86RI* iselIntExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
254 static X86RI* iselIntExpr_RI ( ISelEnv* env, IRExpr* e );
256 static X86RM* iselIntExpr_RM_wrk ( ISelEnv* env, IRExpr* e );
[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()
89 static IRExpr* bind ( Int binder ) in bind()
94 static Bool isZeroU8 ( IRExpr* e ) in isZeroU8()
219 static AMD64RMI* iselIntExpr_RMI_wrk ( ISelEnv* env, IRExpr* e );
220 static AMD64RMI* iselIntExpr_RMI ( ISelEnv* env, IRExpr* e );
222 static AMD64RI* iselIntExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
223 static AMD64RI* iselIntExpr_RI ( ISelEnv* env, IRExpr* e );
225 static AMD64RM* iselIntExpr_RM_wrk ( ISelEnv* env, IRExpr* e );
226 static AMD64RM* iselIntExpr_RM ( ISelEnv* env, IRExpr* e );
[all …]
Dhost_ppc_isel.c194 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
199 static IRExpr* mkU32 ( UInt i ) in mkU32()
204 static IRExpr* bind ( Int binder ) in bind()
209 static Bool isZeroU8 ( IRExpr* e ) in isZeroU8()
297 IRExpr* previous_rm;
382 static HReg iselWordExpr_R_wrk ( ISelEnv* env, IRExpr* e,
384 static HReg iselWordExpr_R ( ISelEnv* env, IRExpr* e,
397 Bool syned, IRExpr* e,
400 Bool syned, IRExpr* e,
405 static PPCRI* iselWordExpr_RI_wrk ( ISelEnv* env, IRExpr* e,
[all …]
Dguest_arm64_defs.h58 IRExpr* guest_arm64_spechelper ( const HChar* function_name,
59 IRExpr** args,
Dguest_arm_toIR.c277 static IRExpr* mkU64 ( ULong i ) in mkU64()
282 static IRExpr* mkU32 ( UInt i ) in mkU32()
287 static IRExpr* mkU8 ( UInt i ) in mkU8()
293 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
298 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()
313 static IRExpr* loadLE ( IRType ty, IRExpr* addr ) in loadLE()
324 static void assign ( IRTemp dst, IRExpr* e ) in assign()
329 static void storeLE ( IRExpr* addr, IRExpr* data ) in storeLE()
[all …]
Dguest_tilegx_toIR.c98 static IRExpr *mkU8 ( UInt i ) in mkU8()
104 static IRExpr *mkU32 ( UInt i ) in mkU32()
110 static IRExpr *mkU64 ( ULong i ) in mkU64()
115 static IRExpr *mkexpr ( IRTemp tmp ) in mkexpr()
120 static IRExpr *unop ( IROp op, IRExpr * a ) in unop()
125 static IRExpr *binop ( IROp op, IRExpr * a1, IRExpr * a2 ) in binop()
130 static IRExpr *load ( IRType ty, IRExpr * addr ) in load()
132 IRExpr *load1 = NULL; in load()
146 static void putPC ( IRExpr * e ) in putPC()
151 static void assign ( IRTemp dst, IRExpr * e ) in assign()
[all …]
Dguest_arm_defs.h60 IRExpr* guest_arm_spechelper ( const HChar* function_name,
61 IRExpr** args,
Dhost_mips_isel.c234 static MIPSRH *iselWordExpr_RH_wrk(ISelEnv * env, Bool syned, IRExpr * e);
235 static MIPSRH *iselWordExpr_RH(ISelEnv * env, Bool syned, IRExpr * e);
239 static MIPSRH *iselWordExpr_RH5u_wrk(ISelEnv * env, IRExpr * e);
240 static MIPSRH *iselWordExpr_RH5u(ISelEnv * env, IRExpr * e);
244 static MIPSRH *iselWordExpr_RH6u_wrk(ISelEnv * env, IRExpr * e);
245 static MIPSRH *iselWordExpr_RH6u(ISelEnv * env, IRExpr * e);
248 static HReg iselWordExpr_R_wrk(ISelEnv * env, IRExpr * e);
249 static HReg iselWordExpr_R(ISelEnv * env, IRExpr * e);
252 static MIPSAMode *iselWordExpr_AMode_wrk(ISelEnv * env, IRExpr * e,
254 static MIPSAMode *iselWordExpr_AMode(ISelEnv * env, IRExpr * e, IRType xferTy);
[all …]
/external/valgrind/drd/
Ddrd_load_store.c314 static Bool is_stack_access(IRSB* const bb, IRExpr* const addr_expr) in is_stack_access()
327 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; in is_stack_access()
352 static IRExpr* instr_trace_mem_load(IRSB* const bb, IRExpr* addr_expr, in instr_trace_mem_load()
354 IRExpr* const guard/* NULL => True */) in instr_trace_mem_load()
376 static void instr_trace_mem_store(IRSB* const bb, IRExpr* const addr_expr, in instr_trace_mem_store()
377 IRExpr* data_expr_hi, IRExpr* data_expr_lo, in instr_trace_mem_store()
378 IRExpr* const guard/* NULL => True */) in instr_trace_mem_store()
475 static void instrument_load(IRSB* const bb, IRExpr* const addr_expr, in instrument_load()
477 IRExpr* const guard/* NULL => True */) in instrument_load()
479 IRExpr* size_expr; in instrument_load()
[all …]

123