Home
last modified time | relevance | path

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

12

/external/valgrind/drd/
Ddrd_load_store.c358 tmp = newIRTemp(bb->tyenv, typeOfIRExpr(bb->tyenv, addr_expr)); in instr_trace_mem_load()
384 tl_assert(!data_expr_hi || typeOfIRExpr(bb->tyenv, data_expr_hi) == Ity_I32); in instr_trace_mem_store()
386 ty_data_expr = typeOfIRExpr(bb->tyenv, data_expr_lo); in instr_trace_mem_store()
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()
441 tmp = newIRTemp(bb->tyenv, sizeof(HWord) == 4 ? Ity_I32 : Ity_I64); in instr_trace_mem_store()
451 tmp = newIRTemp(bb->tyenv, Ity_I32); in instr_trace_mem_store()
456 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.c1653 ppIRTypeEnv(bb->tyenv); in ppIRSB()
2195 bb->tyenv = emptyIRTypeEnv(); in emptyIRSB()
2465 bb2->tyenv = deepCopyIRTypeEnv(bb->tyenv); in deepCopyIRSBExceptStmts()
3545 IRType typeOfIRExpr ( const IRTypeEnv* tyenv, const IRExpr* e ) in typeOfIRExpr() argument
3557 return typeOfIRTemp(tyenv, e->Iex.RdTmp.tmp); in typeOfIRExpr()
3816 if (tmp < 0 || tmp >= bb->tyenv->types_used) in useBeforeDef_Temp()
3975 const IRTypeEnv* tyenv = bb->tyenv; in tcExpr() local
3982 if (typeOfIRExpr(tyenv,expr->Iex.GetI.ix) != Ity_I32) in tcExpr()
4005 ttarg1 = typeOfIRExpr(tyenv, qop->arg1); in tcExpr()
4006 ttarg2 = typeOfIRExpr(tyenv, qop->arg2); in tcExpr()
[all …]
Dir_inject.c127 if (typeOfIRExpr(irsb->tyenv, data) == Ity_D64) { in store_aux()
133 if (typeOfIRExpr(irsb->tyenv, data) == Ity_I1) { in store_aux()
160 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.c529 return newIRTemp( irsb->tyenv, ty ); in newTemp()
596 IRType tyA = typeOfIRExpr(irsb->tyenv, addr); in store()
677 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkOR1()
678 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkOR1()
685 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkAND1()
686 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkAND1()
697 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Ux16()
715 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Sx16()
733 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand16Ux8()
751 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand16Sx8()
[all …]
Dhost_tilegx_isel.c1799 env->type_env = bb->tyenv; in iselSB_TILEGX()
1803 env->n_vregmap = bb->tyenv->types_used; in iselSB_TILEGX()
1818 switch (bb->tyenv->types[i]) { in iselSB_TILEGX()
1829 ppIRType(bb->tyenv->types[i]); in iselSB_TILEGX()
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 …]
Dguest_tilegx_toIR.c165 return newIRTemp(irsb->tyenv, ty); in newTemp()
197 vassert(typeOfIRExpr(irsb->tyenv, e) == ty); in putIReg()
206 IRType src_ty = typeOfIRExpr(irsb->tyenv, e); in narrowTo()
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.c672 tistart_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR()
673 tilen_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR()
Dguest_arm64_toIR.c358 return newIRTemp( irsb->tyenv, ty ); in newTemp()
1235 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orSP()
1241 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orZR()
1288 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orSP()
1294 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orZR()
1328 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putPC()
1380 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_V128); in putQReg128()
1438 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegLO()
1524 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegHI64()
1538 IRType laneTy = typeOfIRExpr(irsb->tyenv, e); in putQRegLane()
[all …]
Dhost_arm64_isel.c4055 env->type_env = bb->tyenv; in iselSB_ARM64()
4059 env->n_vregmap = bb->tyenv->types_used; in iselSB_ARM64()
4074 switch (bb->tyenv->types[i]) { in iselSB_ARM64()
4096 ppIRType(bb->tyenv->types[i]); in iselSB_ARM64()
/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/VEX/useful/
Dtest_main.c335 bb->tyenv = dopyIRTypeEnv(bb_in->tyenv);
390 sz = sizeofIRType(typeOfIRExpr(bb_in->tyenv, data));
615 = newIRTemp(mce->bb->tyenv, in findShadowTmp()
616 shadowType(mce->bb->tyenv->types[orig])); in findShadowTmp()
631 = newIRTemp(mce->bb->tyenv, in newShadowTmp()
632 shadowType(mce->bb->tyenv->types[orig])); in newShadowTmp()
749 IRTemp t = newIRTemp(mce->bb->tyenv, ty); in assignNew()
985 ty = typeOfIRExpr(mce->bb->tyenv, vbits); in mkPCastTo()
1077 ty = typeOfIRExpr(mce->bb->tyenv, vatom); in complainIfUndefined()
1187 ty = typeOfIRExpr(mce->bb->tyenv, vatom); in do_shadow_PUT()
[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/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()
1240 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in complainIfUndefined()
1451 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in do_shadow_PUT()
1579 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy2()
1580 IRType t2 = typeOfIRExpr(mce->sb->tyenv, va2); in mkLazy2()
1628 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy3()
[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/helgrind/
Dhg_main.c4407 IRTemp wide1 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4408 IRTemp wide2 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4409 IRTemp anded = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1()
4410 IRTemp res = newIRTemp(sbOut->tyenv, Ity_I1); in mk_And1()
4442 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in instrument_mem_access()
4538 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4542 IRTemp addr_minus_sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4552 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access()
4562 IRTemp guardA = newIRTemp(sbOut->tyenv, Ity_I1); in instrument_mem_access()
4648 bbOut->tyenv = deepCopyIRTypeEnv(bbIn->tyenv); in hg_instrument()
[all …]
/external/valgrind/massif/
Dms_main.c2028 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
2029 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()

12