Home
last modified time | relevance | path

Searched refs:TruncationKind (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/compiler/
Drepresentation-change.h21 return Truncation(TruncationKind::kNone, kIdentifyZeros); in None()
24 return Truncation(TruncationKind::kBool, kIdentifyZeros); in Bool()
27 return Truncation(TruncationKind::kWord32, kIdentifyZeros); in Word32()
30 return Truncation(TruncationKind::kWord64, kIdentifyZeros); in Word64()
33 return Truncation(TruncationKind::kFloat64, identify_zeros);
36 return Truncation(TruncationKind::kAny, identify_zeros);
46 bool IsUnused() const { return kind_ == TruncationKind::kNone; } in IsUnused()
48 return LessGeneral(kind_, TruncationKind::kBool); in IsUsedAsBool()
51 return LessGeneral(kind_, TruncationKind::kWord32); in IsUsedAsWord32()
54 return LessGeneral(kind_, TruncationKind::kFloat64); in IsUsedAsFloat64()
[all …]
Drepresentation-change.cc21 case TruncationKind::kNone: in description()
23 case TruncationKind::kBool: in description()
25 case TruncationKind::kWord32: in description()
27 case TruncationKind::kWord64: in description()
29 case TruncationKind::kFloat64: in description()
36 case TruncationKind::kAny: in description()
68 Truncation::TruncationKind Truncation::Generalize(TruncationKind rep1, in Generalize()
69 TruncationKind rep2) { in Generalize()
73 if (LessGeneral(rep1, TruncationKind::kFloat64) && in Generalize()
74 LessGeneral(rep2, TruncationKind::kFloat64)) { in Generalize()
[all …]