Lines Matching refs:kind_
103 Representation() : kind_(kNone) { }
120 return kind_ == other.kind_;
133 if (kind_ == kExternal && other.kind_ == kNone) return true;
134 if (kind_ == kExternal && other.kind_ == kExternal) return false;
135 if (kind_ == kNone && other.kind_ == kExternal) return false;
137 DCHECK(kind_ != kExternal);
138 DCHECK(other.kind_ != kExternal);
140 if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false;
141 if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false;
142 return kind_ > other.kind_;
169 Kind kind() const { return static_cast<Kind>(kind_); }
170 bool IsNone() const { return kind_ == kNone; }
171 bool IsInteger8() const { return kind_ == kInteger8; }
172 bool IsUInteger8() const { return kind_ == kUInteger8; }
173 bool IsInteger16() const { return kind_ == kInteger16; }
174 bool IsUInteger16() const { return kind_ == kUInteger16; }
175 bool IsTagged() const { return kind_ == kTagged; }
176 bool IsSmi() const { return kind_ == kSmi; }
178 bool IsInteger32() const { return kind_ == kInteger32; }
180 bool IsDouble() const { return kind_ == kDouble; }
181 bool IsHeapObject() const { return kind_ == kHeapObject; }
182 bool IsExternal() const { return kind_ == kExternal; }
191 explicit Representation(Kind k) : kind_(k) { }
196 int8_t kind_;