Lines Matching refs:Ev
516 } Ev;
520 static void init_Event ( Event* ev ) {
521 VG_(memset)(ev, 0, sizeof(Event));
524 static IRAtom* get_Event_dea ( Event* ev ) {
525 switch (ev->tag) {
526 case Ev_Dr: return ev->Ev.Dr.ea;
527 case Ev_Dw: return ev->Ev.Dw.ea;
528 case Ev_Dm: return ev->Ev.Dm.ea;
533 static Int get_Event_dszB ( Event* ev ) {
534 switch (ev->tag) {
535 case Ev_Dr: return ev->Ev.Dr.szB;
536 case Ev_Dw: return ev->Ev.Dw.szB;
537 case Ev_Dm: return ev->Ev.Dm.szB;
610 static void showEvent ( Event* ev )
612 switch (ev->tag) {
614 VG_(printf)("Ir %p\n", ev->inode);
617 VG_(printf)("Dr %p %d EA=", ev->inode, ev->Ev.Dr.szB);
618 ppIRExpr(ev->Ev.Dr.ea);
622 VG_(printf)("Dw %p %d EA=", ev->inode, ev->Ev.Dw.szB);
623 ppIRExpr(ev->Ev.Dw.ea);
627 VG_(printf)("Dm %p %d EA=", ev->inode, ev->Ev.Dm.szB);
628 ppIRExpr(ev->Ev.Dm.ea);
632 VG_(printf)("Bc %p GA=", ev->inode);
633 ppIRExpr(ev->Ev.Bc.taken);
637 VG_(printf)("Bi %p DST=", ev->inode);
638 ppIRExpr(ev->Ev.Bi.dst);
675 Event* ev;
691 ev = &cgs->events[i];
697 showEvent( ev );
700 i_node_expr = mkIRExpr_HWord( (HWord)ev->inode );
704 switch (ev->tag) {
716 tl_assert(ev2->inode == ev->inode);
728 tl_assert(ev2->inode == ev->inode);
789 get_Event_dea(ev),
790 mkIRExpr_HWord( get_Event_dszB(ev) ) );
799 get_Event_dea(ev),
800 mkIRExpr_HWord( get_Event_dszB(ev) ) );
808 argv = mkIRExprVec_2( i_node_expr, ev->Ev.Bc.taken );
816 argv = mkIRExprVec_2( i_node_expr, ev->Ev.Bi.dst );
865 evt->Ev.Dr.szB = datasize;
866 evt->Ev.Dr.ea = ea;
886 && lastEvt->Ev.Dr.szB == datasize
888 && eqIRAtom(lastEvt->Ev.Dr.ea, ea))
902 evt->Ev.Dw.szB = datasize;
903 evt->Ev.Dw.ea = ea;
923 evt->Ev.Bc.taken = guard;
943 evt->Ev.Bi.dst = whereTo;