Lines Matching refs:right
207 // right hand sides of a binary operation and can put constants on the right
209 template <typename Left, typename Right>
221 typedef Right RightMatcher;
224 const Right& right() const { return right_; }
226 bool IsFoldable() const { return left().HasValue() && right().HasValue(); }
227 bool LeftEqualsRight() const { return left().node() == right().node(); }
233 node()->ReplaceInput(1, right().node());
238 if (left().HasValue() && !right().HasValue()) {
244 Right right_;
266 if (m.right().HasValue()) {
268 m.right().Value();
274 if (m.right().HasValue()) {
276 m.right().Value();
359 Matcher right_matcher(this->right().node(), true);
367 if (this->right().opcode() == kAddOpcode &&
436 Node* right = m.right().node();
448 if (right->opcode() == AddMatcher::kOpcode && right->OwnedBy(node)) {
449 AddMatcher right_matcher(right);
450 if (right_matcher.right().HasValue()) {
453 displacement = right_matcher.right().node();
456 base = right;
458 } else if (m.right().HasValue()) {
460 displacement = right;
463 base = right;
469 Node* left_right = left_matcher.right().node();
471 if (left_matcher.right().HasValue()) {
478 base = right;
479 } else if (m.right().HasValue()) {
486 displacement = right;
490 base = right;
493 if (left_matcher.right().HasValue()) {
497 base = right;
498 } else if (m.right().HasValue()) {
502 displacement = right;
506 base = right;
510 if (m.right().HasValue()) {
513 displacement = right;
517 index = right;