Home
last modified time | relevance | path

Searched refs:tyenv (Results 1 – 25 of 30) sorted by relevance

12

/external/valgrind/drd/
Ddrd_load_store.c356 tmp = newIRTemp(bb->tyenv, typeOfIRExpr(bb->tyenv, addr_expr)); in instr_trace_mem_load()
382 tl_assert(!data_expr_hi || typeOfIRExpr(bb->tyenv, data_expr_hi) == Ity_I32); in instr_trace_mem_store()
384 ty_data_expr = typeOfIRExpr(bb->tyenv, data_expr_lo); in instr_trace_mem_store()
390 IRTemp tmp = newIRTemp(bb->tyenv, Ity_F32); in instr_trace_mem_store()
396 IRTemp tmp = newIRTemp(bb->tyenv, Ity_F64); in instr_trace_mem_store()
405 IRTemp tmp = newIRTemp(bb->tyenv, Ity_I32); in instr_trace_mem_store()
411 IRTemp tmp = newIRTemp(bb->tyenv, Ity_I64); in instr_trace_mem_store()
439 tmp = newIRTemp(bb->tyenv, sizeof(HWord) == 4 ? Ity_I32 : Ity_I64); in instr_trace_mem_store()
449 tmp = newIRTemp(bb->tyenv, Ity_I32); in instr_trace_mem_store()
454 tmp = newIRTemp(bb->tyenv, Ity_I32); in instr_trace_mem_store()
[all …]
/external/valgrind/coregrind/
Dm_translate.c294 bb->tyenv = deepCopyIRTypeEnv(sb_in->tyenv); in vg_SP_update_pass()
412 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
427 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
442 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
457 + sizeofIRType( typeOfIRExpr( bb->tyenv, st->Ist.Put.data )) in vg_SP_update_pass()
475 vg_assert( typeOfIRTemp(bb->tyenv, tttmp) == typeof_SP ); in vg_SP_update_pass()
527 old_SP = newIRTemp(bb->tyenv, typeof_SP); in vg_SP_update_pass()
574 new_SP = newIRTemp(bb->tyenv, typeof_SP); in vg_SP_update_pass()
613 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.Put.data->Iex.RdTmp.tmp) in vg_SP_update_pass()
1002 static IRExpr* narrowTo32 ( IRTypeEnv* tyenv, IRExpr* e ) { in narrowTo32() argument
[all …]
/external/valgrind/VEX/priv/
Dir_defs.c1679 ppIRTypeEnv(bb->tyenv); in ppIRSB()
2260 bb->tyenv = emptyIRTypeEnv(); in emptyIRSB()
2530 bb2->tyenv = deepCopyIRTypeEnv(bb->tyenv); in deepCopyIRSBExceptStmts()
3643 IRType typeOfIRExpr ( const IRTypeEnv* tyenv, const IRExpr* e ) in typeOfIRExpr() argument
3655 return typeOfIRTemp(tyenv, e->Iex.RdTmp.tmp); in typeOfIRExpr()
3914 if (tmp < 0 || tmp >= bb->tyenv->types_used) in useBeforeDef_Temp()
4141 const IRTypeEnv* tyenv = bb->tyenv; in tcExpr() local
4148 if (typeOfIRExpr(tyenv,expr->Iex.GetI.ix) != Ity_I32) in tcExpr()
4171 ttarg1 = typeOfIRExpr(tyenv, qop->arg1); in tcExpr()
4172 ttarg2 = typeOfIRExpr(tyenv, qop->arg2); in tcExpr()
[all …]
Dir_inject.c128 if (typeOfIRExpr(irsb->tyenv, data) == Ity_D64) { in store_aux()
134 if (typeOfIRExpr(irsb->tyenv, data) == Ity_I1) { in store_aux()
161 IRType type = typeOfIRExpr(irsb->tyenv, data); in store()
Dir_opt.c289 IRType ty = typeOfIRExpr(bb->tyenv, ex); in flatten_Expr()
295 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
303 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
310 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
322 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
332 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
340 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
347 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
358 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
366 t1 = newIRTemp(bb->tyenv, ty); in flatten_Expr()
[all …]
Dguest_ppc_toIR.c542 return newIRTemp( irsb->tyenv, ty ); in newTemp()
609 IRType tyA = typeOfIRExpr(irsb->tyenv, addr); in store()
692 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkOR1()
693 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkOR1()
700 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkAND1()
701 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkAND1()
740 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkNOT1()
750 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Ux16()
768 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Sx16()
786 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand16Ux8()
[all …]
Dguest_x86_toIR.c322 return newIRTemp( irsb->tyenv, ty ); in newTemp()
550 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putIReg()
568 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putSReg()
599 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_V128); in putXMMReg()
605 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I64); in putXMMRegLane64()
611 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_F64); in putXMMRegLane64F()
617 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_F32); in putXMMRegLane32F()
623 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I32); in putXMMRegLane32()
629 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putXMMRegLane16()
737 vassert(typeOfIRExpr(irsb->tyenv,x) == Ity_I1); in mkAnd1()
[all …]
Dguest_s390_toIR.c110 return newIRTemp(irsb->tyenv, type); in newTemp()
232 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in mkite()
299 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto_computed()
316 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto()
380 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in iterate_if()
399 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in next_insn_if()
409 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in restart_if()
478 vassert(typeOfIRExpr(irsb->tyenv, emfailure) == Ity_I32); in emulation_failure_with_expr()
495 vassert(typeOfIRExpr(irsb->tyenv, emwarning) == Ity_I32); in emulation_warning_with_expr()
563 switch (typeOfIRTemp(irsb->tyenv, v)) { in s390_cc_widen()
[all …]
Dguest_amd64_toIR.c228 return newIRTemp( irsb->tyenv, ty ); in newTemp()
355 IRType ty = typeOfIRExpr(irsb->tyenv, value); in putGuarded()
995 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I8); in putIRegAH()
1028 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putIRegRAX()
1077 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRDX()
1103 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I64); in putIReg64()
1126 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I32); in putIReg32()
1149 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putIReg16()
1215 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRexB()
1287 vassert(typeOfIRExpr(irsb->tyenv,e) == szToITy(sz)); in putIRegG()
[all …]
Dhost_s390_isel.c4118 env->type_env = bb->tyenv; in iselSB_S390()
4130 vassert(bb->tyenv->types_used >= 0); in iselSB_S390()
4132 env->n_vregmap = bb->tyenv->types_used; in iselSB_S390()
4150 switch (bb->tyenv->types[i]) { in iselSB_S390()
4179 ppIRType(bb->tyenv->types[i]); in iselSB_S390()
Dguest_generic_bb_to_IR.c696 tistart_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR()
697 tilen_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR()
Dhost_arm64_isel.c4137 env->type_env = bb->tyenv; in iselSB_ARM64()
4141 env->n_vregmap = bb->tyenv->types_used; in iselSB_ARM64()
4156 switch (bb->tyenv->types[i]) { in iselSB_ARM64()
4178 ppIRType(bb->tyenv->types[i]); in iselSB_ARM64()
Dguest_arm64_toIR.c359 return newIRTemp( irsb->tyenv, ty ); in newTemp()
1240 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orSP()
1246 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orZR()
1293 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orSP()
1299 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orZR()
1333 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putPC()
1385 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_V128); in putQReg128()
1443 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegLO()
1529 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegHI64()
1543 IRType laneTy = typeOfIRExpr(irsb->tyenv, e); in putQRegLane()
[all …]
Dhost_mips_isel.c4206 env->type_env = bb->tyenv; in iselSB_MIPS()
4210 env->n_vregmap = bb->tyenv->types_used; in iselSB_MIPS()
4225 switch (bb->tyenv->types[i]) { in iselSB_MIPS()
4263 ppIRType(bb->tyenv->types[i]); in iselSB_MIPS()
Dhost_x86_isel.c4458 env->type_env = bb->tyenv; in iselSB_X86()
4462 env->n_vregmap = bb->tyenv->types_used; in iselSB_X86()
4476 switch (bb->tyenv->types[i]) { in iselSB_X86()
4486 default: ppIRType(bb->tyenv->types[i]); in iselSB_X86()
/external/valgrind/lackey/
Dlk_main.c663 IRTypeEnv* tyenv = sbIn->tyenv; in lk_instrument() local
784 IRType type = typeOfIRExpr(sbOut->tyenv, expr); in lk_instrument()
806 IRType type = typeOfIRExpr(tyenv, data); in lk_instrument()
822 IRType type = typeOfIRExpr(tyenv, data); in lk_instrument()
885 dataTy = typeOfIRExpr(tyenv, cas->dataLo); in lk_instrument()
909 dataTy = typeOfIRTemp(tyenv, st->Ist.LLSC.result); in lk_instrument()
920 dataTy = typeOfIRExpr(tyenv, st->Ist.LLSC.storedata); in lk_instrument()
/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()
811 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in addMemEvent()
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()
881 IRTypeEnv* tyenv = sbIn->tyenv; in dh_instrument() local
937 sizeofIRType(typeOfIRExpr(tyenv, data)), in dh_instrument()
977 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); in dh_instrument()
[all …]
/external/valgrind/exp-sgcheck/
Dh_main.c579 IRTemp tmp = newIRTemp(pce->sb->tyenv, ty); in newTemp()
648 for (i = 0; i < sbIn->tyenv->types_used; i++) { in h_instrument()
654 tl_assert( VG_(sizeXA)( pce.qmpMap ) == sbIn->tyenv->types_used ); in h_instrument()
698 tl_assert( VG_(sizeXA)( pce.qmpMap ) == pce.sb->tyenv->types_used ); in h_instrument()
Dsg_main.c2140 tyAddr = typeOfIRExpr( bbOut->tyenv, addr ); in instrument_mem_access()
2244 sizeofIRType(typeOfIRExpr(sbOut->tyenv, st->Ist.Store.data)), in sg_instrument_IRStmt()
2315 dataSize = sizeofIRType(typeOfIRExpr(sbOut->tyenv, cas->dataLo)); in sg_instrument_IRStmt()
/external/valgrind/cachegrind/
Dcg_main.c1002 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, guard) in addEvent_Bc()
1022 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, whereTo) in addEvent_Bi()
1053 IRTypeEnv* tyenv = sbIn->tyenv; in cg_instrument() local
1143 sizeofIRType(typeOfIRExpr(tyenv, data)), aexpr ); in cg_instrument()
1151 IRType type = typeOfIRExpr(tyenv, data); in cg_instrument()
1207 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); in cg_instrument()
1222 dataTy = typeOfIRTemp(tyenv, st->Ist.LLSC.result); in cg_instrument()
1229 dataTy = typeOfIRExpr(tyenv, st->Ist.LLSC.storedata); in cg_instrument()
1251 IRTemp guard1 = newIRTemp(cgs.sbOut->tyenv, Ity_I1); in cg_instrument()
1252 IRTemp guardW = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument()
[all …]
/external/valgrind/callgrind/
Dmain.c721 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, guard) in addEvent_Bc()
741 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, whereTo) in addEvent_Bi()
966 IRTypeEnv* tyenv = sbIn->tyenv; in CLG_() local
1066 sizeofIRType(typeOfIRExpr(sbIn->tyenv, data)), aexpr ); in CLG_()
1074 IRType type = typeOfIRExpr(tyenv, data); in CLG_()
1130 dataSize = sizeofIRType(typeOfIRExpr(sbIn->tyenv, cas->dataLo)); in CLG_()
1143 dataTy = typeOfIRTemp(sbIn->tyenv, st->Ist.LLSC.result); in CLG_()
1150 dataTy = typeOfIRExpr(sbIn->tyenv, st->Ist.LLSC.storedata); in CLG_()
1197 IRTemp guard1 = newIRTemp(clgs.sbOut->tyenv, Ity_I1); in CLG_()
1198 IRTemp guardW = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_()
[all …]
/external/valgrind/memcheck/
Dmc_translate.c254 IRTemp tmp = newIRTemp(mce->sb->tyenv, ty); in newTemp()
275 = newTemp( mce, shadowTypeV(mce->sb->tyenv->types[orig]), VSh ); in findShadowTmpV()
305 = newTemp( mce, shadowTypeV(mce->sb->tyenv->types[orig]), VSh ); in newShadowTmpV()
460 IRType tyE = typeOfIRExpr(mce->sb->tyenv, e); in assignNew()
764 src_ty = typeOfIRExpr(mce->sb->tyenv, vbits); in mkPCastTo()
1251 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in complainIfUndefined()
1462 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in do_shadow_PUT()
1589 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy2()
1590 IRType t2 = typeOfIRExpr(mce->sb->tyenv, va2); in mkLazy2()
1646 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy3()
[all …]
/external/valgrind/helgrind/
Dhg_main.c4415 IRTemp wide1 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4416 IRTemp wide2 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4417 IRTemp anded = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4418 IRTemp res = newIRTemp(sbOut->tyenv, Ity_I1); in mk_And1()
4450 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in instrument_mem_access()
4546 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4550 IRTemp addr_minus_sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4560 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4570 IRTemp guardA = newIRTemp(sbOut->tyenv, Ity_I1); in instrument_mem_access()
4639 bbOut->tyenv = deepCopyIRTypeEnv(bbIn->tyenv); in hg_instrument()
[all …]
/external/valgrind/massif/
Dms_main.c1667 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
1668 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
/external/valgrind/VEX/pub/
Dlibvex_ir.h3033 IRTypeEnv* tyenv; member

12