/external/valgrind/main/drd/ |
D | drd_load_store.c | 356 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/main/coregrind/ |
D | m_translate.c | 285 bb->tyenv = deepCopyIRTypeEnv(sb_in->tyenv); in vg_SP_update_pass() 403 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass() 418 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass() 433 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass() 448 + sizeofIRType( typeOfIRExpr( bb->tyenv, st->Ist.Put.data )) in vg_SP_update_pass() 466 vg_assert( typeOfIRTemp(bb->tyenv, tttmp) == typeof_SP ); in vg_SP_update_pass() 518 old_SP = newIRTemp(bb->tyenv, typeof_SP); in vg_SP_update_pass() 565 new_SP = newIRTemp(bb->tyenv, typeof_SP); in vg_SP_update_pass() 604 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.Put.data->Iex.RdTmp.tmp) in vg_SP_update_pass() 925 static IRExpr* narrowTo32 ( IRTypeEnv* tyenv, IRExpr* e ) { in narrowTo32() argument [all …]
|
/external/valgrind/main/VEX/priv/ |
D | ir_defs.c | 1560 ppIRTypeEnv(bb->tyenv); in ppIRSB() 2102 bb->tyenv = emptyIRTypeEnv(); in emptyIRSB() 2364 bb2->tyenv = deepCopyIRTypeEnv(bb->tyenv); in deepCopyIRSBExceptStmts() 3391 IRType typeOfIRExpr ( IRTypeEnv* tyenv, IRExpr* e ) in typeOfIRExpr() argument 3403 return typeOfIRTemp(tyenv, e->Iex.RdTmp.tmp); in typeOfIRExpr() 3660 if (tmp < 0 || tmp >= bb->tyenv->types_used) in useBeforeDef_Temp() 3817 IRTypeEnv* tyenv = bb->tyenv; in tcExpr() local 3824 if (typeOfIRExpr(tyenv,expr->Iex.GetI.ix) != Ity_I32) in tcExpr() 3847 ttarg1 = typeOfIRExpr(tyenv, qop->arg1); in tcExpr() 3848 ttarg2 = typeOfIRExpr(tyenv, qop->arg2); in tcExpr() [all …]
|
D | ir_inject.c | 127 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()
|
D | ir_opt.c | 289 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 …]
|
D | guest_ppc_toIR.c | 471 return newIRTemp( irsb->tyenv, ty ); in newTemp() 531 IRType tyA = typeOfIRExpr(irsb->tyenv, addr); in storeBE() 596 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkOR1() 597 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkOR1() 604 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkAND1() 605 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkAND1() 616 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Ux16() 634 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Sx16() 652 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand16Ux8() 670 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand16Sx8() [all …]
|
D | guest_x86_toIR.c | 322 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 …]
|
D | guest_arm64_toIR.c | 365 return newIRTemp( irsb->tyenv, ty ); in newTemp() 787 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orSP() 793 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orZR() 840 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orSP() 846 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orZR() 880 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putPC() 932 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_V128); in putQReg128() 990 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegLO() 1076 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegHI64() 1090 IRType laneTy = typeOfIRExpr(irsb->tyenv, e); in putQRegLane() [all …]
|
D | guest_s390_toIR.c | 119 return newIRTemp(irsb->tyenv, type); in newTemp() 241 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in mkite() 308 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto_computed() 325 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto() 389 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in iterate_if() 408 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in next_insn_if() 418 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in restart_if() 556 switch (typeOfIRTemp(irsb->tyenv, v)) { in s390_cc_widen() 640 if (sizeofIRType(typeOfIRTemp(irsb->tyenv, d1)) == 4) { in s390_cc_thunk_put1f() 664 if (sizeofIRType(typeOfIRTemp(irsb->tyenv, d1)) == 4) { in s390_cc_thunk_putFZ() [all …]
|
D | guest_amd64_toIR.c | 228 return newIRTemp( irsb->tyenv, ty ); in newTemp() 988 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I8); in putIRegAH() 1021 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putIRegRAX() 1070 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRDX() 1096 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I64); in putIReg64() 1119 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I32); in putIReg32() 1142 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putIReg16() 1208 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRexB() 1280 vassert(typeOfIRExpr(irsb->tyenv,e) == szToITy(sz)); in putIRegG() 1312 vassert(typeOfIRExpr(irsb->tyenv,e) == szToITy(sz)); in putIRegV() [all …]
|
D | host_s390_isel.c | 4105 env->type_env = bb->tyenv; in iselSB_S390() 4117 vassert(bb->tyenv->types_used >= 0); in iselSB_S390() 4119 env->n_vregmap = bb->tyenv->types_used; in iselSB_S390() 4137 switch (bb->tyenv->types[i]) { in iselSB_S390() 4169 ppIRType(bb->tyenv->types[i]); in iselSB_S390()
|
D | guest_generic_bb_to_IR.c | 670 tistart_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR() 671 tilen_tmp = newIRTemp(irsb->tyenv, guest_word_type); in bb_to_IR()
|
D | host_arm64_isel.c | 7006 env->type_env = bb->tyenv; in iselSB_ARM64() 7010 env->n_vregmap = bb->tyenv->types_used; in iselSB_ARM64() 7025 switch (bb->tyenv->types[i]) { in iselSB_ARM64() 7042 ppIRType(bb->tyenv->types[i]); in iselSB_ARM64()
|
D | host_mips_isel.c | 4169 env->type_env = bb->tyenv; in iselSB_MIPS() 4173 env->n_vregmap = bb->tyenv->types_used; in iselSB_MIPS() 4188 switch (bb->tyenv->types[i]) { in iselSB_MIPS() 4226 ppIRType(bb->tyenv->types[i]); in iselSB_MIPS()
|
/external/valgrind/main/lackey/ |
D | lk_main.c | 658 IRTypeEnv* tyenv = sbIn->tyenv; in lk_instrument() local 778 IRType type = typeOfIRExpr(sbOut->tyenv, expr); in lk_instrument() 800 IRType type = typeOfIRExpr(tyenv, data); in lk_instrument() 816 IRType type = typeOfIRExpr(tyenv, data); in lk_instrument() 879 dataTy = typeOfIRExpr(tyenv, cas->dataLo); in lk_instrument() 903 dataTy = typeOfIRTemp(tyenv, st->Ist.LLSC.result); in lk_instrument() 914 dataTy = typeOfIRExpr(tyenv, st->Ist.LLSC.storedata); in lk_instrument()
|
/external/valgrind/main/exp-dhat/ |
D | dh_main.c | 786 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 787 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 812 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in addMemEvent() 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() 882 IRTypeEnv* tyenv = sbIn->tyenv; in dh_instrument() local 938 sizeofIRType(typeOfIRExpr(tyenv, data)), in dh_instrument() 978 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); in dh_instrument() [all …]
|
/external/valgrind/main/VEX/ |
D | test_main.c | 314 bb->tyenv = dopyIRTypeEnv(bb_in->tyenv); 369 sz = sizeofIRType(typeOfIRExpr(bb_in->tyenv, data)); 594 = newIRTemp(mce->bb->tyenv, in findShadowTmp() 595 shadowType(mce->bb->tyenv->types[orig])); in findShadowTmp() 610 = newIRTemp(mce->bb->tyenv, in newShadowTmp() 611 shadowType(mce->bb->tyenv->types[orig])); in newShadowTmp() 728 IRTemp t = newIRTemp(mce->bb->tyenv, ty); in assignNew() 964 ty = typeOfIRExpr(mce->bb->tyenv, vbits); in mkPCastTo() 1056 ty = typeOfIRExpr(mce->bb->tyenv, vatom); in complainIfUndefined() 1166 ty = typeOfIRExpr(mce->bb->tyenv, vatom); in do_shadow_PUT() [all …]
|
/external/valgrind/main/exp-sgcheck/ |
D | h_main.c | 579 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()
|
D | sg_main.c | 2132 tyAddr = typeOfIRExpr( bbOut->tyenv, addr ); in instrument_mem_access() 2236 sizeofIRType(typeOfIRExpr(sbOut->tyenv, st->Ist.Store.data)), in sg_instrument_IRStmt() 2307 dataSize = sizeofIRType(typeOfIRExpr(sbOut->tyenv, cas->dataLo)); in sg_instrument_IRStmt()
|
/external/valgrind/main/cachegrind/ |
D | cg_main.c | 1010 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, guard) in addEvent_Bc() 1030 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, whereTo) in addEvent_Bi() 1060 IRTypeEnv* tyenv = sbIn->tyenv; in cg_instrument() local 1150 sizeofIRType(typeOfIRExpr(tyenv, data)), aexpr ); in cg_instrument() 1158 IRType type = typeOfIRExpr(tyenv, data); in cg_instrument() 1214 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); in cg_instrument() 1229 dataTy = typeOfIRTemp(tyenv, st->Ist.LLSC.result); in cg_instrument() 1236 dataTy = typeOfIRExpr(tyenv, st->Ist.LLSC.storedata); in cg_instrument() 1258 IRTemp guard1 = newIRTemp(cgs.sbOut->tyenv, Ity_I1); in cg_instrument() 1259 IRTemp guardW = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument() [all …]
|
/external/valgrind/main/memcheck/ |
D | mc_translate.c | 247 IRTemp tmp = newIRTemp(mce->sb->tyenv, ty); in newTemp() 268 = newTemp( mce, shadowTypeV(mce->sb->tyenv->types[orig]), VSh ); in findShadowTmpV() 298 = newTemp( mce, shadowTypeV(mce->sb->tyenv->types[orig]), VSh ); in newShadowTmpV() 452 IRType tyE = typeOfIRExpr(mce->sb->tyenv, e); in assignNew() 756 src_ty = typeOfIRExpr(mce->sb->tyenv, vbits); in mkPCastTo() 1171 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in complainIfUndefined() 1382 ty = typeOfIRExpr(mce->sb->tyenv, vatom); in do_shadow_PUT() 1510 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy2() 1511 IRType t2 = typeOfIRExpr(mce->sb->tyenv, va2); in mkLazy2() 1559 IRType t1 = typeOfIRExpr(mce->sb->tyenv, va1); in mkLazy3() [all …]
|
/external/valgrind/main/callgrind/ |
D | main.c | 720 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, guard) in addEvent_Bc() 740 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, whereTo) in addEvent_Bi() 965 IRTypeEnv* tyenv = sbIn->tyenv; in CLG_() local 1065 sizeofIRType(typeOfIRExpr(sbIn->tyenv, data)), aexpr ); in CLG_() 1073 IRType type = typeOfIRExpr(tyenv, data); in CLG_() 1129 dataSize = sizeofIRType(typeOfIRExpr(sbIn->tyenv, cas->dataLo)); in CLG_() 1142 dataTy = typeOfIRTemp(sbIn->tyenv, st->Ist.LLSC.result); in CLG_() 1149 dataTy = typeOfIRExpr(sbIn->tyenv, st->Ist.LLSC.storedata); in CLG_() 1196 IRTemp guard1 = newIRTemp(clgs.sbOut->tyenv, Ity_I1); in CLG_() 1197 IRTemp guardW = newIRTemp(clgs.sbOut->tyenv, tyW); in CLG_() [all …]
|
/external/valgrind/main/helgrind/ |
D | hg_main.c | 4270 IRTemp wide1 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1() 4271 IRTemp wide2 = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1() 4272 IRTemp anded = newIRTemp(sbOut->tyenv, Ity_I32); in mk_And1() 4273 IRTemp res = newIRTemp(sbOut->tyenv, Ity_I1); in mk_And1() 4305 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in instrument_mem_access() 4401 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access() 4405 IRTemp addr_minus_sp = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access() 4415 IRTemp diff = newIRTemp(sbOut->tyenv, tyAddr); in instrument_mem_access() 4425 IRTemp guardA = newIRTemp(sbOut->tyenv, Ity_I1); in instrument_mem_access() 4506 bbOut->tyenv = deepCopyIRTypeEnv(bbIn->tyenv); in hg_instrument() [all …]
|
/external/valgrind/main/massif/ |
D | ms_main.c | 2035 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 2036 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update()
|
/external/valgrind/main/VEX/pub/ |
D | libvex_ir.h | 2821 IRTypeEnv* tyenv; member
|