/external/valgrind/lackey/ |
D | lk_main.c | 662 IRSB* sbOut; in lk_instrument() local 674 sbOut = deepCopyIRSBExceptStmts(sbIn); in lk_instrument() 679 addStmtToIRSB( sbOut, sbIn->stmts[i] ); in lk_instrument() 688 addStmtToIRSB( sbOut, IRStmt_Dirty(di) ); in lk_instrument() 698 addStmtToIRSB( sbOut, IRStmt_Dirty(di) ); in lk_instrument() 714 addStmtToIRSB( sbOut, IRStmt_Dirty(di) ); in lk_instrument() 723 addStmtToIRSB( sbOut, st ); in lk_instrument() 736 addStmtToIRSB( sbOut, IRStmt_Dirty(di) ); in lk_instrument() 760 addStmtToIRSB( sbOut, IRStmt_Dirty(di) ); in lk_instrument() 767 addEvent_Ir( sbOut, mkIRExpr_HWord( (HWord)st->Ist.IMark.addr ), in lk_instrument() [all …]
|
/external/valgrind/exp-dhat/ |
D | dh_main.c | 772 void add_counter_update(IRSB* sbOut, Int n) in add_counter_update() argument 785 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 786 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 793 addStmtToIRSB( sbOut, st1 ); in add_counter_update() 794 addStmtToIRSB( sbOut, st2 ); in add_counter_update() 795 addStmtToIRSB( sbOut, st3 ); in add_counter_update() 799 void addMemEvent(IRSB* sbOut, Bool isWrite, Int szB, IRExpr* addr, in addMemEvent() argument 811 tyAddr = typeOfIRExpr( sbOut->tyenv, addr ); in addMemEvent() 837 IRTemp sp = newIRTemp(sbOut->tyenv, tyAddr); in addMemEvent() 838 addStmtToIRSB( sbOut, assign(sp, IRExpr_Get(goff_sp, tyAddr))); in addMemEvent() [all …]
|
/external/valgrind/exp-bbv/ |
D | bbv_main.c | 342 IRSB *sbOut; in bbv_instrument() local 356 sbOut = deepCopyIRSBExceptStmts(sbIn); in bbv_instrument() 361 addStmtToIRSB( sbOut, sbIn->stmts[i] ); in bbv_instrument() 445 addStmtToIRSB( sbOut, IRStmt_Dirty(di)); in bbv_instrument() 449 addStmtToIRSB( sbOut, st ); in bbv_instrument() 454 return sbOut; in bbv_instrument()
|
/external/valgrind/exp-sgcheck/ |
D | sg_main.h | 63 /*MOD*/IRSB* sbOut, 69 /*MOD*/IRSB* sbOut,
|
D | sg_main.c | 2208 /*MOD*/IRSB* sbOut, in sg_instrument_IRStmt() argument 2242 env, sbOut, in sg_instrument_IRStmt() 2244 sizeofIRType(typeOfIRExpr(sbOut->tyenv, st->Ist.Store.data)), in sg_instrument_IRStmt() 2259 env, sbOut, in sg_instrument_IRStmt() 2285 env, sbOut, d->mAddr, dataSize, False/*!isStore*/, in sg_instrument_IRStmt() 2291 env, sbOut, d->mAddr, dataSize, True/*isStore*/, in sg_instrument_IRStmt() 2315 dataSize = sizeofIRType(typeOfIRExpr(sbOut->tyenv, cas->dataLo)); in sg_instrument_IRStmt() 2319 env, sbOut, cas->addr, dataSize, False/*!isStore*/, in sg_instrument_IRStmt() 2323 env, sbOut, cas->addr, dataSize, True/*isStore*/, in sg_instrument_IRStmt() 2342 /*MOD*/IRSB* sbOut, in sg_instrument_final_jump() argument [all …]
|
/external/valgrind/callgrind/ |
D | main.c | 326 IRSB* sbOut; member 594 addStmtToIRSB( clgs->sbOut, IRStmt_Dirty(di) ); in flushEvents() 713 addStmtToIRSB( clgs->sbOut, IRStmt_Dirty(di) ); in addEvent_D_guarded() 721 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, guard) in addEvent_Bc() 741 tl_assert(typeOfIRExpr(clgs->sbOut->tyenv, whereTo) in addEvent_Bi() 948 addStmtToIRSB( clgs->sbOut, IRStmt_Dirty(di) ); in addBBSetupCall() 983 clgs.sbOut = deepCopyIRSBExceptStmts(sbIn); in CLG_() 988 addStmtToIRSB( clgs.sbOut, sbIn->stmts[i] ); 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/cachegrind/ |
D | cg_main.c | 589 IRSB* sbOut; member 869 addStmtToIRSB( cgs->sbOut, IRStmt_Dirty(di) ); in flushEvents() 993 addStmtToIRSB( cgs->sbOut, IRStmt_Dirty(di) ); in addEvent_D_guarded() 1002 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, guard) in addEvent_Bc() 1022 tl_assert(typeOfIRExpr(cgs->sbOut->tyenv, whereTo) in addEvent_Bi() 1062 cgs.sbOut = deepCopyIRSBExceptStmts(sbIn); in cg_instrument() 1067 addStmtToIRSB( cgs.sbOut, sbIn->stmts[i] ); 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() 1253 IRTemp guard = newIRTemp(cgs.sbOut->tyenv, tyW); in cg_instrument() [all …]
|
/external/valgrind/massif/ |
D | ms_main.c | 2014 static void add_counter_update(IRSB* sbOut, Int n) in add_counter_update() argument 2027 IRTemp t1 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 2028 IRTemp t2 = newIRTemp(sbOut->tyenv, Ity_I64); in add_counter_update() 2038 addStmtToIRSB( sbOut, st1 ); in add_counter_update() 2039 addStmtToIRSB( sbOut, st2 ); in add_counter_update() 2040 addStmtToIRSB( sbOut, st3 ); in add_counter_update() 2046 IRSB* sbOut; in ms_instrument2() local 2053 sbOut = deepCopyIRSBExceptStmts(sbIn); in ms_instrument2() 2065 add_counter_update(sbOut, n); in ms_instrument2() 2069 addStmtToIRSB( sbOut, st ); in ms_instrument2() [all …]
|
/external/valgrind/helgrind/ |
D | hg_main.c | 4276 static IRExpr* mk_And1 ( IRSB* sbOut, IRExpr* arg1, IRExpr* arg2 ) in mk_And1() argument 4283 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() 4287 addStmtToIRSB(sbOut, assign(wide1, unop(Iop_1Uto32, arg1))); in mk_And1() 4288 addStmtToIRSB(sbOut, assign(wide2, unop(Iop_1Uto32, arg2))); in mk_And1() 4289 addStmtToIRSB(sbOut, assign(anded, binop(Iop_And32, mkexpr(wide1), in mk_And1() 4291 addStmtToIRSB(sbOut, assign(res, unop(Iop_32to1, mkexpr(anded)))); in mk_And1() 4295 static void instrument_mem_access ( IRSB* sbOut, in instrument_mem_access() argument [all …]
|