Lines Matching refs:IntPtrConstant
215 return SelectConstant<IntPtrT>(condition, IntPtrConstant(true_value),
216 IntPtrConstant(false_value));
271 return IntPtrConstant(value);
284 return IntPtrConstant(value);
289 return Unsigned(IntPtrConstant(value));
294 return ReinterpretCast<RawPtrT>(IntPtrConstant(value));
320 CSA_DCHECK(this, UintPtrLessThanOrEqual(value, IntPtrConstant(0x80000000u)));
321 value = Signed(IntPtrSub(value, IntPtrConstant(1)));
323 value = Signed(WordOr(value, WordShr(value, IntPtrConstant(i))));
325 return Signed(IntPtrAdd(value, IntPtrConstant(1)));
336 IntPtrEqual(value, IntPtrConstant(0)),
337 [=] { return IntPtrConstant(1); },
338 [=] { return WordAnd(value, IntPtrSub(value, IntPtrConstant(1))); }),
339 IntPtrConstant(0));
699 IntPtrConstant(kSmiTagSize)));
705 BitcastWordToTaggedSigned(WordShl(value, IntPtrConstant(kSmiTagSize))));
713 IntPtrConstant(kSmiShiftSize)));
728 IntPtrConstant(kSmiShiftSize))));
760 IntPtrConstant(Smi::kMaxValue)));
773 return UintPtrLessThanOrEqual(value, IntPtrConstant(Smi::kMaxValue));
793 return IntPtrConstant(constant_value >> (kSmiShiftSize + kSmiTagSize));
1165 IntPtrConstant(kSmiTagMask | kSmiSignMask)),
1166 IntPtrConstant(0));
1262 GotoIfNot(WordAnd(top, IntPtrConstant(kDoubleAlignmentMask)), &next);
1264 adjusted_size = IntPtrAdd(size_in_bytes, IntPtrConstant(4));
1308 address = IntPtrAdd(UncheckedCast<IntPtrT>(top), IntPtrConstant(4));
1315 IntPtrAdd(address.value(), IntPtrConstant(kHeapObjectTag)));
1417 IntPtrConstant(kSystemPointerSize));
1435 return CodeStubAssembler::Allocate(IntPtrConstant(size_in_bytes), flags);
1440 return CodeStubAssembler::Allocate(IntPtrConstant(size_in_bytes), flags);
1445 IntPtrConstant(kMaxRegularHeapObjectSize));
1457 array_address, IntPtrConstant(WasmArray::kHeaderSize - kHeapObjectTag));
1459 array_address, IntPtrSub(size_in_bytes, IntPtrConstant(kHeapObjectTag)));
1573 return ReinterpretCast<RawPtrT>(IntPtrConstant(0));
1681 return LoadFullTagged(frame_pointer, IntPtrConstant(offset));
1737 IntPtrConstant(Internals::kMapWordXorMask)),
1738 IntPtrConstant(Internals::kMapWordSignature)));
2017 var_hash = IntPtrConstant(PropertyArray::kNoHashSentinel);
2053 IntPtrConstant(PropertyArray::kNoHashSentinel)),
2154 BitcastMaybeObjectToWord(value), IntPtrConstant(~kWeakHeapObjectMask))));
2177 IntPtrConstant(~kWeakHeapObjectMask)),
2196 IntPtrConstant(kWeakHeapObjectMask)));
2202 WordOr(BitcastTaggedToWord(value), IntPtrConstant(kWeakHeapObjectTag))));
2224 IntPtrConstant(DescriptorArray::kEntrySize));
2244 IntPtrConstant(0)));
2316 IntPtrAdd(index, IntPtrConstant(additional_offset / kTaggedSize));
2368 data_pointer, IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)));
2372 data_pointer, IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)));
2388 GotoIf(IntPtrEqual(var_high.value(), IntPtrConstant(0)), &high_zero);
2389 Branch(IntPtrLessThan(var_high.value(), IntPtrConstant(0)), &negative,
2393 Branch(IntPtrEqual(var_low.value(), IntPtrConstant(0)), &if_zero,
2402 var_high = IntPtrSub(IntPtrConstant(0), var_high.value());
2404 Branch(IntPtrEqual(var_low.value(), IntPtrConstant(0)), &no_carry, &carry);
2406 var_high = IntPtrSub(var_high.value(), IntPtrConstant(1));
2409 var_low = IntPtrSub(IntPtrConstant(0), var_low.value());
2412 Branch(IntPtrEqual(var_high.value(), IntPtrConstant(0)),
2418 var_result = AllocateRawBigInt(IntPtrConstant(1));
2428 var_result = AllocateRawBigInt(IntPtrConstant(2));
2438 var_result = AllocateBigInt(IntPtrConstant(0));
2449 GotoIf(IntPtrEqual(value, IntPtrConstant(0)), &if_zero);
2450 var_result = AllocateRawBigInt(IntPtrConstant(1));
2451 Branch(IntPtrGreaterThan(value, IntPtrConstant(0)), &if_positive,
2469 Unsigned(IntPtrSub(IntPtrConstant(0), value)));
2475 var_result = AllocateBigInt(IntPtrConstant(0));
2494 data_pointer, IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)));
2498 data_pointer, IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)));
2510 GotoIf(IntPtrEqual(high, IntPtrConstant(0)), &high_zero);
2511 var_result = AllocateBigInt(IntPtrConstant(2));
2517 GotoIf(IntPtrEqual(low, IntPtrConstant(0)), &if_zero);
2518 var_result = AllocateBigInt(IntPtrConstant(1));
2523 var_result = AllocateBigInt(IntPtrConstant(0));
2534 GotoIf(IntPtrEqual(value, IntPtrConstant(0)), &if_zero);
2535 var_result = AllocateBigInt(IntPtrConstant(1));
2540 var_result = AllocateBigInt(IntPtrConstant(0));
2771 base, IntPtrAdd(offset, IntPtrConstant(kIeeeDoubleExponentWordOffset)));
2804 IntPtrConstant(offset), value);
2879 IntPtrAdd(IntPtrConstant(Context::FIRST_JS_ARRAY_MAP_SLOT),
3001 IntPtrConstant(offset - kHeapObjectTag), value);
3034 Store(object, IntPtrSub(offset, IntPtrConstant(kHeapObjectTag)), value);
3059 IntPtrSub(offset, IntPtrConstant(kHeapObjectTag)),
3406 IntPtrAdd(IntPtrConstant(BigInt::kHeaderSize),
3440 IntPtrAdd(IntPtrConstant(BigInt::kDigitsOffset),
3441 IntPtrMul(digit_index, IntPtrConstant(kSystemPointerSize)));
3462 IntPtrAdd(IntPtrConstant(BigInt::kDigitsOffset),
3463 IntPtrMul(digit_index, IntPtrConstant(kSystemPointerSize)));
3469 CSA_DCHECK(this, WordNotEqual(length, IntPtrConstant(0)));
3478 WordAnd(raw_size, IntPtrConstant(~kObjectAlignmentMask));
3506 WordAnd(raw_size, IntPtrConstant(~kObjectAlignmentMask));
3507 Branch(IntPtrLessThanOrEqual(size, IntPtrConstant(kMaxRegularHeapObjectSize)),
3612 return AllocateNameDictionary(IntPtrConstant(at_least_space_for));
3619 IntPtrConstant(NameDictionary::kMaxCapacity)));
3627 CSA_DCHECK(this, IntPtrGreaterThan(capacity, IntPtrConstant(0)));
3630 TimesTaggedSize(length), IntPtrConstant(NameDictionary::kHeaderSize));
3666 result_word, IntPtrConstant(NameDictionary::OffsetOfElementAt(
3670 result_word, IntPtrSub(store_size, IntPtrConstant(kHeapObjectTag)));
3685 CSA_DCHECK(this, IntPtrGreaterThanOrEqual(capacity, IntPtrConstant(0)));
3687 capacity, IntPtrConstant(NameDictionary::kMaxRegularCapacity)),
3702 IntPtrMax(capacity, IntPtrConstant(CollectionType::kInitialCapacity));
3712 capacity, IntPtrConstant(CollectionType::kInitialCapacity)));
3715 capacity, IntPtrConstant(CollectionType::MaxCapacity())));
3718 TNode<IntPtrT> bucket_count = Signed(WordShr(capacity, IntPtrConstant(1)));
3720 IntPtrMul(capacity, IntPtrConstant(CollectionType::kEntrySize));
3723 IntPtrConstant(CollectionType::HashTableStartIndex()), bucket_count);
3778 IntPtrConstant(FixedArray::OffsetOfElementAt(
3791 IntPtrAdd(IntPtrConstant(FixedArray::kHeaderSize - kHeapObjectTag),
3802 array_length, IntPtrConstant(CollectionType::HashTableStartIndex()));
3806 capacity, IntPtrConstant(CollectionType::kEntrySize))));
3828 return AllocateOrderedNameDictionary(IntPtrConstant(capacity));
3833 IntPtrConstant(OrderedHashSet::kInitialCapacity));
3838 IntPtrConstant(OrderedHashMap::kInitialCapacity));
3897 InitializeFieldsWithRoot(object, IntPtrConstant(start_offset), instance_size,
3939 InitializeFieldsWithRoot(object, IntPtrConstant(start_offset), used_size,
4006 TNode<IntPtrT> size = IntPtrConstant(base_size);
4022 csa->BitcastTaggedToWord(js_array), csa->IntPtrConstant(offset))));
4053 Branch(WordEqual(capacity, IntPtrConstant(0)), &empty, &nonempty);
4126 CSA_DCHECK(this, WordNotEqual(capacity, IntPtrConstant(0)));
4153 InitializeAllocationMemento(array, IntPtrConstant(JSArray::kHeaderSize),
4174 Branch(WordEqual(capacity, IntPtrConstant(0)), &out, &nonempty);
4178 FillFixedArrayWithValue(kind, elements, IntPtrConstant(0), capacity,
4426 Load<IntPtrT>(object_page, IntPtrConstant(Page::kFlagsOffset));
4431 IntPtrConstant(MemoryChunk::kIsInYoungGenerationMask)),
4432 IntPtrConstant(0)));
4443 CopyElements(to_kind, to_elements, IntPtrConstant(0), source,
4495 IntPtrConstant(first_element_offset));
4509 IntPtrSub(var_from_offset.value(), IntPtrConstant(kDoubleSize));
4622 CopyElements(kind, to_elements, IntPtrConstant(0), source,
4656 CSA_DCHECK(this, IntPtrGreaterThan(length, IntPtrConstant(0)));
4659 length, IntPtrConstant(PropertyArray::LengthField::kMax)));
4666 CSA_DCHECK(this, IntPtrGreaterThan(capacity, IntPtrConstant(0)));
4750 IntPtrAdd(offset, IntPtrConstant(kInt32Size)),
4775 IntPtrConstant(fa_base_data_offset));
4783 std::make_pair(MachineType::IntPtr(), IntPtrConstant(0)),
4797 IntPtrConstant(fa_base_data_offset));
4805 std::make_pair(MachineType::IntPtr(), IntPtrConstant(0)),
4815 MachineType::IntPtr(), object_page, IntPtrConstant(Page::kFlagsOffset)));
4818 IntPtrConstant(
4820 IntPtrConstant(0)),
4854 IntPtrMul(length, IntPtrConstant(ElementsKindToByteSize(kind)));
4882 IntPtrConstant(ElementsKindToByteSize(kind)));
4891 Branch(IntPtrLessThan(delta, IntPtrConstant(0)), &iterate_forward,
4937 IntPtrEqual(length, IntPtrConstant(0))));
4946 IntPtrMul(length, IntPtrConstant(ElementsKindToByteSize(kind)));
4975 IntPtrConstant(ElementsKindToByteSize(kind)));
5058 first_from_element_offset, IntPtrConstant(first_element_offset)));
5087 IntPtrConstant(from_double_elements ? kDoubleSize : kTaggedSize)));
5096 IntPtrConstant(to_double_elements ? kDoubleSize : kTaggedSize));
5154 IntPtrAdd(to_offset, IntPtrConstant(kInt32Size)),
5204 TNode<IntPtrT> start = IntPtrConstant(0);
7009 IntPtrConstant(BasicMemoryChunk::kFlagsOffset)));
7052 var_result = Load<Uint16T>(string_data, WordShl(offset, IntPtrConstant(1)));
7096 IntPtrConstant(SeqOneByteString::kHeaderSize - kHeapObjectTag), code);
7116 IntPtrConstant(SeqTwoByteString::kHeaderSize - kHeapObjectTag), code);
7130 var_offset_(IntPtrConstant(0), this),
7237 result = RawPtrAdd(result, IntPtrConstant(SeqOneByteString::kHeaderSize -
7252 result = RawPtrSub(result, IntPtrConstant(SeqOneByteString::kHeaderSize -
7372 IntPtrConstant(kFullCacheSize)),
7385 IntPtrAdd(entry_index, IntPtrConstant(1)),
7942 IntPtrConstant(mask >> shift)));
8110 CSA_DCHECK(this, IntPtrLessThan(index, IntPtrConstant(INT_MAX)));
8205 GotoIf(IntPtrEqual(word_result, IntPtrConstant(ResultSentinel::kNotFound)),
8207 GotoIf(IntPtrEqual(word_result, IntPtrConstant(ResultSentinel::kUnsupported)),
8221 IntPtrMul(entry, IntPtrConstant(Dictionary::kEntrySize));
8222 return IntPtrAdd(entry_index, IntPtrConstant(Dictionary::kElementsStartIndex +
8266 IntPtrConstant(DescriptorArray::kEntrySize));
8279 container, IntPtrConstant(0),
8294 container, DescriptorArray::kHeaderSize, IntPtrConstant(0),
8308 container, IntPtrConstant(0),
8446 return IntPtrMax(capacity, IntPtrConstant(HashTableBase::kMinCapacity));
8455 return IntPtrConstant(std::max(left_constant, right_constant));
8467 return IntPtrConstant(std::min(left_constant, right_constant));
8535 TNode<IntPtrT> mask = IntPtrSub(capacity, IntPtrConstant(1));
8539 TNode<IntPtrT> count = IntPtrConstant(0);
8544 *var_name_index = IntPtrConstant(0);
8625 TNode<IntPtrT> mask = IntPtrSub(capacity, IntPtrConstant(1));
8631 TNode<IntPtrT> count = IntPtrConstant(0);
8870 TNode<IntPtrT> first_inclusive = IntPtrConstant(Array::ToKeyIndex(0));
8871 TNode<IntPtrT> factor = IntPtrConstant(Array::kEntrySize);
8900 UintPtrLessThan(length, IntPtrConstant(TransitionArray::kFirstIndex)),
8905 IntPtrConstant(TransitionArray::kTransitionLengthIndex)));
8919 return IntPtrAdd(IntPtrConstant(Array::ToKeyIndex(0)),
9762 creation_context, getter, IntPtrConstant(i::JSParameterCount(0)),
10039 GotoIf(UintPtrLessThan(IntPtrConstant(JSObject::kMaxElementIndex),
10043 GotoIf(IntPtrLessThan(intptr_index, IntPtrConstant(0)), if_bailout);
10085 GotoIf(UintPtrLessThan(IntPtrConstant(JSObject::kMaxElementIndex),
10089 GotoIf(IntPtrLessThan(intptr_index, IntPtrConstant(0)), if_bailout);
10402 return IntPtrConstant(base_size + element_size * index);
10410 IntPtrConstant(element_size_shift))
10412 IntPtrConstant(-element_size_shift)));
10413 return IntPtrAdd(IntPtrConstant(base_size), Signed(shifted_index));
10507 IntPtrConstant(StandardFrameConstants::kFunctionOffset)));
10723 IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)),
10732 IntPtrAdd(offset, IntPtrConstant(kSystemPointerSize)),
11085 *var_low = Unsigned(IntPtrConstant(0));
11086 *var_high = Unsigned(IntPtrConstant(0));
11102 *var_high = Unsigned(IntPtrSub(IntPtrConstant(0), var_high->value()));
11104 GotoIf(IntPtrEqual(var_low->value(), IntPtrConstant(0)), &no_carry);
11105 *var_high = Unsigned(IntPtrSub(var_high->value(), IntPtrConstant(1)));
11109 *var_low = Unsigned(IntPtrSub(IntPtrConstant(0), var_low->value()));
11419 GotoIf(IntPtrLessThan(key, IntPtrConstant(0)), bailout);
11433 TNode<IntPtrT> new_length = IntPtrAdd(key, IntPtrConstant(1));
11497 CSA_DCHECK(this, WordNotEqual(elements_length, IntPtrConstant(0)));
11528 Load<IntPtrT>(object_page, IntPtrConstant(Page::kFlagsOffset));
11531 IntPtrConstant(MemoryChunk::kIsInYoungGenerationMask)),
11532 IntPtrConstant(0)),
11537 IntPtrConstant(MemoryChunk::kIsLargePageMask)),
11538 IntPtrConstant(0)),
11543 object_word, IntPtrConstant(kMementoLastWordOffset - kHeapObjectTag));
11583 return WordAnd(address, IntPtrConstant(~kPageAlignmentMask));
11588 TNode<IntPtrT> size = IntPtrConstant(AllocationSite::kSizeWithWeakNext);
11593 IntPtrConstant(0), UintPtrConstant(GetInitialFastElementsKind()));
11750 TNode<IntPtrT> index = IntPtrConstant(i);
11757 TNode<IntPtrT> index = IntPtrConstant(i);
11793 start_offset = IntPtrAdd(start_offset, IntPtrConstant(-kHeapObjectTag));
11794 end_offset = IntPtrAdd(end_offset, IntPtrConstant(-kHeapObjectTag));
13541 IntPtrConstant(kInvalidEnumCacheSentinel)));
14325 result = IntPtrConstant(1);
14330 result = IntPtrConstant(2);
14335 result = IntPtrConstant(4);
14340 result = IntPtrConstant(8);
14377 TNode<IntPtrT> offset = assembler_->IntPtrConstant(
14388 return assembler_->LoadFullTagged(base_, assembler_->IntPtrConstant(offset));
14394 base_, assembler_->IntPtrConstant(offset), object);
14410 return AtIndex(assembler_->IntPtrConstant(index));
14415 argc_, assembler_->IntPtrConstant(kJSArgcReceiverSlots));
14448 first = assembler_->IntPtrConstant(0);
14574 return WordNotEqual(async_event_delegate, IntPtrConstant(0));
14768 cdc, IntPtrConstant(CodeDataContainer::kCodeEntryPointOffset),
14773 IntPtrAdd(object, IntPtrConstant(Code::kHeaderSize - kHeapObjectTag)));
14842 Branch(WordEqual(object_enum_length, IntPtrConstant(0)), &loop, if_slow);
14856 IntPtrConstant(kInvalidEnumCacheSentinel)),
14915 argc = IntPtrAdd(argc, IntPtrConstant(kJSArgcReceiverSlots));
15214 IntPtrConstant(key_index), &var_details,
15250 return Load(meta_table, csa.IntPtrConstant(index));
15270 Store(meta_table, csa.IntPtrConstant(index), data);
15286 csa.IntPtrConstant(offset_to_data_minus_tag + index_offset);
15289 csa.IntPtrMul(index, csa.IntPtrConstant(size));
15291 csa.IntPtrConstant(offset_to_data_minus_tag), index_offset);
15298 byte_array_data_bytes, csa.IntPtrConstant(offset_to_data_minus_tag));
15329 csa->IntPtrConstant(SwissNameDictionary::kMax1ByteMetaTableCapacity)),
15334 csa->IntPtrConstant(SwissNameDictionary::kMax2ByteMetaTableCapacity)),
15387 IntPtrConstant(SwissNameDictionary::kMetaTableEnumerationDataStartIndex),
15454 IntPtrMax(IntPtrConstant(SwissNameDictionary::kInitialCapacity),
15462 return AllocateSwissNameDictionary(IntPtrConstant(at_least_space_for));
15472 IntPtrConstant(SwissNameDictionary::kInitialCapacity)));
15475 capacity, IntPtrConstant(SwissNameDictionary::MaxCapacity())));
15484 capacity, IntPtrConstant(SwissNameDictionary::MaxCapacity())),
15544 IntPtrAdd(capacity, IntPtrConstant(SwissNameDictionary::kGroupWidth));
15579 IntPtrConstant(SwissNameDictionary::kDataTableEntryCount * kTaggedSize),
15635 IntPtrAdd(capacity, IntPtrConstant(SwissNameDictionary::kGroupWidth));
15654 IntPtrConstant(SwissNameDictionary::DataTableStartOffset());
15656 IntPtrConstant(SwissNameDictionary::kDataTableEntryCount * kTaggedSize),
15680 IntPtrConstant(ByteArray::kHeaderSize - kHeapObjectTag));
15683 IntPtrConstant(ByteArray::kHeaderSize - kHeapObjectTag));
15695 IntPtrConstant(0));
15733 IntPtrConstant(kOneByteSize));
15749 IntPtrConstant(SwissNameDictionary::kDataTableEntryCount * kTaggedSize));
15753 offset_within_data_table, IntPtrConstant(field_index * kTaggedSize));
15769 TNode<IntPtrT> gw = IntPtrConstant(SwissNameDictionary::kGroupWidth);
15772 IntPtrConstant(kOneByteSize +
15785 IntPtrConstant(kHeapObjectTag))));
15842 IntPtrAdd(key_offset_minus_tag, IntPtrConstant(kTaggedSize));
15850 TNode<Uint64T> data = UnalignedLoad<Uint64T>(ptr, IntPtrConstant(0));
15888 TNode<IntPtrT> one = IntPtrConstant(1);
15900 TNode<IntPtrT> group_width = IntPtrConstant(SwissNameDictionary::kGroupWidth);
15966 IntPtrConstant(BasicMemoryChunk::READ_ONLY_HEAP)),
15967 IntPtrConstant(0)),
15982 IntPtrConstant(BasicMemoryChunk::IN_SHARED_HEAP)),
15983 IntPtrConstant(0)),
16002 IntPtrConstant(BasicMemoryChunk::READ_ONLY_HEAP |
16004 IntPtrConstant(0)));