Home
last modified time | relevance | path

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

12

/external/valgrind/main/VEX/pub/
Dlibvex_ir.h1350 IRExpr; typedef
1407 IRExpr* ix; /* Variable part of index into array */
1424 IRExpr* arg1; /* operand 1 */
1425 IRExpr* arg2; /* operand 2 */
1426 IRExpr* arg3; /* operand 3 */
1427 IRExpr* arg4; /* operand 4 */
1436 IRExpr* arg1; /* operand 1 */
1437 IRExpr* arg2; /* operand 2 */
1438 IRExpr* arg3; /* operand 3 */
1446 IRExpr* arg1; /* operand 1 */
[all …]
/external/valgrind/main/VEX/priv/
Dir_defs.c950 void ppIRExpr ( IRExpr* e ) in ppIRExpr()
1389 IRExpr* IRExpr_Binder ( Int binder ) { in IRExpr_Binder()
1390 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_Binder()
1395 IRExpr* IRExpr_Get ( Int off, IRType ty ) { in IRExpr_Get()
1396 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_Get()
1402 IRExpr* IRExpr_GetI ( IRRegArray* descr, IRExpr* ix, Int bias ) { in IRExpr_GetI()
1403 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_GetI()
1410 IRExpr* IRExpr_RdTmp ( IRTemp tmp ) { in IRExpr_RdTmp()
1411 IRExpr* e = LibVEX_Alloc(sizeof(IRExpr)); in IRExpr_RdTmp()
1416 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.h65 IRExpr* guest_ppc32_spechelper ( HChar* function_name,
66 IRExpr** args,
71 IRExpr* guest_ppc64_spechelper ( HChar* function_name,
72 IRExpr** args,
Dhost_s390_isel.c90 static HReg s390_isel_int_expr(ISelEnv *, IRExpr *);
91 static s390_amode *s390_isel_amode(ISelEnv *, IRExpr *);
92 static s390_cc_t s390_isel_cc(ISelEnv *, IRExpr *);
93 static s390_opnd_RMI s390_isel_int_expr_RMI(ISelEnv *, IRExpr *);
94 static void s390_isel_int128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
95 static HReg s390_isel_float_expr(ISelEnv *, IRExpr *);
96 static void s390_isel_float128_expr(HReg *, HReg *, ISelEnv *, IRExpr *);
111 static __inline__ IRExpr *
209 s390_isel_amode_wrk(ISelEnv *env, IRExpr *expr) in s390_isel_amode_wrk()
212 IRExpr *arg1 = expr->Iex.Binop.arg1; in s390_isel_amode_wrk()
[all …]
Dguest_ppc_toIR.c504 static void assign ( IRTemp dst, IRExpr* e ) in assign()
510 static void storeBE ( IRExpr* addr, IRExpr* data ) in storeBE()
517 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
522 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
527 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
532 static IRExpr* qop ( IROp op, IRExpr* a1, IRExpr* a2, in qop()
533 IRExpr* a3, IRExpr* a4 ) in qop()
538 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
543 static IRExpr* mkU8 ( UChar i ) in mkU8()
548 static IRExpr* mkU16 ( UInt i ) in mkU16()
[all …]
Dir_opt.h48 IRExpr* (*specHelper) (HChar*, IRExpr**, IRStmt**, Int),
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()
201 static AMD64RMI* iselIntExpr_RMI_wrk ( ISelEnv* env, IRExpr* e );
202 static AMD64RMI* iselIntExpr_RMI ( ISelEnv* env, IRExpr* e );
204 static AMD64RI* iselIntExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
205 static AMD64RI* iselIntExpr_RI ( ISelEnv* env, IRExpr* e );
207 static AMD64RM* iselIntExpr_RM_wrk ( ISelEnv* env, IRExpr* e );
208 static AMD64RM* iselIntExpr_RM ( ISelEnv* env, IRExpr* e );
210 static HReg iselIntExpr_R_wrk ( ISelEnv* env, IRExpr* e );
[all …]
Dir_opt.c250 static Bool isFlat ( IRExpr* e ) in isFlat()
266 static IRExpr* flatten_Expr ( IRSB* bb, IRExpr* ex ) in flatten_Expr()
269 IRExpr** newargs; in flatten_Expr()
380 IRExpr *e1, *e2, *e3, *e4, *e5; in flatten_Stmt()
587 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
597 IRExpr* valE = (IRExpr*)val; in redundant_get_removal_BB()
681 IRExpr* e; in handle_gets_Stmt()
889 static Bool sameIRTemps ( IRExpr* e1, IRExpr* e2 ) in sameIRTemps()
896 static Bool sameIcoU32s ( IRExpr* e1, IRExpr* e2 ) in sameIcoU32s()
908 static Bool sameIRTempsOrIcoU32s ( IRExpr* e1, IRExpr* e2 ) in sameIRTempsOrIcoU32s()
[all …]
Dhost_ppc_isel.c193 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
198 static IRExpr* mkU32 ( UInt i ) in mkU32()
203 static IRExpr* bind ( Int binder ) in bind()
272 IRExpr* previous_rm;
346 static HReg iselWordExpr_R_wrk ( ISelEnv* env, IRExpr* e );
347 static HReg iselWordExpr_R ( ISelEnv* env, IRExpr* e );
359 Bool syned, IRExpr* e );
361 Bool syned, IRExpr* e );
365 static PPCRI* iselWordExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
366 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()
233 static X86RMI* iselIntExpr_RMI_wrk ( ISelEnv* env, IRExpr* e );
234 static X86RMI* iselIntExpr_RMI ( ISelEnv* env, IRExpr* e );
236 static X86RI* iselIntExpr_RI_wrk ( ISelEnv* env, IRExpr* e );
237 static X86RI* iselIntExpr_RI ( ISelEnv* env, IRExpr* e );
[all …]
Dguest_arm_defs.h58 IRExpr* guest_arm_spechelper ( HChar* function_name,
59 IRExpr** args,
Dguest_s390_defs.h58 IRExpr* guest_s390x_spechelper ( HChar *function_name,
59 IRExpr **args,
Dguest_s390_helpers.c693 isC64(IRExpr *expr) in isC64()
702 IRExpr *
703 guest_s390x_spechelper(HChar *function_name, IRExpr **args, in guest_s390x_spechelper()
724 IRExpr *cond_expr, *cc_op_expr, *cc_dep1, *cc_dep2; in guest_s390x_spechelper()
894 IRExpr *word; in guest_s390x_spechelper()
1050 IRExpr *c1, *c2; in guest_s390x_spechelper()
1063 IRExpr *c1, *c2; in guest_s390x_spechelper()
1076 IRExpr *c1, *c2; in guest_s390x_spechelper()
1243 IRExpr *bit = binop(Iop_Shr64, cc_dep1, mkU8(7)); in guest_s390x_spechelper()
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()
752 IRExpr *cc_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
802 IRExpr *cc_op, *cc_dep1, *cc_dep2, *cc_ndep; in guest_arm_spechelper()
822 IRExpr* argL = cc_dep1; in guest_arm_spechelper()
823 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 …]
Dguest_amd64_toIR.c243 static void assign ( IRTemp dst, IRExpr* e ) in assign()
248 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
253 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
258 static IRExpr* triop ( IROp op, IRExpr* a1, IRExpr* a2, IRExpr* a3 ) in triop()
263 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
268 static IRExpr* mkU8 ( ULong i ) in mkU8()
274 static IRExpr* mkU16 ( ULong i ) in mkU16()
280 static IRExpr* mkU32 ( ULong i ) in mkU32()
286 static IRExpr* mkU64 ( ULong i ) in mkU64()
291 static IRExpr* mkU ( IRType ty, ULong i ) in mkU()
[all …]
Dhost_arm_isel.c179 static IRExpr* unop ( IROp op, IRExpr* a ) in unop()
184 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop()
189 static IRExpr* bind ( Int binder ) in bind()
205 static ARMAMode1* iselIntExpr_AMode1_wrk ( ISelEnv* env, IRExpr* e );
206 static ARMAMode1* iselIntExpr_AMode1 ( ISelEnv* env, IRExpr* e );
208 static ARMAMode2* iselIntExpr_AMode2_wrk ( ISelEnv* env, IRExpr* e );
209 static ARMAMode2* iselIntExpr_AMode2 ( ISelEnv* env, IRExpr* e );
211 static ARMAModeV* iselIntExpr_AModeV_wrk ( ISelEnv* env, IRExpr* e );
212 static ARMAModeV* iselIntExpr_AModeV ( ISelEnv* env, IRExpr* e );
214 static ARMAModeN* iselIntExpr_AModeN_wrk ( ISelEnv* env, IRExpr* e );
[all …]
Dguest_x86_defs.h64 IRExpr* guest_x86_spechelper ( HChar* function_name,
65 IRExpr** args,
/external/valgrind/main/drd/
Ddrd_load_store.c275 static Bool is_stack_access(IRSB* const bb, IRExpr* const addr_expr) in is_stack_access()
288 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; in is_stack_access()
304 IRExpr* const addr_expr, in instrument_load()
307 IRExpr* size_expr; in instrument_load()
308 IRExpr** argv; in instrument_load()
369 IRExpr* const addr_expr, in instrument_store()
372 IRExpr* size_expr; in instrument_store()
373 IRExpr** argv; in instrument_store()
443 IRExpr** argv; in DRD_()
497 const IRExpr* const data = st->Ist.WrTmp.data; in DRD_()
/external/valgrind/tsan/
Dts_valgrind.cc936 IRExpr **args = mkIRExprVec_0(); in ts_instrument_trace_entry_verify()
969 IRExpr* sp_expr; in gen_Get_SP()
986 IRExpr **args = mkIRExprVec_1(mkIRExpr_HWord((HWord)trace_info)); in ts_instrument_trace_entry()
996 IRExpr* next, in ts_instrument_final_jump()
1009 IRExpr **args = mkIRExprVec_2( in ts_instrument_final_jump()
1028 IRExpr **args = mkIRExprVec_2( in ts_instrument_final_jump()
1058 uintptr_t idx, IRExpr *x, IRType tyAddr) { in gen_store_to_tleb()
1060 IRExpr *idx_expr = mkIRExpr_HWord(idx * sizeof(uintptr_t)); in gen_store_to_tleb()
1061 IRExpr *tleb_plus_idx_expr = IRExpr_Binop( in gen_store_to_tleb()
1078 IRExpr* addr, in instrument_mem_access()
[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()
873 static IRExpr* mkU64 ( ULong n ) { in mkU64()
876 static IRExpr* mkU32 ( UInt n ) { in mkU32()
881 static IRExpr* mkU8 ( UChar n ) { in mkU8()
884 static IRExpr* narrowTo32 ( IRTypeEnv* tyenv, IRExpr* e ) { in narrowTo32()
897 static void gen_PUSH ( IRSB* bb, IRExpr* e ) in gen_PUSH()
901 IRExpr* one; in gen_PUSH()
914 IRExpr*(*mkU)(ULong) = mkU64; in gen_PUSH()
927 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