Lines Matching full:number

83   GENERATE(Token::ADD, INT32, INT32, NUMBER);  in GenerateAheadOfTime()
84 GENERATE(Token::ADD, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
86 GENERATE(Token::ADD, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
87 GENERATE(Token::ADD, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
88 GENERATE(Token::ADD, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
90 GENERATE(Token::ADD, SMI, INT32, NUMBER); in GenerateAheadOfTime()
91 GENERATE(Token::ADD, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
98 GENERATE(Token::BIT_AND, NUMBER, INT32, INT32); in GenerateAheadOfTime()
99 GENERATE(Token::BIT_AND, NUMBER, SMI, SMI); in GenerateAheadOfTime()
102 GENERATE(Token::BIT_AND, SMI, NUMBER, SMI); in GenerateAheadOfTime()
108 GENERATE(Token::BIT_OR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
109 GENERATE(Token::BIT_OR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
115 GENERATE(Token::BIT_XOR, INT32, NUMBER, SMI); in GenerateAheadOfTime()
117 GENERATE(Token::BIT_XOR, NUMBER, INT32, INT32); in GenerateAheadOfTime()
118 GENERATE(Token::BIT_XOR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
119 GENERATE(Token::BIT_XOR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
124 GENERATE(Token::DIV, INT32, INT32, NUMBER); in GenerateAheadOfTime()
125 GENERATE(Token::DIV, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
127 GENERATE(Token::DIV, INT32, SMI, NUMBER); in GenerateAheadOfTime()
128 GENERATE(Token::DIV, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
129 GENERATE(Token::DIV, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
130 GENERATE(Token::DIV, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
132 GENERATE(Token::DIV, SMI, INT32, NUMBER); in GenerateAheadOfTime()
133 GENERATE(Token::DIV, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
134 GENERATE(Token::DIV, SMI, SMI, NUMBER); in GenerateAheadOfTime()
136 GENERATE(Token::MOD, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
139 GENERATE(Token::MUL, INT32, INT32, NUMBER); in GenerateAheadOfTime()
140 GENERATE(Token::MUL, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
142 GENERATE(Token::MUL, INT32, SMI, NUMBER); in GenerateAheadOfTime()
143 GENERATE(Token::MUL, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
144 GENERATE(Token::MUL, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
145 GENERATE(Token::MUL, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
147 GENERATE(Token::MUL, SMI, INT32, NUMBER); in GenerateAheadOfTime()
148 GENERATE(Token::MUL, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
150 GENERATE(Token::MUL, SMI, SMI, NUMBER); in GenerateAheadOfTime()
154 GENERATE(Token::SAR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
158 GENERATE(Token::SHL, NUMBER, SMI, SMI); in GenerateAheadOfTime()
162 GENERATE(Token::SHR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
163 GENERATE(Token::SHR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
166 GENERATE(Token::SUB, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
168 GENERATE(Token::SUB, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
169 GENERATE(Token::SUB, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
170 GENERATE(Token::SUB, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
172 GENERATE(Token::SUB, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
200 } else if (result_kind == NUMBER && op_ == Token::SHR) { in GetResultType()
243 if (result_kind_ < input_kind && input_kind <= NUMBER) { in Update()
248 // We don't want to distinguish INT32 and NUMBER for string add (because in Update()
253 right_kind_ = NUMBER; in Update()
257 left_kind_ = NUMBER; in Update()
281 new_kind = is_truncating ? INT32 : NUMBER; in UpdateKind()
286 new_kind = IsInt32Double(value) ? INT32 : NUMBER; in UpdateKind()
291 new_kind = NUMBER; in UpdateKind()
293 if (kind != NONE && ((new_kind <= NUMBER && kind > NUMBER) || in UpdateKind()
294 (new_kind > NUMBER && kind <= NUMBER))) { in UpdateKind()
310 case NUMBER: in KindToString()
311 return "Number"; in KindToString()
331 case NUMBER: in KindToType()
332 return Type::Number(); in KindToType()
351 case NUMBER: in GetStateName()
352 return "NUMBER"; in GetStateName()
379 case NUMBER: in StateToType()
380 return Type::Number(zone); in StateToType()
405 if (value->IsHeapNumber()) return NUMBER; in NewInputState()
416 if (value->IsHeapNumber()) return NUMBER; in NewInputState()
418 case NUMBER: in NewInputState()
419 if (value->IsNumber()) return NUMBER; in NewInputState()
453 if (x->IsNumber() && y->IsNumber()) return NUMBER; in TargetState()
456 // NUMBER stub will do the right thing. in TargetState()
459 return NUMBER; in TargetState()
480 return x->IsNumber() && y->IsNumber() ? NUMBER : GENERIC; in TargetState()
486 case NUMBER: in TargetState()
487 // If the failure was due to one side changing from smi to heap number, in TargetState()
490 if (old_left == SMI && x->IsHeapNumber()) return NUMBER; in TargetState()
491 if (old_right == SMI && y->IsHeapNumber()) return NUMBER; in TargetState()