Home
last modified time | relevance | path

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

12

/external/valgrind/main/VEX/pub/
Dlibvex_ir.h1563 IRExpr; typedef
1620 IRExpr* ix; /* Variable part of index into array */
1652 IRExpr* arg1; /* operand 1 */
1653 IRExpr* arg2; /* operand 2 */
1661 IRExpr* arg; /* operand */
1673 IRExpr* addr; /* Address being loaded from */
1728 IRExpr** args; /* Vector of argument expressions. */
1739 IRExpr* cond; /* Condition */
1740 IRExpr* expr0; /* True expression */
1741 IRExpr* exprX; /* False expression */
[all …]
/external/valgrind/main/VEX/priv/
Dir_defs.c1029 void ppIRExpr ( IRExpr* e ) in ppIRExpr()
1490 IRExpr* IRExpr_Binder ( Int binder ) { in IRExpr_Binder()
1491 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_Binder()
1496 IRExpr* IRExpr_Get ( Int off, IRType ty ) { in IRExpr_Get()
1497 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_Get()
1503 IRExpr* IRExpr_GetI ( IRRegArray* descr, IRExpr* ix, Int bias ) { in IRExpr_GetI()
1504 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_GetI()
1511 IRExpr* IRExpr_RdTmp ( IRTemp tmp ) { in IRExpr_RdTmp()
1512 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_RdTmp()
1517 IRExpr* IRExpr_Qop ( IROp op, IRExpr* arg1, IRExpr* arg2, in IRExpr_Qop()
[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_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()
Dguest_ppc_defs.h64 IRExpr* guest_ppc32_spechelper ( HChar* function_name,
65 IRExpr** args,
70 IRExpr* guest_ppc64_spechelper ( HChar* function_name,
71 IRExpr** args,
Dguest_mips_toIR.c577 static IRExpr *mkU8(UInt i) in mkU8()
584 static IRExpr *mkU32(UInt i) in mkU32()
590 static IRExpr *mkU64(ULong i) in mkU64()
595 static IRExpr *mkexpr(IRTemp tmp) in mkexpr()
600 static IRExpr *unop(IROp op, IRExpr * a) in unop()
605 static IRExpr *binop(IROp op, IRExpr * a1, IRExpr * a2) in binop()
610 static IRExpr *triop(IROp op, IRExpr * a1, IRExpr * a2, IRExpr * a3) in triop()
615 static IRExpr *load(IRType ty, IRExpr * addr) in load()
617 IRExpr *load1 = NULL; in load()
632 static void assign(IRTemp dst, IRExpr * e) in assign()
[all …]
Dguest_ppc_toIR.c509 static void assign ( IRTemp dst, IRExpr* e ) in assign()
515 static void storeBE ( IRExpr* addr, IRExpr* data ) in storeBE()
522 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
527 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
532 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
537 static IRExpr* qop ( IROp op, IRExpr* a1, IRExpr* a2, in qop()
538 IRExpr* a3, IRExpr* a4 ) in qop()
543 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
548 static IRExpr* mkU8 ( UChar i ) in mkU8()
553 static IRExpr* mkU16 ( UInt i ) in mkU16()
[all …]
Dhost_s390_isel.c127 static HReg s390_isel_int_expr(ISelEnv *, IRExpr *);
128 static s390_amode *s390_isel_amode(ISelEnv *, IRExpr *);
129 static s390_cc_t s390_isel_cc(ISelEnv *, IRExpr *);
130 static s390_opnd_RMI s390_isel_int_expr_RMI(ISelEnv *, IRExpr *);
131 static void s390_isel_int128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
132 static HReg s390_isel_float_expr(ISelEnv *, IRExpr *);
133 static void s390_isel_float128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
180 static __inline__ IRExpr *
288 s390_isel_amode_wrk(ISelEnv *env, IRExpr *expr) in s390_isel_amode_wrk()
291 IRExpr *arg1 = expr->Iex.Binop.arg1; in s390_isel_amode_wrk()
[all …]
Dir_opt.h48 IRExpr* (*specHelper) (HChar*, IRExpr**, IRStmt**, Int),
Dir_opt.c262 static Bool isFlat ( IRExpr* e ) in isFlat()
278 static IRExpr* flatten_Expr ( IRSB* bb, IRExpr* ex ) in flatten_Expr()
281 IRExpr** newargs; in flatten_Expr()
396 IRExpr *e1, *e2, *e3, *e4, *e5; in flatten_Stmt()
605 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
615 IRExpr* valE = (IRExpr*)val; in redundant_get_removal_BB()
699 IRExpr* e; in handle_gets_Stmt()
992 static Bool sameIRExprs_aux2 ( IRExpr** env, IRExpr* e1, IRExpr* e2 );
995 static Bool sameIRExprs_aux ( IRExpr** env, IRExpr* e1, IRExpr* e2 ) in sameIRExprs_aux()
1002 static Bool sameIRExprs_aux2 ( IRExpr** env, IRExpr* e1, IRExpr* e2 ) in sameIRExprs_aux2()
[all …]
Dguest_mips_defs.h55 extern IRExpr *guest_mips32_spechelper(HChar * function_name, IRExpr ** args,
Dhost_amd64_isel.c77 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
82 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
87 static IRExpr* bind ( Int binder ) in bind()
210 static AMD64RMI* iselIntExpr_RMI_wrk ( ISelEnv* env, IRExpr* e );
211 static AMD64RMI* iselIntExpr_RMI ( ISelEnv* env, IRExpr* e );
213 static AMD64RI* iselIntExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
214 static AMD64RI* iselIntExpr_RI ( ISelEnv* env, IRExpr* e );
216 static AMD64RM* iselIntExpr_RM_wrk ( ISelEnv* env, IRExpr* e );
217 static AMD64RM* iselIntExpr_RM ( ISelEnv* env, IRExpr* e );
219 static HReg iselIntExpr_R_wrk ( ISelEnv* env, IRExpr* e );
[all …]
Dhost_ppc_isel.c195 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
200 static IRExpr* mkU32 ( UInt i ) in mkU32()
205 static IRExpr* bind ( Int binder ) in bind()
291 IRExpr* previous_rm;
376 static HReg iselWordExpr_R_wrk ( ISelEnv* env, IRExpr* e );
377 static HReg iselWordExpr_R ( ISelEnv* env, IRExpr* e );
389 Bool syned, IRExpr* e );
391 Bool syned, IRExpr* e );
395 static PPCRI* iselWordExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
396 static PPCRI* iselWordExpr_RI ( ISelEnv* env, IRExpr* e );
[all …]
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()
120 static Bool isZeroU64 ( IRExpr* e ) in isZeroU64()
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 );
[all …]
Dguest_arm_defs.h57 IRExpr* guest_arm_spechelper ( HChar* function_name,
58 IRExpr** args,
Dhost_mips_isel.c221 static MIPSRH *iselWordExpr_RH_wrk(ISelEnv * env, Bool syned, IRExpr * e);
222 static MIPSRH *iselWordExpr_RH(ISelEnv * env, Bool syned, IRExpr * e);
226 static MIPSRH *iselWordExpr_RH5u_wrk(ISelEnv * env, IRExpr * e);
227 static MIPSRH *iselWordExpr_RH5u(ISelEnv * env, IRExpr * e);
230 static HReg iselWordExpr_R_wrk(ISelEnv * env, IRExpr * e);
231 static HReg iselWordExpr_R(ISelEnv * env, IRExpr * e);
234 static MIPSAMode *iselWordExpr_AMode_wrk(ISelEnv * env, IRExpr * e,
236 static MIPSAMode *iselWordExpr_AMode(ISelEnv * env, IRExpr * e, IRType xferTy);
239 IRExpr * e);
240 static void iselInt64Expr(HReg * rHi, HReg * rLo, ISelEnv * env, IRExpr * e);
[all …]
Dguest_s390_toIR.c119 static __inline__ IRExpr *
126 static __inline__ IRExpr *
134 assign(IRTemp dst, IRExpr *expr) in assign()
141 put_IA(IRExpr *address) in put_IA()
148 mktemp(IRType type, IRExpr *expr) in mktemp()
158 static __inline__ IRExpr *
159 unop(IROp kind, IRExpr *op) in unop()
165 static __inline__ IRExpr *
166 binop(IROp kind, IRExpr *op1, IRExpr *op2) in binop()
172 static __inline__ IRExpr *
[all …]
Dguest_s390_defs.h58 IRExpr* guest_s390x_spechelper ( HChar *function_name,
59 IRExpr **args,
Dguest_arm_toIR.c274 static IRExpr* mkU64 ( ULong i ) in mkU64()
279 static IRExpr* mkU32 ( UInt i ) in mkU32()
284 static IRExpr* mkU8 ( UInt i ) in mkU8()
290 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
295 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
300 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
305 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
310 static IRExpr* loadLE ( IRType ty, IRExpr* addr ) in loadLE()
321 static void assign ( IRTemp dst, IRExpr* e ) in assign()
326 static void storeLE ( IRExpr* addr, IRExpr* data ) in storeLE()
[all …]
Dguest_arm_helpers.c545 static Bool isU32 ( IRExpr* e, UInt n ) in isU32()
553 IRExpr* guest_arm_spechelper ( HChar* function_name, in guest_arm_spechelper()
554 IRExpr** args, in guest_arm_spechelper()
584 IRExpr *cond_n_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
770 IRExpr *cc_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
820 IRExpr *cc_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
840 IRExpr* argL = cc_dep1; in guest_arm_spechelper()
841 IRExpr* argR = cc_dep2; in guest_arm_spechelper()
Dguest_x86_toIR.c542 static IRExpr* getIReg ( Int sz, UInt archreg ) in getIReg()
551 static void putIReg ( Int sz, UInt archreg, IRExpr* e ) in putIReg()
564 static IRExpr* getSReg ( UInt sreg ) in getSReg()
569 static void putSReg ( UInt sreg, IRExpr* e ) in putSReg()
575 static IRExpr* getXMMReg ( UInt xmmreg ) in getXMMReg()
580 static IRExpr* getXMMRegLane64 ( UInt xmmreg, Int laneno ) in getXMMRegLane64()
585 static IRExpr* getXMMRegLane64F ( UInt xmmreg, Int laneno ) in getXMMRegLane64F()
590 static IRExpr* getXMMRegLane32 ( UInt xmmreg, Int laneno ) in getXMMRegLane32()
595 static IRExpr* getXMMRegLane32F ( UInt xmmreg, Int laneno ) in getXMMRegLane32F()
600 static void putXMMReg ( UInt xmmreg, IRExpr* e ) in putXMMReg()
[all …]
Dhost_arm_isel.c191 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
196 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
201 static IRExpr* bind ( Int binder ) in bind()
217 static ARMAMode1* iselIntExpr_AMode1_wrk ( ISelEnv* env, IRExpr* e );
218 static ARMAMode1* iselIntExpr_AMode1 ( ISelEnv* env, IRExpr* e );
220 static ARMAMode2* iselIntExpr_AMode2_wrk ( ISelEnv* env, IRExpr* e );
221 static ARMAMode2* iselIntExpr_AMode2 ( ISelEnv* env, IRExpr* e );
223 static ARMAModeV* iselIntExpr_AModeV_wrk ( ISelEnv* env, IRExpr* e );
224 static ARMAModeV* iselIntExpr_AModeV ( ISelEnv* env, IRExpr* e );
226 static ARMAModeN* iselIntExpr_AModeN_wrk ( ISelEnv* env, IRExpr* e );
[all …]
/external/valgrind/main/drd/
Ddrd_load_store.c308 static Bool is_stack_access(IRSB* const bb, IRExpr* const addr_expr) in is_stack_access()
321 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; in is_stack_access()
346 static IRExpr* instr_trace_mem_load(IRSB* const bb, IRExpr* addr_expr, in instr_trace_mem_load()
369 static void instr_trace_mem_store(IRSB* const bb, IRExpr* const addr_expr, in instr_trace_mem_store()
370 IRExpr* data_expr_hi, IRExpr* data_expr_lo) in instr_trace_mem_store()
466 static void instrument_load(IRSB* const bb, IRExpr* const addr_expr, in instrument_load()
469 IRExpr* size_expr; in instrument_load()
470 IRExpr** argv; in instrument_load()
518 static void instrument_store(IRSB* const bb, IRExpr* addr_expr, in instrument_store()
519 IRExpr* const data_expr) in instrument_store()
[all …]
/external/valgrind/main/coregrind/
Dm_translate.c201 static IRExpr* mk_ecu_Expr ( Addr64 guest_IP ) in mk_ecu_Expr()
269 IRExpr* e; in vg_SP_update_pass()
881 static IRExpr* mkU64 ( ULong n ) { in mkU64()
884 static IRExpr* mkU32 ( UInt n ) { in mkU32()
889 static IRExpr* mkU8 ( UChar n ) { in mkU8()
892 static IRExpr* narrowTo32 ( IRTypeEnv* tyenv, IRExpr* e ) { in narrowTo32()
905 static void gen_PUSH ( IRSB* bb, IRExpr* e ) in gen_PUSH()
909 IRExpr* one; in gen_PUSH()
923 IRExpr*(*mkU)(ULong) = mkU64; in gen_PUSH()
937 IRExpr*(*mkU)(UInt) = mkU32; in gen_PUSH()
[all …]
/external/valgrind/main/lackey/
Dlk_main.c356 IRExpr** argv; in instrument_detail()
393 IRExpr
470 IRExpr** argv; in flushEvents()
725 IRExpr* data = st->Ist.WrTmp.data; in lk_instrument()
732 IRExpr* expr = st->Ist.WrTmp.data; in lk_instrument()
755 IRExpr* data = st->Ist.Store.data; in lk_instrument()

12