Lines Matching refs:lhs
140 bool LaterElimination::CheckReplacement(GateRef lhs, GateRef rhs)
142 if (!acc_.MetaDataEqu(lhs, rhs)) {
143 if (acc_.GetOpCode(lhs) != acc_.GetOpCode(rhs)) {
147 size_t valueCount = acc_.GetNumValueIn(lhs);
149 if (acc_.GetValueIn(lhs, i) != acc_.GetValueIn(rhs, i)) {
153 auto opcode = acc_.GetOpCode(lhs);
158 if (acc_.GetIndex(lhs) != acc_.GetIndex(rhs)) {
164 if (acc_.GetJSType(lhs) != acc_.GetJSType(rhs)) {
170 if (acc_.GetSrcType(lhs) != acc_.GetSrcType(rhs)) {
173 if (acc_.GetDstType(lhs) != acc_.GetDstType(rhs)) {