Lines Matching refs:Smi
132 if (result > Smi::kMaxValue) {
134 return Smi::kMaxValue;
136 if (result < Smi::kMinValue) {
138 return Smi::kMinValue;
947 index_rep = Representation::Smi();
950 length_rep = Representation::Smi();
971 // In case of Smi representation, clamp result to Smi::kMaxValue.
1067 if (expected_input_types_.Contains(ToBooleanICStub::SMI)) {
1068 return Representation::Smi();
1153 // In case of Smi representation, clamp Math.abs(Smi::kMinValue) to
1154 // Smi::kMaxValue.
1471 if (CanTruncateToSmi()) os << " truncating-smi";
1666 result = new(zone) Range(Smi::kMinValue, Smi::kMaxValue);
1685 set_type(HType::Smi());
1727 ? new(zone) Range(Smi::kMinValue, Smi::kMaxValue)
2197 bit_field_, has_int32_value && Smi::IsValid(int32_value_));
2233 HasSmiValueField::encode(Smi::IsValid(integer_value)) |
2243 // It's possible to create a constant with a value in Smi-range but stored
2247 set_type(is_smi ? HType::Smi() : HType::TaggedNumber());
2268 bit_field_, HasInteger32Value() && Smi::IsValid(int32_value_));
2269 // It's possible to create a constant with a value in Smi-range but stored
2273 set_type(is_smi ? HType::Smi() : HType::TaggedNumber());
2298 r = Representation::Smi();
2320 // Tagged representation later, because having Smi representation now
3727 it.index(), Representation::Smi());
3760 // Integer32 is also returned when some uses are Smi but others are Integer32.
3870 return HObjectAccess(kInobject, offset, Representation::Smi());
3872 return HObjectAccess(kInobject, offset, Representation::Smi());