51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
-
-
+
-
-
-
-
-
-
-
+
-
|
{
out << "LOAD(";
return out << ins.m_type << ')';
}
ostream& operator<<( ostream& out, const Store& ins )
{
out << "STORE(";
return out << ins.m_val << ')';
return out << "STORE";
}
ostream& operator<<( ostream& out, const PHOverride& ins )
{
return out << "PHOVERRIDE(" << ins.m_name << ", " << ins.m_phVal << ", " << ins.m_val << ')';
}
bool Store::canBeEagerlyEvaluated() const
{
return /*m_addr &&*/ CanValueBeEagerlyEvaluated( m_val );
}
bool Select::operator<( const Select& rhs ) const
{
return m_memberIndex < rhs.m_memberIndex;
}
bool Load::operator<( const Load& rhs ) const
{
return m_type < rhs.m_type;
}
bool Store::operator<( const Store& rhs ) const
{
if( m_type != rhs.m_type )
return m_type < rhs.m_type;
return m_type < rhs.m_type;
return m_val < rhs.m_val;
}
bool PHOverride::operator<( const PHOverride& rhs ) const
{
if( m_name != rhs.m_name )
return m_name < rhs.m_name;
if( m_phVal != rhs.m_phVal )
|