• Home
  • Raw
  • Download

Lines Matching refs:pce

575 static IRTemp newTemp ( PCEnv* pce, IRType ty, TempKind kind )  in newTemp()  argument
579 IRTemp tmp = newIRTemp(pce->sb->tyenv, ty); in newTemp()
582 newIx = VG_(addToXA)( pce->qmpMap, &ent ); in newTemp()
592 static /*inline*/ void stmt ( HChar cat, PCEnv* pce, IRStmt* st ) { in stmt() argument
593 if (pce->trace) { in stmt()
598 addStmtToIRSB(pce->sb, st); in stmt()
603 PCEnv* pce = (PCEnv*)opaque; in for_sg__newIRTemp_cb() local
604 return newTemp( pce, ty, NonShad ); in for_sg__newIRTemp_cb()
616 PCEnv pce; in h_instrument() local
638 VG_(memset)(&pce, 0, sizeof(pce)); in h_instrument()
639 pce.sb = deepCopyIRSBExceptStmts(sbIn); in h_instrument()
640 pce.trace = verboze; in h_instrument()
641 pce.hWordTy = hWordTy; in h_instrument()
642 pce.gWordTy = gWordTy; in h_instrument()
643 pce.guest_state_sizeB = layout->total_sizeB; in h_instrument()
645 pce.qmpMap = VG_(newXA)( VG_(malloc), "pc.h_instrument.1", VG_(free), in h_instrument()
651 VG_(addToXA)( pce.qmpMap, &ent ); in h_instrument()
653 tl_assert( VG_(sizeXA)( pce.qmpMap ) == sbIn->tyenv->types_used ); in h_instrument()
660 (void*)&pce ); in h_instrument()
669 stmt( 'C', &pce, sbIn->stmts[i] ); in h_instrument()
682 sg_instrument_IRStmt( sgenv, pce.sb, sbIn->stmts[i], in h_instrument()
685 stmt( 'C', &pce, sbIn->stmts[i] ); in h_instrument()
689 sg_instrument_final_jump( sgenv, pce.sb, sbIn->next, sbIn->jumpkind, in h_instrument()
697 tl_assert( VG_(sizeXA)( pce.qmpMap ) == pce.sb->tyenv->types_used ); in h_instrument()
698 VG_(deleteXA)( pce.qmpMap ); in h_instrument()
700 return pce.sb; in h_instrument()