Home | History | Annotate | Download | only in compiler

Lines Matching refs:Is

2 // Use of this source code is governed by a BSD-style license that can be
112 bool OneInputIs(Type* t) { return left_type_->Is(t) || right_type_->Is(t); }
115 return left_type_->Is(t) && right_type_->Is(t);
201 // Otherwise, {node} has multiple uses. Leave it as is and let the
210 if (input_type->Is(type)) return node; // already in the value range.
237 // TODO(turbofan): Lowering of StringAdd is disabled for now because:
240 // c) Our current StringAddStub is actually non-pure and requires context.
257 // If at least one input is a primitive, then insert appropriate conversions
380 // x === x is always true if x != NaN
387 // Type intersection is empty; === is always false unless both
436 Is(Type::Number())) {
440 if (input_type->Is(Type::Undefined())) {
444 if (input_type->Is(Type::Null())) {
448 if (input_type->Is(Type::Boolean())) {
469 if (input_type->Is(Type::String())) {
472 if (input_type->Is(Type::Undefined())) {
476 if (input_type->Is(Type::Null())) {
497 if (input_type->Is(Type::Boolean())) {
500 if (input_type->Is(Type::Undefined())) {
504 if (input_type->Is(Type::Null())) {
508 if (input_type->Is(Type::DetectableReceiver())) {
512 if (input_type->Is(Type::Undetectable())) {
516 if (input_type->Is(Type::OrderedNumber())) {
533 // TODO(mstarzinger): This lowering is not correct if:
535 // b) The typed array or it's buffer is neutered.
536 // c) The index is out of bounds.
537 if (base_type->IsConstant() && key_type->Is(Type::Integral32()) &&
574 // TODO(mstarzinger): This lowering is not correct if:
576 // b) The typed array or it's buffer is neutered.
577 if (key_type->Is(Type::Integral32()) && base_type->IsConstant() &&