Home
last modified time | relevance | path

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

12

/external/valgrind/main/VEX/priv/
Dguest_s390_toIR.c109 static __inline__ IRTemp
119 mkexpr(IRTemp tmp) in mkexpr()
126 assign(IRTemp dst, IRExpr *expr) in assign()
132 static __inline__ IRTemp
135 IRTemp temp = newTemp(type); in mktemp()
427 s390_cc_widen(IRTemp v, Bool sign_extend) in s390_cc_widen()
453 s390_cc_thunk_put1(UInt opc, IRTemp d1, Bool sign_extend) in s390_cc_thunk_put1()
467 s390_cc_thunk_put2(UInt opc, IRTemp d1, IRTemp d2, Bool sign_extend) in s390_cc_thunk_put2()
492 s390_cc_thunk_put3(UInt opc, IRTemp d1, IRTemp d2, IRTemp nd, Bool sign_extend) in s390_cc_thunk_put3()
509 s390_cc_thunk_put1f(UInt opc, IRTemp d1) in s390_cc_thunk_put1f()
[all …]
Dguest_arm_toIR.c157 static IRTemp r15guard; /* :: Ity_I32, 0 or 1 */
161 static IRTemp r15kind;
290 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
321 static void assign ( IRTemp dst, IRExpr* e ) in assign()
332 static IRTemp newTemp ( IRType ty ) in newTemp()
346 static IRExpr* genROR32( IRTemp src, Int rot ) in genROR32()
533 IRTemp guardT /* :: Ity_I32, 0 or 1 */, in putIRegA()
573 IRTemp guardT /* :: Ity_I32, 0 or 1 */ ) in putIRegT()
671 IRTemp guardT /* :: Ity_I32, 0 or 1 */) in putDReg()
715 IRTemp guardT /* :: Ity_I32, 0 or 1 */) in putDRegI64()
[all …]
Dguest_ppc_toIR.c449 static IRTemp newTemp ( IRType ty ) in newTemp()
504 static void assign ( IRTemp dst, IRExpr* e ) in assign()
538 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
593 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Ux16()
595 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Ux16()
611 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Sx16()
613 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Sx16()
629 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand16Ux8()
631 IRTemp ones16x8 = newTemp(Ity_V128); in expand16Ux8()
647 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand16Sx8()
[all …]
Dguest_x86_toIR.c322 static IRTemp newTemp ( IRType ty ) in newTemp()
636 static void assign ( IRTemp dst, IRExpr* e ) in assign()
661 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
759 IRTemp oldTmp = newTemp(tyE); in casLE()
760 IRTemp expTmp = newTemp(tyE); in casLE()
915 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
939 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
966 IRTemp res, in setFlags_DEP1_DEP2_shift()
967 IRTemp resUS, in setFlags_DEP1_DEP2_shift()
969 IRTemp guard ) in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_amd64_toIR.c230 static IRTemp newTemp ( IRType ty ) in newTemp()
243 static void assign ( IRTemp dst, IRExpr* e ) in assign()
263 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
1480 IRTemp oldTmp = newTemp(tyE); in casLE()
1481 IRTemp expTmp = newTemp(tyE); in casLE()
1645 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2()
1670 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1()
1698 IRTemp res, in setFlags_DEP1_DEP2_shift()
1699 IRTemp resUS, in setFlags_DEP1_DEP2_shift()
1701 IRTemp guard ) in setFlags_DEP1_DEP2_shift()
[all …]
Dir_opt.c271 IRTemp t1; in flatten_Expr()
2138 static void addUses_Temp ( Bool* set, IRTemp tmp ) in addUses_Temp()
2534 IRTemp arg;
2539 IRTemp arg1;
2540 IRTemp arg2;
2545 IRTemp arg1;
2552 IRTemp arg2;
2560 IRTemp co;
2561 IRTemp e0;
2562 IRTemp eX;
[all …]
Dir_defs.c106 void ppIRTemp ( IRTemp tmp ) in ppIRTemp()
1410 IRExpr* IRExpr_RdTmp ( IRTemp tmp ) { in IRExpr_RdTmp()
1597 IRCAS* mkIRCAS ( IRTemp oldHi, IRTemp oldLo, in mkIRCAS()
1656 IRStmt* IRStmt_WrTmp ( IRTemp tmp, IRExpr* data ) { in IRStmt_WrTmp()
1679 IRTemp result, IRExpr* addr, IRExpr* storedata ) { in IRStmt_LLSC()
2633 IRTemp newIRTemp ( IRTypeEnv* env, IRType ty ) in newIRTemp()
2661 IRType typeOfIRTemp ( IRTypeEnv* env, IRTemp tmp ) in typeOfIRTemp()
2924 void useBeforeDef_Temp ( IRSB* bb, IRStmt* stmt, IRTemp tmp, Int* def_counts ) in useBeforeDef_Temp()
3462 IRType ty = typeOfIRTemp(bb->tyenv,(IRTemp)i); in sanityCheckIRSB()
3631 IRDirty* unsafeIRDirty_1_N ( IRTemp dst, in unsafeIRDirty_1_N()
Dhost_s390_isel.c124 lookupIRTemp(ISelEnv *env, IRTemp tmp) in lookupIRTemp()
135 lookupIRTemp128(HReg *hi, HReg *lo, ISelEnv *env, IRTemp tmp) in lookupIRTemp128()
1900 IRTemp tmp = cond->Iex.RdTmp.tmp; in s390_isel_cc()
2172 IRTemp tmp = stmt->Ist.WrTmp.tmp; in s390_isel_stmt()
Dguest_arm_helpers.c724 IRTemp look_for = cond_n_op->Iex.RdTmp.tmp; in guest_arm_spechelper()
Dhost_ppc_isel.c279 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) in lookupIRTemp()
287 ISelEnv* env, IRTemp tmp ) in lookupIRTempPair()
4012 IRTemp tmp = stmt->Ist.WrTmp.tmp; in iselStmt()
4066 IRTemp res = stmt->Ist.LLSC.result; in iselStmt()
/external/valgrind/main/VEX/pub/
Dlibvex_ir.h382 typedef UInt IRTemp; typedef
385 extern void ppIRTemp ( IRTemp );
387 #define IRTemp_INVALID ((IRTemp)0xFFFFFFFF)
1415 IRTemp tmp; /* The temporary number */
1541 extern IRExpr* IRExpr_RdTmp ( IRTemp tmp );
1728 IRTemp tmp; /* to assign result to, or IRTemp_INVALID if none */
1768 IRDirty* unsafeIRDirty_1_N ( IRTemp dst,
1855 IRTemp oldHi; /* old value of *addr is written here */
1856 IRTemp oldLo;
1868 extern IRCAS* mkIRCAS ( IRTemp oldHi, IRTemp oldLo,
[all …]
/external/valgrind/tsan/
Dts_valgrind.cc937 IRTemp need_sleep = newIRTemp(bbOut->tyenv, Ity_I32); in ts_instrument_trace_entry_verify()
942 IRTemp need_sleep_i1 = newIRTemp(bbOut->tyenv, Ity_I1); in ts_instrument_trace_entry_verify()
965 static IRTemp gen_Get_SP ( IRSB* bbOut, in gen_Get_SP()
970 IRTemp sp_temp; in gen_Get_SP()
1007 IRTemp sp_post_call_insn in ts_instrument_final_jump()
1026 IRTemp sp_post_call_insn in ts_instrument_final_jump()
1057 static void gen_store_to_tleb(IRSB *bbOut, IRTemp tleb_temp, in gen_store_to_tleb()
1064 IRTemp temp = newIRTemp(bbOut->tyenv, tyAddr); in gen_store_to_tleb()
1073 IRTemp tleb_temp, in instrument_mem_access()
1128 IRTemp star_addr = newIRTemp(bbOut->tyenv, tyAddr); in instrument_mem_access()
[all …]
/external/valgrind/main/coregrind/
Dm_translate.c136 IRTemp temp;
157 static void add_SP_alias(IRTemp temp, Long delta) in add_SP_alias()
166 static Bool get_SP_delta(IRTemp temp, ULong* delta) in get_SP_delta()
448 IRTemp tttmp = st->Ist.Put.data->Iex.RdTmp.tmp; in vg_SP_update_pass()
499 IRTemp old_SP; in vg_SP_update_pass()
542 IRTemp new_SP; in vg_SP_update_pass()
900 IRTemp t1; in gen_PUSH()
992 static IRTemp gen_POP ( IRSB* bb ) in gen_POP()
1019 IRTemp t1 = newIRTemp( bb->tyenv, ty_Word ); in gen_POP()
1020 IRTemp res = newIRTemp( bb->tyenv, ty_Word ); in gen_POP()
[all …]
/external/valgrind/main/exp-sgcheck/
Dh_main.c499 IRTemp shadow;
575 static IRTemp newTemp ( PCEnv* pce, IRType ty, TempKind kind ) in newTemp()
579 IRTemp tmp = newIRTemp(pce->sb->tyenv, ty); in newTemp()
601 static IRTemp for_sg__newIRTemp_cb ( IRType ty, void* opaque ) in for_sg__newIRTemp_cb()
Dsg_main.h57 struct _SGEnv* sg_instrument_init ( IRTemp (*newIRTemp_cb)(IRType,void*),
Dsg_main.c2074 IRTemp (*newIRTemp_cb)(IRType,void*);
2081 static IRTemp gen_Get_SP ( struct _SGEnv* sge, in gen_Get_SP()
2087 IRTemp sp_temp; in gen_Get_SP()
2099 static IRTemp gen_Get_FP ( struct _SGEnv* sge, in gen_Get_FP()
2105 IRTemp fp_temp; in gen_Get_FP()
2155 { IRTemp t_SP = gen_Get_SP( sge, bbOut, layout, hWordTy_szB ); in instrument_mem_access()
2156 IRTemp t_FP = gen_Get_FP( sge, bbOut, layout, hWordTy_szB ); in instrument_mem_access()
2177 struct _SGEnv * sg_instrument_init ( IRTemp (*newIRTemp_cb)(IRType,void*), in sg_instrument_init()
2345 IRTemp sp_post_call_insn, fp_post_call_insn; in sg_instrument_final_jump()
/external/valgrind/main/VEX/
DTODO.txt36 change IRTemp to 16 bits?
Dtest_main.c527 IRTemp* tmpMap;
566 static IRTemp findShadowTmp ( MCEnv* mce, IRTemp orig ) in findShadowTmp()
583 static void newShadowTmp ( MCEnv* mce, IRTemp orig ) in newShadowTmp()
705 IRTemp t = newIRTemp(mce->bb->tyenv, ty); in assignNew()
2012 IRTemp datavbits; in expr2vbits_LDle_WRK()
2337 IRTemp dst; in do_shadow_Dirty()
2595 mce.tmpMap = LibVEX_Alloc(mce.n_originalTmps * sizeof(IRTemp)); in mc_instrument()
/external/valgrind/main/exp-dhat/
Ddh_main.c786 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
787 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
838 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
841 IRTemp sp_minus_rz = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
850 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
859 IRTemp guard = newIRTemp(sbOut->tyenv, Ity_I1); in addMemEvent()
/external/valgrind/main/memcheck/
Dmc_translate.c129 static IRTemp findShadowTmpB ( struct _MCEnv* mce, IRTemp orig );
158 IRTemp shadowV;
159 IRTemp shadowB;
231 static IRTemp newTemp ( MCEnv* mce, IRType ty, TempKind kind ) in newTemp()
235 IRTemp tmp = newIRTemp(mce->sb->tyenv, ty); in newTemp()
247 static IRTemp findShadowTmpV ( MCEnv* mce, IRTemp orig ) in findShadowTmpV()
255 IRTemp tmpV in findShadowTmpV()
277 static void newShadowTmpV ( MCEnv* mce, IRTemp orig ) in newShadowTmpV()
285 IRTemp tmpV in newShadowTmpV()
406 void assign ( HChar cat, MCEnv* mce, IRTemp tmp, IRExpr* expr ) { in assign()
[all …]
/external/valgrind/main/cachegrind/
Dcg_main.c1126 IRTemp guard1 = newIRTemp(cgs.sbOut->tyenv, Ity_I1); in cg_instrument()
1127 IRTemp guardW = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument()
1128 IRTemp guard = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument()
/external/valgrind/main/callgrind/
Dmain.c1120 IRTemp guard1 = newIRTemp(clgs.sbOut->tyenv, Ity_I1); in CLG_()
1121 IRTemp guardW = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_()
1122 IRTemp guard = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_()
/external/valgrind/main/massif/
Dms_main.c2050 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
2051 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
/external/valgrind/main/coregrind/m_gdbserver/
Dm_gdbserver.c939 IRTemp jmp, in VG_()
/external/valgrind/main/helgrind/
Dhg_main.c4221 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4225 IRTemp addr_minus_sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4235 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4244 IRTemp guard = newIRTemp(sbOut->tyenv, Ity_I1); in instrument_mem_access()

12