Lines Matching refs:Int32Constant
196 return SelectConstant<Int32T>(condition, Int32Constant(true_value), in SelectInt32Constant()
197 Int32Constant(false_value)); in SelectInt32Constant()
351 return Int32Constant(1); in MatchesParameterMode()
784 GotoIf(Word32Equal(int_b, Int32Constant(0)), &return_nan); in SmiMod()
788 Branch(Int32LessThanOrEqual(Int32Constant(0), int_a), &if_aisnotnegative, in SmiMod()
805 GotoIfNot(Word32Equal(int_a, Int32Constant(kMinInt)), &join); in SmiMod()
806 GotoIf(Word32Equal(int_b, Int32Constant(-1)), &return_minuszero); in SmiMod()
816 GotoIf(Word32Equal(r, Int32Constant(0)), &return_minuszero); in SmiMod()
858 Node* zero = Int32Constant(0); in SmiMul()
921 Branch(Word32Equal(untagged_divisor, Int32Constant(-1)), in TrySmiDiv()
928 Int32Constant(kSmiValueSize == 32 ? kMinInt : (kMinInt >> 1))), in TrySmiDiv()
1484 IntPtrConstant(zero_offset), Int32Constant(0)); in StoreAndTagSmi()
1516 return Word32NotEqual(LoadInstanceType(object), Int32Constant(instance_type)); in DoesntHaveInstanceType()
1792 return Unsigned(Word32Shr(hash_field, Int32Constant(Name::kHashShift))); in LoadNameHash()
2075 Int32Add(offset, Int32Constant(kPointerSize)))); in LoadFixedBigInt64ArrayElementAsTagged()
2081 Int32Add(offset, Int32Constant(kPointerSize)))); in LoadFixedBigInt64ArrayElementAsTagged()
2166 Int32Add(offset, Int32Constant(kPointerSize)))); in LoadFixedBigUint64ArrayElementAsTagged()
2172 Int32Add(offset, Int32Constant(kPointerSize)))); in LoadFixedBigUint64ArrayElementAsTagged()
2468 GotoIf(Word32Equal(element_upper, Int32Constant(kHoleNanUpper32)), in LoadDoubleWithHoleCheck()
2580 Int32Constant(FunctionKind::kAsyncGeneratorFunction)), in IsGeneratorFunction()
2583 Int32Constant(FunctionKind::kAsyncConciseGeneratorMethod))), in IsGeneratorFunction()
2585 Int32Constant(FunctionKind::kGeneratorFunction))), in IsGeneratorFunction()
2587 Int32Constant(FunctionKind::kConciseGeneratorMethod)))); in IsGeneratorFunction()
2853 Node* test = Word32And(bit_field2, Int32Constant(mask)); in EnsureArrayPushable()
2854 GotoIf(Word32NotEqual(test, Int32Constant(Map::IsExtensibleBit::kMask)), in EnsureArrayPushable()
3324 Int32Constant(kStringEncodingMask | in NewConsString()
3326 Int32Constant(kOneByteStringTag | kOneByteDataHintTag)), in NewConsString()
3489 Int32Constant(CollectionType::kLoadFactor)); in AllocateSmallOrderedHashTable()
3504 Int32Constant(kPointerSize))); in AllocateSmallOrderedHashTable()
3518 Word32And(Int32Constant(0xFF), hash_table_size)); in AllocateSmallOrderedHashTable()
3520 Int32Constant(0)); in AllocateSmallOrderedHashTable()
3522 table, CollectionType::kNumberOfDeletedElementsOffset, Int32Constant(0)); in AllocateSmallOrderedHashTable()
3735 bit_field3, Int32Constant(1 << Map::ConstructionCounterBits::kShift)); in InitializeJSObjectBodyWithSlackTracking()
4308 : ReinterpretCast<UintPtrT>(Int32Constant(kHoleNanLower32)); in CopyFixedArrayElements()
4648 TNode<Int32T> incremented_count = Int32Add(count, Int32Constant(1)); in InitializeAllocationMemento()
4849 GotoIfNot(Word32Equal(value32, Int32Constant(0)), &if_int32); in TryFloat64ToSmi()
4851 Int32Constant(0)), in TryFloat64ToSmi()
4928 Branch(Uint32LessThan(Int32Constant(Smi::kMaxValue), value), &if_overflow, in ChangeUint32ToTagged()
5172 Branch(Word32Equal(value_instance_type, Int32Constant(instance_type)), &out, in ThrowIfNotInstanceType()
5252 return Word32Equal(instance_type, Int32Constant(type)); in InstanceTypeEqual()
5383 Int32Constant(LAST_SPECIAL_RECEIVER_TYPE)); in IsSpecialReceiverInstanceType()
5389 Int32Constant(LAST_CUSTOM_ELEMENTS_RECEIVER)); in IsCustomElementsReceiverInstanceType()
5395 return Int32LessThan(instance_type, Int32Constant(FIRST_NONSTRING_TYPE)); in IsStringInstanceType()
5402 Word32And(instance_type, Int32Constant(kStringEncodingMask)), in IsOneByteStringInstanceType()
5403 Int32Constant(kOneByteStringTag)); in IsOneByteStringInstanceType()
5410 Word32And(instance_type, Int32Constant(kStringRepresentationMask)), in IsSequentialStringInstanceType()
5411 Int32Constant(kSeqStringTag)); in IsSequentialStringInstanceType()
5418 Word32And(instance_type, Int32Constant(kStringRepresentationMask)), in IsConsStringInstanceType()
5419 Int32Constant(kConsStringTag)); in IsConsStringInstanceType()
5428 Word32And(instance_type, Int32Constant(kIsIndirectStringMask))); in IsIndirectStringInstanceType()
5435 Word32And(instance_type, Int32Constant(kStringRepresentationMask)), in IsExternalStringInstanceType()
5436 Int32Constant(kExternalStringTag)); in IsExternalStringInstanceType()
5450 Int32Constant(FIRST_JS_RECEIVER_TYPE)); in IsJSReceiverInstanceType()
5479 Int32Constant(FIRST_JS_OBJECT_TYPE)); in IsJSObjectInstanceType()
5552 Int32GreaterThanOrEqual(instance_type, Int32Constant(FIRST_CONTEXT_TYPE)), in IsContext()
5553 Int32LessThanOrEqual(instance_type, Int32Constant(LAST_CONTEXT_TYPE)))); in IsContext()
5565 Int32Constant(FIRST_FIXED_ARRAY_TYPE)), in IsFixedArraySubclass()
5567 Int32Constant(LAST_FIXED_ARRAY_TYPE)))); in IsFixedArraySubclass()
5574 Int32LessThan(instance_type, Int32Constant(FIRST_WEAK_FIXED_ARRAY_TYPE)), in IsNotWeakFixedArraySubclass()
5576 Int32Constant(LAST_WEAK_FIXED_ARRAY_TYPE)))); in IsNotWeakFixedArraySubclass()
5672 Int32Constant(LAST_NAME_TYPE)); in IsName()
5700 Int32Constant(LAST_PRIMITIVE_TYPE)); in IsPrimitiveInstanceType()
5730 Int32Constant(FIRST_HASH_TABLE_TYPE)), in IsHashTable()
5732 Int32Constant(LAST_HASH_TABLE_TYPE)))); in IsHashTable()
5796 Int32Constant(FIRST_FIXED_TYPED_ARRAY_TYPE)), in IsFixedTypedArray()
5798 Int32Constant(LAST_FIXED_TYPED_ARRAY_TYPE)))); in IsFixedTypedArray()
5999 Branch(Int32LessThanOrEqual(code, Int32Constant(String::kMaxOneByteCharCode)), in StringFromSingleCharCode()
6239 var_is_external_.Bind(Int32Constant(0)); in ToDirectStringAssembler()
6267 var_instance_type_.value(), Int32Constant(kStringRepresentationMask)); in TryToDirect()
6321 var_is_external_.Bind(Int32Constant(1)); in TryToDirect()
6375 Word32And(instance_type, Int32Constant(kStringRepresentationMask)); in BranchIfCanDerefIndirectString()
6376 GotoIf(Word32Equal(representation, Int32Constant(kThinStringTag)), can_deref); in BranchIfCanDerefIndirectString()
6377 GotoIf(Word32NotEqual(representation, Int32Constant(kConsStringTag)), in BranchIfCanDerefIndirectString()
6514 Int32Constant(kStringEncodingMask)), in StringAdd()
6515 Int32Constant(kTwoByteStringTag)), in StringAdd()
6572 Branch(Uint32LessThan(codepoint, Int32Constant(0x10000)), &if_isword16, in StringFromSingleCodePoint()
6588 Node* lead_offset = Int32Constant(0xD800 - (0x10000 >> 10)); in StringFromSingleCodePoint()
6592 Int32Add(Word32Shr(codepoint, Int32Constant(10)), lead_offset); in StringFromSingleCodePoint()
6595 Node* trail = Int32Add(Word32And(codepoint, Int32Constant(0x3FF)), in StringFromSingleCodePoint()
6596 Int32Constant(0xDC00)); in StringFromSingleCodePoint()
6599 codepoint = Signed(Word32Or(Word32Shl(trail, Int32Constant(16)), lead)); in StringFromSingleCodePoint()
6736 GotoIf(Int32GreaterThan(value_instance_type, Int32Constant(LAST_NAME_TYPE)), in ToName()
7004 GotoIf(Word32Equal(instance_type, Int32Constant(ODDBALL_TYPE)), &if_oddball); in TaggedToNumeric()
7395 Word32And(word32, Int32Constant(mask)), static_cast<int>(shift))); in DecodeWord32()
7420 Int32Constant(value)); in SetCounter()
7430 value = Int32Add(value, Int32Constant(delta)); in IncrementCounter()
7441 value = Int32Sub(value, Int32Constant(delta)); in DecrementCounter()
7458 GotoIf(Word32Equal(Int32Constant(0), Int32Constant(1)), label); in Use()
7720 hash = Int32Add(Word32Xor(hash, Int32Constant(0xFFFFFFFF)), in ComputeIntegerHash()
7721 Word32Shl(hash, Int32Constant(15))); in ComputeIntegerHash()
7722 hash = Word32Xor(hash, Word32Shr(hash, Int32Constant(12))); in ComputeIntegerHash()
7723 hash = Int32Add(hash, Word32Shl(hash, Int32Constant(2))); in ComputeIntegerHash()
7724 hash = Word32Xor(hash, Word32Shr(hash, Int32Constant(4))); in ComputeIntegerHash()
7725 hash = Int32Mul(hash, Int32Constant(2057)); in ComputeIntegerHash()
7726 hash = Word32Xor(hash, Word32Shr(hash, Int32Constant(16))); in ComputeIntegerHash()
7727 return Word32And(hash, Int32Constant(0x3FFFFFFF)); in ComputeIntegerHash()
7815 GotoIfNot(Word32Equal(kind, Int32Constant(kData)), not_data); in BasicLoadNumberDictionaryElement()
7835 GotoIfNot(Word32Equal(kind, Int32Constant(kData)), not_data); in BasicStoreNumberDictionaryElement()
7990 [=] { return Unsigned(Int32Constant(0)); }, in NumberOfEntries()
8001 TNode<Int32T> entry_size = Int32Constant(Array::kEntrySize); in EntryIndexToIndex()
8065 TVARIABLE(Uint32T, var_low, Unsigned(Int32Constant(0))); in LookupBinary()
8067 Unsigned(Int32Sub(NumberOfEntries<Array>(array), Int32Constant(1))); in LookupBinary()
8070 CSA_ASSERT(this, Word32NotEqual(hash, Int32Constant(0))); in LookupBinary()
8098 var_low = Unsigned(Int32Add(mid, Int32Constant(1))); in LookupBinary()
8124 var_low = Unsigned(Int32Add(var_low.value(), Int32Constant(1))); in LookupBinary()
8180 GotoIf(Word32Equal(number_of_valid_entries, Int32Constant(0)), if_not_found); in Lookup()
8184 Int32Constant(kMaxElementsForLinearSearch)), in Lookup()
8329 Branch(Word32Equal(location, Int32Constant(kField)), &if_in_field, in LoadPropertyFromFastObject()
8354 Int32Constant(Representation::kDouble)), in LoadPropertyFromFastObject()
8382 Int32Constant(Representation::kDouble)), in LoadPropertyFromFastObject()
8461 GotoIf(Word32Equal(kind, Int32Constant(kData)), &done); in CallGetterIfAccessor()
8773 GotoIf(Word32Equal(first_char, Int32Constant('-')), if_maybe_special_index); in BranchIfMaybeSpecialIndex()
8775 GotoIf(Word32Equal(first_char, Int32Constant('I')), if_maybe_special_index); in BranchIfMaybeSpecialIndex()
8777 GotoIf(Word32Equal(first_char, Int32Constant('N')), if_maybe_special_index); in BranchIfMaybeSpecialIndex()
8780 GotoIf(Uint32LessThan(first_char, Int32Constant('0')), if_not_special_index); in BranchIfMaybeSpecialIndex()
8781 GotoIf(Uint32LessThan(Int32Constant('9'), first_char), if_not_special_index); in BranchIfMaybeSpecialIndex()
9112 feedback_vector, FeedbackVector::kProfilerTicksOffset, Int32Constant(0), in ReportFeedbackUpdate()
9334 Word32Equal(value, Word32And(Int32Constant(0xFF), value))); in StoreElement()
9354 Node* int32_zero = Int32Constant(0); in Int32ToUint8Clamped()
9355 Node* int32_255 = Int32Constant(255); in Int32ToUint8Clamped()
9368 VARIABLE(var_value, MachineRepresentation::kWord32, Int32Constant(0)); in Float64ToUint8Clamped()
9370 var_value.Bind(Int32Constant(255)); in Float64ToUint8Clamped()
9859 Int32Constant(0), in CreateAllocationSiteInFeedbackVector()
9864 site, AllocationSite::kPretenureCreateCountOffset, Int32Constant(0), in CreateAllocationSiteInFeedbackVector()
10599 Word32And(instance_type, Int32Constant(kIsNotInternalizedMask)), in CollectFeedbackForString()
10600 Int32Constant(kInternalizedTag)), in CollectFeedbackForString()
10798 GotoIf(Int32LessThan(left_type, Int32Constant(FIRST_NONSTRING_TYPE)), in Equal()
11552 Int32Constant(Map::IsCallableBit::kMask | Map::IsUndetectableBit::kMask)); in Typeof()
11555 Int32Constant(Map::IsCallableBit::kMask)), in Typeof()
11558 GotoIfNot(Word32Equal(callable_or_undetectable_mask, Int32Constant(0)), in Typeof()
11922 right32 = Word32And(right32, Int32Constant(0x1F)); in BitwiseOp()
11927 right32 = Word32And(right32, Int32Constant(0x1F)); in BitwiseOp()
11932 right32 = Word32And(right32, Int32Constant(0x1F)); in BitwiseOp()
12201 Int32Constant(LAST_FAST_ELEMENTS_KIND)); in IsFastElementsKind()
12209 return Word32Equal(Word32Shr(elements_kind, Int32Constant(1)), in IsDoubleElementsKind()
12210 Int32Constant(PACKED_DOUBLE_ELEMENTS / 2)); in IsDoubleElementsKind()
12218 Int32Constant(TERMINAL_FAST_ELEMENTS_KIND)); in IsFastSmiOrTaggedElementsKind()
12223 Int32Constant(HOLEY_SMI_ELEMENTS)); in IsFastSmiElementsKind()
12237 return Int32GreaterThan(target_kind, Int32Constant(reference_kind)); in IsElementsKindGreaterThan()
12244 return Word32NotEqual(is_debug_active, Int32Constant(0)); in IsDebugActive()
12251 return Word32NotEqual(flag_value, Int32Constant(0)); in IsRuntimeCallStatsEnabled()
12275 return Word32NotEqual(promise_hook_or_async_event_delegate, Int32Constant(0)); in IsPromiseHookEnabledOrHasAsyncEventDelegate()
12378 Word32Equal(data_type, Int32Constant(INTERPRETER_DATA_TYPE))); in GetSharedFunctionInfoCode()