P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::TC::WidthRec Class Reference

Public Attributes

WrType type
 
union { 
 
   struct { 
 
int w
 
   } arith 
 
   struct { 
 
int w
 
   } assign 
 
   struct { 
 
int bw
 
unsigned int sv
 
   } bxsmul 
 
   struct { 
 
int fw
 
int tw
 
   } cast 
 
   struct { 
 
unsigned char cmp
 
int w
 
   } cmp 
 
   struct { 
 
int lhsw
 
int rhsw
 
   } concat 
 
   struct { 
 
bool issigned
 
int w
 
   } sarith 
 
   struct { 
 
int lw
 
unsigned int sv
 
   } shift_c 
 
   struct { 
 
int lw
 
int rw
 
   } shift_x 
 
int value
 
u 
 

Friends

bool operator!= (const WidthRec &l, const WidthRec &r)
 
bool operator< (const WidthRec &l, const WidthRec &r)
 
bool operator<= (const WidthRec &l, const WidthRec &r)
 
bool operator== (const WidthRec &l, const WidthRec &r)
 
bool operator> (const WidthRec &l, const WidthRec &r)
 
bool operator>= (const WidthRec &l, const WidthRec &r)