Home
last modified time | relevance | path

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

12

/external/valgrind/VEX/priv/
Dguest_s390_toIR.c52 static void s390_irgen_xonc(IROp, IRTemp, IRTemp, IRTemp);
53 static void s390_irgen_CLC_EX(IRTemp, IRTemp, IRTemp);
105 static __inline__ IRTemp
115 mkexpr(IRTemp tmp) in mkexpr()
129 assign(IRTemp dst, IRExpr *expr) in assign()
142 static __inline__ IRTemp
145 IRTemp temp = newTemp(type); in mktemp()
557 s390_cc_widen(IRTemp v, Bool sign_extend) in s390_cc_widen()
583 s390_cc_thunk_put1(UInt opc, IRTemp d1, Bool sign_extend) in s390_cc_thunk_put1()
597 s390_cc_thunk_put2(UInt opc, IRTemp d1, IRTemp d2, Bool sign_extend) in s390_cc_thunk_put2()
[all …]
Dguest_arm64_toIR.c270 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
301 static void assign ( IRTemp dst, IRExpr* e ) in assign()
355 static IRTemp newTemp ( IRType ty ) in newTemp()
362 static IRTemp newTempV128(void) in newTempV128()
369 void newTempsV128_2(IRTemp* t1, IRTemp* t2) in newTempsV128_2()
378 void newTempsV128_3(IRTemp* t1, IRTemp* t2, IRTemp* t3) in newTempsV128_3()
389 void newTempsV128_4(IRTemp* t1, IRTemp* t2, IRTemp* t3, IRTemp* t4) in newTempsV128_4()
402 void newTempsV128_7(IRTemp* t1, IRTemp* t2, IRTemp* t3, in newTempsV128_7()
403 IRTemp* t4, IRTemp* t5, IRTemp* t6, IRTemp* t7) in newTempsV128_7()
996 static IRTemp mathROR ( IRType ty, IRTemp arg, UInt imm ) in mathROR()
[all …]
Dguest_amd64_toIR.c225 static IRTemp newTemp ( IRType ty ) in newTemp()
238 static void assign ( IRTemp dst, IRExpr* e ) in assign()
258 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
1609 IRTemp oldTmp = newTemp(tyE); in casLE()
1610 IRTemp expTmp = newTemp(tyE); in casLE()
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()
1829 IRTemp res, in setFlags_DEP1_DEP2_shift()
1830 IRTemp resUS, in setFlags_DEP1_DEP2_shift()
1832 IRTemp guard ) in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_ppc_toIR.c516 static IRTemp newTemp ( IRType ty ) in newTemp()
578 static void assign ( IRTemp dst, IRExpr* e ) in assign()
616 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
656 static IRStmt* stmt_load ( IRTemp result, in stmt_load()
683 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Ux16()
685 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Ux16()
701 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Sx16()
703 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Sx16()
719 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand16Ux8()
721 IRTemp ones16x8 = newTemp(Ity_V128); in expand16Ux8()
[all …]
Dguest_arm_toIR.c160 static IRTemp r15guard; /* :: Ity_I32, 0 or 1 */
164 static IRTemp r15kind;
293 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
324 static void assign ( IRTemp dst, IRExpr* e ) in assign()
334 static void storeGuardedLE ( IRExpr* addr, IRExpr* data, IRTemp guardT ) in storeGuardedLE()
345 static void loadGuardedLE ( IRTemp dst, IRLoadGOp cvt, in loadGuardedLE()
347 IRTemp guardT /* :: Ity_I32, 0 or 1 */ ) in loadGuardedLE()
378 static IRTemp newTemp ( IRType ty ) in newTemp()
392 static IRExpr* genROR32( IRTemp src, Int rot ) in genROR32()
582 IRTemp guardT /* :: Ity_I32, 0 or 1 */, in putIRegA()
[all …]
Dguest_x86_toIR.c319 static IRTemp newTemp ( IRType ty ) in newTemp()
633 static void assign ( IRTemp dst, IRExpr* e ) in assign()
658 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
757 IRTemp oldTmp = newTemp(tyE); in casLE()
758 IRTemp expTmp = newTemp(tyE); in casLE()
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()
965 IRTemp res, in setFlags_DEP1_DEP2_shift()
966 IRTemp resUS, in setFlags_DEP1_DEP2_shift()
968 IRTemp guard ) in setFlags_DEP1_DEP2_shift()
[all …]
Dguest_mips_toIR.c874 static IRExpr *mkexpr(IRTemp tmp) in mkexpr()
917 static void assign(IRTemp dst, IRExpr * e) in assign()
932 static IRTemp newTemp(IRType ty) in newTemp()
950 IRTemp t0 = newTemp(Ity_I8); in genRORV32()
951 IRTemp t1 = newTemp(Ity_I8); in genRORV32()
1121 IRTemp fcsr = newTemp(Ity_I32); in calculateFCSR()
1231 IRTemp t_lo = newTemp(Ity_I32); in putLO()
1232 IRTemp t_hi = newTemp(Ity_I32); in putLO()
1249 IRTemp t_lo = newTemp(Ity_I32); in putHI()
1250 IRTemp t_hi = newTemp(Ity_I32); in putHI()
[all …]
Dir_opt.c290 IRTemp t1; in flatten_Expr()
2899 IRTemp tLoaded = newIRTemp(out->tyenv, cvtArg); in cprop_BB()
2928 static void addUses_Temp ( Bool* set, IRTemp tmp ) in addUses_Temp()
3339 union { IRTemp tmp; IRConst* con; } u;
3427 IRTemp arg;
3432 IRTemp arg1;
3433 IRTemp arg2;
3438 IRTemp arg1;
3445 IRTemp arg2;
3453 IRTemp co;
[all …]
Dguest_tilegx_toIR.c115 static IRExpr *mkexpr ( IRTemp tmp ) in mkexpr()
151 static void assign ( IRTemp dst, IRExpr * e ) in assign()
162 static IRTemp newTemp ( IRType ty ) in newTemp()
244 IRTemp t0; in dis_branch()
282 IRTemp t0, t1, t2, t3, t4; in disInstr_TILEGX_WRK()
283 IRTemp tb[4]; in disInstr_TILEGX_WRK()
284 IRTemp rd_wb_temp[6]; in disInstr_TILEGX_WRK()
Dir_defs.c112 void ppIRTemp ( IRTemp tmp ) in ppIRTemp()
1805 IRExpr* IRExpr_RdTmp ( IRTemp tmp ) { in IRExpr_RdTmp()
2005 IRCAS* mkIRCAS ( IRTemp oldHi, IRTemp oldLo, in mkIRCAS()
2050 IRTemp dst, IRExpr* addr, IRExpr* alt, IRExpr* guard ) in mkIRLoadG()
2101 IRStmt* IRStmt_WrTmp ( IRTemp tmp, IRExpr* data ) { in IRStmt_WrTmp()
2125 IRStmt* IRStmt_LoadG ( IREndness end, IRLoadGOp cvt, IRTemp dst, in IRStmt_LoadG()
2139 IRTemp result, IRExpr* addr, IRExpr* storedata ) { in IRStmt_LLSC()
3469 IRTemp newIRTemp ( IRTypeEnv* env, IRType ty ) in newIRTemp()
3497 IRType typeOfIRTemp ( const IRTypeEnv* env, IRTemp tmp ) in typeOfIRTemp()
3807 void useBeforeDef_Temp ( const IRSB* bb, const IRStmt* stmt, IRTemp tmp, in useBeforeDef_Temp()
[all …]
Dhost_arm64_isel.c115 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) in lookupIRTemp()
123 ISelEnv* env, IRTemp tmp ) in lookupIRTempPair()
3639 IRTemp tmp = stmt->Ist.WrTmp.tmp; in iselStmt()
3776 IRTemp res = stmt->Ist.LLSC.result; in iselStmt()
3820 IRTemp res = stmt->Ist.LLSC.result; in iselStmt()
/external/valgrind/VEX/pub/
Dlibvex_ir.h395 typedef UInt IRTemp; typedef
398 extern void ppIRTemp ( IRTemp );
400 #define IRTemp_INVALID ((IRTemp)0xFFFFFFFF)
1992 IRTemp tmp; /* The temporary number */
2160 extern IRExpr* IRExpr_RdTmp ( IRTemp tmp );
2367 IRTemp tmp; /* to assign result to, or IRTemp_INVALID if none */
2422 IRDirty* unsafeIRDirty_1_N ( IRTemp dst,
2509 IRTemp oldHi; /* old value of *addr is written here */
2510 IRTemp oldLo;
2522 extern IRCAS* mkIRCAS ( IRTemp oldHi, IRTemp oldLo,
[all …]
/external/valgrind/drd/
Ddrd_load_store.c356 IRTemp tmp; in instr_trace_mem_load()
392 IRTemp tmp = newIRTemp(bb->tyenv, Ity_F32); in instr_trace_mem_store()
398 IRTemp tmp = newIRTemp(bb->tyenv, Ity_F64); in instr_trace_mem_store()
407 IRTemp tmp = newIRTemp(bb->tyenv, Ity_I32); in instr_trace_mem_store()
413 IRTemp tmp = newIRTemp(bb->tyenv, Ity_I64); in instr_trace_mem_store()
438 IRTemp tmp; in instr_trace_mem_store()
447 IRTemp tmp; in instr_trace_mem_store()
541 IRTemp tmp = newIRTemp(bb->tyenv, typeOfIRExpr(bb->tyenv, addr_expr)); in instrument_store()
/external/valgrind/coregrind/
Dm_translate.c147 IRTemp temp;
168 static void add_SP_alias(IRTemp temp, Long delta) in add_SP_alias()
177 static Bool get_SP_delta(IRTemp temp, Long* delta) in get_SP_delta()
467 IRTemp tttmp = st->Ist.Put.data->Iex.RdTmp.tmp; in vg_SP_update_pass()
518 IRTemp old_SP; in vg_SP_update_pass()
570 IRTemp new_SP; in vg_SP_update_pass()
1018 IRTemp t1; in gen_PUSH()
1113 static IRTemp gen_POP ( IRSB* bb ) in gen_POP()
1142 IRTemp t1 = newIRTemp( bb->tyenv, ty_Word ); in gen_POP()
1143 IRTemp res = newIRTemp( bb->tyenv, ty_Word ); in gen_POP()
[all …]
/external/valgrind/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.c2082 IRTemp (*newIRTemp_cb)(IRType,void*);
2089 static IRTemp gen_Get_SP ( struct _SGEnv* sge, in gen_Get_SP()
2095 IRTemp sp_temp; in gen_Get_SP()
2107 static IRTemp gen_Get_FP ( struct _SGEnv* sge, in gen_Get_FP()
2113 IRTemp fp_temp; in gen_Get_FP()
2163 { IRTemp t_SP = gen_Get_SP( sge, bbOut, layout, hWordTy_szB ); in instrument_mem_access()
2164 IRTemp t_FP = gen_Get_FP( sge, bbOut, layout, hWordTy_szB ); in instrument_mem_access()
2185 struct _SGEnv * sg_instrument_init ( IRTemp (*newIRTemp_cb)(IRType,void*), in sg_instrument_init()
2353 IRTemp sp_post_call_insn, fp_post_call_insn; in sg_instrument_final_jump()
/external/valgrind/VEX/
DTODO.txt36 change IRTemp to 16 bits?
/external/valgrind/exp-dhat/
Ddh_main.c785 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
786 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
837 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
840 IRTemp sp_minus_rz = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
849 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent()
858 IRTemp guard = newIRTemp(sbOut->tyenv, Ity_I1); in addMemEvent()
/external/valgrind/memcheck/
Dmc_translate.c142 static IRTemp findShadowTmpB ( struct _MCEnv* mce, IRTemp orig );
171 IRTemp shadowV;
172 IRTemp shadowB;
250 static IRTemp newTemp ( MCEnv* mce, IRType ty, TempKind kind ) in newTemp()
254 IRTemp tmp = newIRTemp(mce->sb->tyenv, ty); in newTemp()
266 static IRTemp findShadowTmpV ( MCEnv* mce, IRTemp orig ) in findShadowTmpV()
274 IRTemp tmpV in findShadowTmpV()
296 static void newShadowTmpV ( MCEnv* mce, IRTemp orig ) in newShadowTmpV()
304 IRTemp tmpV in newShadowTmpV()
431 void assign ( HChar cat, MCEnv* mce, IRTemp tmp, IRExpr* expr ) { in assign()
[all …]
/external/valgrind/VEX/useful/
Dtest_main.c571 IRTemp* tmpMap;
610 static IRTemp findShadowTmp ( MCEnv* mce, IRTemp orig ) in findShadowTmp()
627 static void newShadowTmp ( MCEnv* mce, IRTemp orig ) in newShadowTmp()
749 IRTemp t = newIRTemp(mce->bb->tyenv, ty); in assignNew()
2055 IRTemp datavbits; in expr2vbits_LDle_WRK()
2380 IRTemp dst; in do_shadow_Dirty()
2638 mce.tmpMap = LibVEX_Alloc(mce.n_originalTmps * sizeof(IRTemp)); in mc_instrument()
/external/valgrind/helgrind/
Dhg_main.c4283 IRTemp wide1 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4284 IRTemp wide2 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4285 IRTemp anded = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4286 IRTemp res = newIRTemp(sbOut->tyenv, Ity_I1); in mk_And1()
4414 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4418 IRTemp addr_minus_sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4428 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4438 IRTemp guardA = newIRTemp(sbOut->tyenv, Ity_I1); in instrument_mem_access()
/external/valgrind/cachegrind/
Dcg_main.c1251 IRTemp guard1 = newIRTemp(cgs.sbOut->tyenv, Ity_I1); in cg_instrument()
1252 IRTemp guardW = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument()
1253 IRTemp guard = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument()
/external/valgrind/callgrind/
Dmain.c1197 IRTemp guard1 = newIRTemp(clgs.sbOut->tyenv, Ity_I1); in CLG_()
1198 IRTemp guardW = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_()
1199 IRTemp guard = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_()
/external/valgrind/massif/
Dms_main.c2027 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
2028 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()

12