Lines Matching refs:rep2
76 TruncationKind rep2) {
77 if (LessGeneral(rep1, rep2)) return rep2;
78 if (LessGeneral(rep2, rep1)) return rep1;
81 LessGeneral(rep2, TruncationKind::kOddballAndBigIntToNumber)) {
86 LessGeneral(rep2, TruncationKind::kAny)) {
104 bool Truncation::LessGeneral(TruncationKind rep1, TruncationKind rep2) {
109 return rep2 == TruncationKind::kBool || rep2 == TruncationKind::kAny;
111 return rep2 == TruncationKind::kWord32 ||
112 rep2 == TruncationKind::kWord64 ||
113 rep2 == TruncationKind::kOddballAndBigIntToNumber ||
114 rep2 == TruncationKind::kAny;
116 return rep2 == TruncationKind::kWord64 ||
117 rep2 == TruncationKind::kOddballAndBigIntToNumber ||
118 rep2 == TruncationKind::kAny;
120 return rep2 == TruncationKind::kOddballAndBigIntToNumber ||
121 rep2 == TruncationKind::kAny;
123 return rep2 == TruncationKind::kAny;