Lines Matching refs:use_info
139 Node* use_node, UseInfo use_info) { in GetRepresentationFor() argument
143 return TypeError(node, output_rep, output_type, use_info.representation()); in GetRepresentationFor()
147 if (use_info.type_check() == TypeCheckKind::kNone || in GetRepresentationFor()
149 if (use_info.representation() == output_rep) { in GetRepresentationFor()
153 if (IsWord(use_info.representation()) && IsWord(output_rep)) { in GetRepresentationFor()
162 switch (use_info.representation()) { in GetRepresentationFor()
164 DCHECK(use_info.type_check() == TypeCheckKind::kNone || in GetRepresentationFor()
165 use_info.type_check() == TypeCheckKind::kSignedSmall); in GetRepresentationFor()
167 use_node, use_info); in GetRepresentationFor()
169 DCHECK(use_info.type_check() == TypeCheckKind::kNone || in GetRepresentationFor()
170 use_info.type_check() == TypeCheckKind::kHeapObject); in GetRepresentationFor()
172 use_node, use_info); in GetRepresentationFor()
174 DCHECK_EQ(TypeCheckKind::kNone, use_info.type_check()); in GetRepresentationFor()
176 use_info.truncation()); in GetRepresentationFor()
178 DCHECK_EQ(TypeCheckKind::kNone, use_info.type_check()); in GetRepresentationFor()
180 use_info.truncation()); in GetRepresentationFor()
183 use_node, use_info); in GetRepresentationFor()
185 DCHECK_EQ(TypeCheckKind::kNone, use_info.type_check()); in GetRepresentationFor()
191 use_info); in GetRepresentationFor()
193 DCHECK_EQ(TypeCheckKind::kNone, use_info.type_check()); in GetRepresentationFor()
204 Node* use_node, UseInfo use_info) { in GetTaggedSignedRepresentationFor() argument
228 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
229 op = simplified()->CheckedInt32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
235 use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
236 op = simplified()->CheckedUint32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
251 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
252 op = simplified()->CheckedInt32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
258 use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
261 op = simplified()->CheckedUint32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
262 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
267 use_info.feedback()); in GetTaggedSignedRepresentationFor()
272 op = simplified()->CheckedInt32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
279 if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
286 use_info.feedback()); in GetTaggedSignedRepresentationFor()
291 op = simplified()->CheckedInt32ToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
298 if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
299 op = simplified()->CheckedTaggedToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
307 if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetTaggedSignedRepresentationFor()
311 op = simplified()->CheckedTaggedToTaggedSigned(use_info.feedback()); in GetTaggedSignedRepresentationFor()
325 Node* use_node, UseInfo use_info) { in GetTaggedPointerRepresentationFor() argument
381 use_info.type_check() == TypeCheckKind::kHeapObject) { in GetTaggedPointerRepresentationFor()
387 op = simplified()->CheckedTaggedToTaggedPointer(use_info.feedback()); in GetTaggedPointerRepresentationFor()
539 Node* use_node, UseInfo use_info) { in GetFloat64RepresentationFor() argument
541 if ((use_info.type_check() == TypeCheckKind::kNone)) { in GetFloat64RepresentationFor()
565 use_info.truncation().IsUsedAsWord32()) { in GetFloat64RepresentationFor()
587 } else if (use_info.type_check() == TypeCheckKind::kNumber || in GetFloat64RepresentationFor()
588 (use_info.type_check() == TypeCheckKind::kNumberOrOddball && in GetFloat64RepresentationFor()
591 use_info.feedback()); in GetFloat64RepresentationFor()
592 } else if (use_info.type_check() == TypeCheckKind::kNumberOrOddball) { in GetFloat64RepresentationFor()
594 CheckTaggedInputMode::kNumberOrOddball, use_info.feedback()); in GetFloat64RepresentationFor()
622 Node* use_node, UseInfo use_info) { in GetWord32RepresentationFor() argument
632 if (use_info.type_check() == TypeCheckKind::kNone || in GetWord32RepresentationFor()
633 ((use_info.type_check() == TypeCheckKind::kSignedSmall || in GetWord32RepresentationFor()
634 use_info.type_check() == TypeCheckKind::kSigned32) && in GetWord32RepresentationFor()
652 if (use_info.truncation().IsUsedAsWord32()) { in GetWord32RepresentationFor()
656 .IsLessGeneralThan(use_info.truncation())); in GetWord32RepresentationFor()
657 CHECK_NE(use_info.type_check(), TypeCheckKind::kNone); in GetWord32RepresentationFor()
665 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall || in GetWord32RepresentationFor()
666 use_info.type_check() == TypeCheckKind::kSigned32) { in GetWord32RepresentationFor()
669 ? use_info.minus_zero_check() in GetWord32RepresentationFor()
671 use_info.feedback()); in GetWord32RepresentationFor()
674 } else if (use_info.truncation().IsUsedAsWord32()) { in GetWord32RepresentationFor()
684 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall || in GetWord32RepresentationFor()
685 use_info.type_check() == TypeCheckKind::kSigned32) { in GetWord32RepresentationFor()
688 ? use_info.minus_zero_check() in GetWord32RepresentationFor()
690 use_info.feedback()); in GetWord32RepresentationFor()
693 } else if (use_info.truncation().IsUsedAsWord32()) { in GetWord32RepresentationFor()
705 } else if (use_info.type_check() == TypeCheckKind::kSignedSmall) { in GetWord32RepresentationFor()
706 op = simplified()->CheckedTaggedSignedToInt32(use_info.feedback()); in GetWord32RepresentationFor()
707 } else if (use_info.type_check() == TypeCheckKind::kSigned32) { in GetWord32RepresentationFor()
710 ? use_info.minus_zero_check() in GetWord32RepresentationFor()
712 use_info.feedback()); in GetWord32RepresentationFor()
715 } else if (use_info.truncation().IsUsedAsWord32()) { in GetWord32RepresentationFor()
718 } else if (use_info.type_check() == TypeCheckKind::kNumber) { in GetWord32RepresentationFor()
720 CheckTaggedInputMode::kNumber, use_info.feedback()); in GetWord32RepresentationFor()
721 } else if (use_info.type_check() == TypeCheckKind::kNumberOrOddball) { in GetWord32RepresentationFor()
723 CheckTaggedInputMode::kNumberOrOddball, use_info.feedback()); in GetWord32RepresentationFor()
735 if (use_info.type_check() == TypeCheckKind::kSignedSmall || in GetWord32RepresentationFor()
736 use_info.type_check() == TypeCheckKind::kSigned32) { in GetWord32RepresentationFor()
740 op = simplified()->CheckedUint32ToInt32(use_info.feedback()); in GetWord32RepresentationFor()
745 } else if (use_info.type_check() == TypeCheckKind::kNumber || in GetWord32RepresentationFor()
746 use_info.type_check() == TypeCheckKind::kNumberOrOddball) { in GetWord32RepresentationFor()
751 DCHECK_EQ(MachineRepresentation::kWord32, use_info.representation()); in GetWord32RepresentationFor()
752 DCHECK(use_info.type_check() == TypeCheckKind::kSignedSmall || in GetWord32RepresentationFor()
753 use_info.type_check() == TypeCheckKind::kSigned32); in GetWord32RepresentationFor()