Lines Matching refs:Ev
548 } Ev;
552 static void init_Event ( Event* ev ) {
553 VG_(memset)(ev, 0, sizeof(Event));
556 static IRAtom* get_Event_dea ( Event* ev ) {
557 switch (ev->tag) {
558 case Ev_Dr: return ev->Ev.Dr.ea;
559 case Ev_Dw: return ev->Ev.Dw.ea;
560 case Ev_Dm: return ev->Ev.Dm.ea;
565 static Int get_Event_dszB ( Event* ev ) {
566 switch (ev->tag) {
567 case Ev_Dr: return ev->Ev.Dr.szB;
568 case Ev_Dw: return ev->Ev.Dw.szB;
569 case Ev_Dm: return ev->Ev.Dm.szB;
641 static void showEvent ( Event* ev )
643 switch (ev->tag) {
645 VG_(printf)("IrGen %p\n", ev->inode);
648 VG_(printf)("IrNoX %p\n", ev->inode);
651 VG_(printf)("Dr %p %d EA=", ev->inode, ev->Ev.Dr.szB);
652 ppIRExpr(ev->Ev.Dr.ea);
656 VG_(printf)("Dw %p %d EA=", ev->inode, ev->Ev.Dw.szB);
657 ppIRExpr(ev->Ev.Dw.ea);
661 VG_(printf)("Dm %p %d EA=", ev->inode, ev->Ev.Dm.szB);
662 ppIRExpr(ev->Ev.Dm.ea);
666 VG_(printf)("Bc %p GA=", ev->inode);
667 ppIRExpr(ev->Ev.Bc.taken);
671 VG_(printf)("Bi %p DST=", ev->inode);
672 ppIRExpr(ev->Ev.Bi.dst);
709 Event* ev;
725 ev = &cgs->events[i];
731 showEvent( ev );
734 i_node_expr = mkIRExpr_HWord( (HWord)ev->inode );
738 switch (ev->tag) {
750 tl_assert(ev2->inode == ev->inode);
762 tl_assert(ev2->inode == ev->inode);
835 get_Event_dea(ev),
836 mkIRExpr_HWord( get_Event_dszB(ev) ) );
845 get_Event_dea(ev),
846 mkIRExpr_HWord( get_Event_dszB(ev) ) );
854 argv = mkIRExprVec_2( i_node_expr, ev->Ev.Bc.taken );
862 argv = mkIRExprVec_2( i_node_expr, ev->Ev.Bi.dst );
917 evt->Ev.Dr.szB = datasize;
918 evt->Ev.Dr.ea = ea;
938 && lastEvt->Ev.Dr.szB == datasize
940 && eqIRAtom(lastEvt->Ev.Dr.ea, ea))
954 evt->Ev.Dw.szB = datasize;
955 evt->Ev.Dw.ea = ea;
1021 evt->Ev.Bc.taken = guard;
1041 evt->Ev.Bi.dst = whereTo;