Lines Matching refs:bbOut
924 static void ts_instrument_trace_entry_verify(IRSB *bbOut,
929 IRTemp need_sleep = newIRTemp(bbOut->tyenv, Ity_I32);
932 addStmtToIRSB( bbOut, IRStmt_Dirty(di));
934 IRTemp need_sleep_i1 = newIRTemp(bbOut->tyenv, Ity_I1);
939 addStmtToIRSB(bbOut, cmp_stmt);
945 addStmtToIRSB(bbOut, exit_stmt);
951 addStmtToIRSB( bbOut, IRStmt_Dirty(di));
957 static IRTemp gen_Get_SP ( IRSB* bbOut,
969 sp_temp = newIRTemp( bbOut->tyenv, sp_type );
970 addStmtToIRSB( bbOut, IRStmt_WrTmp( sp_temp, sp_expr ) );
974 static void ts_instrument_trace_entry(IRSB *bbOut, TraceInfo *trace_info) {
983 addStmtToIRSB( bbOut, IRStmt_Dirty(di));
1049 static void gen_store_to_tleb(IRSB *bbOut, IRTemp tleb_temp,
1056 IRTemp temp = newIRTemp(bbOut->tyenv, tyAddr);
1060 addStmtToIRSB(bbOut, temp_stmt);
1061 addStmtToIRSB(bbOut, store_stmt);
1068 IRSB* bbOut,
1080 tyAddr = typeOfIRExpr( bbOut->tyenv, addr );
1092 typeOfIRExpr(bbOut->tyenv, st->Ist.Store.data) == tyAddr) {
1120 IRTemp star_addr = newIRTemp(bbOut->tyenv, tyAddr);
1122 addStmtToIRSB(bbOut, star_addr_stmt);
1124 IRTemp sub = newIRTemp(bbOut->tyenv, tyAddr);
1129 addStmtToIRSB(bbOut, sub_stmt);
1131 IRTemp mask = newIRTemp(bbOut->tyenv, tyAddr);
1135 addStmtToIRSB(bbOut, mask_stmt);
1138 IRTemp and_tmp = newIRTemp(bbOut->tyenv, tyAddr);
1142 addStmtToIRSB(bbOut, and_stmt);
1150 gen_store_to_tleb(bbOut, tleb_temp, *trace_idx, expr_to_store, tyAddr);
1159 void instrument_statement (IRStmt* st, IRSB* bbIn, IRSB* bbOut, IRType hWordTy,
1176 //instrument_memory_bus_event( bbOut, st->Ist.MBE.event );
1191 bbOut, st,
1203 bbOut, st,
1229 bbOut, st, d->mAddr, dataSize, False/*!isStore*/, dtor_head,
1235 bbOut, st, d->mAddr, dataSize, True/*isStore*/, dtor_head,
1259 IRSB* bbOut;
1278 bbOut = emptyIRSB();
1279 bbOut->tyenv = deepCopyIRTypeEnv(bbIn->tyenv);
1280 bbOut->next = deepCopyIRExpr(bbIn->next);
1281 bbOut->jumpkind = bbIn->jumpkind;
1286 addStmtToIRSB( bbOut, bbIn->stmts[i] );
1342 instrument_statement(st, bbIn, bbOut, hWordTy,
1359 ts_instrument_trace_entry_verify(bbOut, layout, trace_info,
1362 ts_instrument_trace_entry(bbOut, trace_info);
1369 tleb_temp = newIRTemp(bbOut->tyenv, tyAddr);
1371 addStmtToIRSB(bbOut, stmt);
1377 instrument_statement(st, bbIn, bbOut, hWordTy,
1380 addStmtToIRSB( bbOut, st );
1384 ts_instrument_final_jump(bbOut, bbIn->next, bbIn->jumpkind, layout, gWordTy, hWordTy);
1385 return bbOut;