Lines Matching refs:IntPtrConstant
90 return IntPtrConstant(value); in IntPtrOrSmiConstant()
101 return IntPtrConstant(left_constant + right_constant); in IntPtrAddFoldConstants()
121 return IntPtrConstant(left_constant - right_constant); in IntPtrSubFoldConstants()
133 CSA_ASSERT(this, UintPtrLessThanOrEqual(value, IntPtrConstant(0x80000000u))); in IntPtrRoundUpToPowerOfTwo32()
134 value = IntPtrSub(value, IntPtrConstant(1)); in IntPtrRoundUpToPowerOfTwo32()
136 value = WordOr(value, WordShr(value, IntPtrConstant(i))); in IntPtrRoundUpToPowerOfTwo32()
138 return IntPtrAdd(value, IntPtrConstant(1)); in IntPtrRoundUpToPowerOfTwo32()
144 Select(WordEqual(value, IntPtrConstant(0)), IntPtrConstant(1), in WordIsPowerOfTwo()
145 WordAnd(value, IntPtrSub(value, IntPtrConstant(1))), in WordIsPowerOfTwo()
147 IntPtrConstant(0)); in WordIsPowerOfTwo()
369 return IntPtrConstant(kSmiShiftSize + kSmiTagSize); in SmiShiftBitsConstant()
569 return WordEqual(WordAnd(BitcastTaggedToWord(a), IntPtrConstant(kSmiTagMask)), in TaggedIsSmi()
570 IntPtrConstant(0)); in TaggedIsSmi()
574 return WordEqual(WordAnd(a, IntPtrConstant(kSmiTagMask | kSmiSignMask)), in WordIsPositiveSmi()
575 IntPtrConstant(0)); in WordIsPositiveSmi()
579 return WordEqual(IntPtrConstant(0), in WordIsWordAligned()
580 WordAnd(word, IntPtrConstant((1 << kPointerSizeLog2) - 1))); in WordIsWordAligned()
607 Load(MachineType::Float32(), lhs, IntPtrConstant(offset)); in BranchIfSimd128Equal()
609 Load(MachineType::Float32(), rhs, IntPtrConstant(offset)); in BranchIfSimd128Equal()
632 Load(MachineType::Pointer(), lhs, IntPtrConstant(offset)); in BranchIfSimd128Equal()
634 Load(MachineType::Pointer(), rhs, IntPtrConstant(offset)); in BranchIfSimd128Equal()
761 IntPtrAdd(no_runtime_result, IntPtrConstant(kHeapObjectTag))); in AllocateRawUnaligned()
780 Branch(WordAnd(top, IntPtrConstant(kDoubleAlignmentMask)), ¬_aligned, in AllocateRawAligned()
785 IntPtrAdd(size_in_bytes, IntPtrConstant(kPointerSize)); in AllocateRawAligned()
810 IntPtrAdd(address.value(), IntPtrConstant(kPointerSize)))); in AllocateRawAligned()
845 return CodeStubAssembler::Allocate(IntPtrConstant(size_in_bytes), flags); in Allocate()
853 return InnerAllocate(previous, IntPtrConstant(offset)); in InnerAllocate()
858 IntPtrConstant(kMaxRegularHeapObjectSize)); in IsRegularHeapObjectSize()
934 return Load(rep, frame_pointer, IntPtrConstant(offset)); in LoadFromFrame()
940 return Load(rep, frame_pointer, IntPtrConstant(offset)); in LoadFromParentFrame()
945 return Load(rep, buffer, IntPtrConstant(offset)); in LoadBufferObject()
950 return Load(rep, object, IntPtrConstant(offset - kHeapObjectTag)); in LoadObjectField()
955 return Load(rep, object, IntPtrSub(offset, IntPtrConstant(kHeapObjectTag))); in LoadObjectField()
989 Load(MachineType::Int32(), base, IntPtrConstant(index))); in LoadAndUntagSmi()
992 Load(MachineType::AnyTagged(), base, IntPtrConstant(index))); in LoadAndUntagSmi()
1005 return Load(MachineType::Int32(), roots_array_start, IntPtrConstant(index)); in LoadAndUntagToWord32Root()
1008 IntPtrConstant(index))); in LoadAndUntagToWord32Root()
1183 GotoIf(WordEqual(value, IntPtrConstant(0)), if_cleared); in LoadWeakCellValue()
1279 IntPtrAdd(offset, IntPtrConstant(kIeeeDoubleExponentWordOffset))); in LoadDoubleWithHoleCheck()
1293 return Load(MachineType::AnyTagged(), context, IntPtrConstant(offset)); in LoadContextElement()
1299 IntPtrConstant(Context::kHeaderSize - kHeapObjectTag)); in LoadContextElement()
1306 return Store(MachineRepresentation::kTagged, context, IntPtrConstant(offset), in StoreContextElement()
1314 IntPtrConstant(Context::kHeaderSize - kHeapObjectTag)); in StoreContextElement()
1326 IntPtrConstant(Context::ArrayMapIndex(kind))); in LoadJSArrayElementsMap()
1337 IntPtrConstant(offset - kHeapObjectTag), value); in StoreObjectField()
1347 IntPtrSub(offset, IntPtrConstant(kHeapObjectTag)), value); in StoreObjectField()
1353 IntPtrConstant(offset - kHeapObjectTag), value); in StoreObjectFieldNoWriteBarrier()
1363 rep, object, IntPtrSub(offset, IntPtrConstant(kHeapObjectTag)), value); in StoreObjectFieldNoWriteBarrier()
1369 IntPtrConstant(HeapNumber::kMapOffset - kHeapObjectTag), map); in StoreMapNoWriteBarrier()
1434 IntPtrConstant(String::kEmptyHashField), in AllocateSeqOneByteString()
1451 Node* size = WordAnd(raw_size, IntPtrConstant(~kObjectAlignmentMask)); in AllocateSeqOneByteString()
1452 Branch(IntPtrLessThanOrEqual(size, IntPtrConstant(kMaxRegularHeapObjectSize)), in AllocateSeqOneByteString()
1465 IntPtrConstant(String::kEmptyHashField), in AllocateSeqOneByteString()
1494 IntPtrConstant(String::kEmptyHashField), in AllocateSeqTwoByteString()
1511 Node* size = WordAnd(raw_size, IntPtrConstant(~kObjectAlignmentMask)); in AllocateSeqTwoByteString()
1512 Branch(IntPtrLessThanOrEqual(size, IntPtrConstant(kMaxRegularHeapObjectSize)), in AllocateSeqTwoByteString()
1525 IntPtrConstant(String::kEmptyHashField), in AllocateSeqTwoByteString()
1647 IntPtrConstant(kStringEncodingMask | kOneByteDataHintTag)), in NewConsString()
1648 IntPtrConstant(0)), in NewConsString()
1651 IntPtrConstant(kStringEncodingMask | in NewConsString()
1653 IntPtrConstant(kOneByteStringTag | kOneByteDataHintTag)), in NewConsString()
1700 Node* const zero = IntPtrConstant(0); in AllocateRegExpResult()
1717 return AllocateNameDictionary(IntPtrConstant(at_least_space_for)); in AllocateNameDictionary()
1723 IntPtrConstant(NameDictionary::kMaxCapacity))); in AllocateNameDictionary()
1730 IntPtrAddFoldConstants(WordShl(length, IntPtrConstant(kPointerSizeLog2)), in AllocateNameDictionary()
1731 IntPtrConstant(NameDictionary::kHeaderSize)); in AllocateNameDictionary()
1759 result, IntPtrConstant(NameDictionary::OffsetOfElementAt( in AllocateNameDictionary()
1764 IntPtrSubFoldConstants(store_size, IntPtrConstant(kHeapObjectTag))); in AllocateNameDictionary()
1773 IntPtrMul(LoadMapInstanceSize(map), IntPtrConstant(kPointerSize)); in AllocateJSObjectFromMap()
1810 IntPtrAdd(object, IntPtrConstant(start_offset - kHeapObjectTag)); in InitializeJSObjectBody()
1812 IntPtrSub(IntPtrAdd(object, size), IntPtrConstant(kHeapObjectTag)); in InitializeJSObjectBody()
1838 Node* size = IntPtrConstant(base_size); in AllocateUninitializedJSArrayWithoutElements()
1913 : IntPtrConstant(0), in AllocateJSArray()
1977 assembler->IntPtrConstant(kPointerSize)), in FillFixedArrayWithValue()
2049 IntPtrConstant(from_double_elements ? kDoubleSize : kPointerSize)); in CopyFixedArrayElements()
2058 IntPtrConstant(to_double_elements ? kDoubleSize : kPointerSize)); in CopyFixedArrayElements()
2106 IntPtrAdd(to_offset, IntPtrConstant(kPointerSize)), in CopyFixedArrayElements()
2178 assembler->IntPtrConstant(to_increment))); in CopyStringCharacters()
2215 Node* half_old_capacity = WordShr(old_capacity, IntPtrConstant(1)); in CalculateNewElementsCapacity()
2224 IntPtrConstant(static_cast<size_t>(-1) << kSmiShiftBits)); in CalculateNewElementsCapacity()
2851 IntPtrAdd(index, IntPtrConstant(SeqOneByteString::kHeaderSize - in StringCharCodeAt()
2860 IntPtrAdd(WordShl(index, IntPtrConstant(1)), in StringCharCodeAt()
2861 IntPtrConstant(SeqTwoByteString::kHeaderSize - in StringCharCodeAt()
2946 WordShl(index, IntPtrConstant(1)))); in StringCharCodeAt()
3007 IntPtrConstant(SeqOneByteString::kHeaderSize - kHeapObjectTag), code); in StringFromCharCode()
3027 IntPtrConstant(SeqTwoByteString::kHeaderSize - kHeapObjectTag), code); in StringFromCharCode()
3267 IntPtrConstant(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in SubString()
3328 GotoIf(WordNotEqual(IntPtrConstant(0), left_length), &check_right); in StringAdd()
3334 GotoIf(WordNotEqual(IntPtrConstant(0), right_length), &cons); in StringAdd()
3365 WordAnd(xored_instance_types, IntPtrConstant(kStringEncodingMask)), in StringAdd()
3366 IntPtrConstant(0)), in StringAdd()
3369 IntPtrConstant(kStringRepresentationMask)), in StringAdd()
3370 IntPtrConstant(0)), in StringAdd()
3375 WordAnd(ored_instance_types, IntPtrConstant(kStringEncodingMask)), in StringAdd()
3376 IntPtrConstant(kTwoByteStringTag)), in StringAdd()
3431 Node* const one_byte_char_mask = IntPtrConstant(0xFF); in StringIndexOfChar()
3452 Node* const begin = IntPtrConstant(offset); in StringIndexOfChar()
3530 IntPtrConstant(SeqTwoByteString::kHeaderSize - kHeapObjectTag), in StringFromCodePoint()
3579 Node* one = IntPtrConstant(1); in NumberToString()
3985 return WordShr(WordAnd(word, IntPtrConstant(mask)), static_cast<int>(shift)); in DecodeWord()
4063 Node* entry_index = IntPtrMul(entry, IntPtrConstant(Dictionary::kEntrySize)); in EntryToIndex()
4064 return IntPtrAdd(entry_index, IntPtrConstant(Dictionary::kElementsStartIndex + in EntryToIndex()
4073 WordShl(at_least_space_for, IntPtrConstant(1))); in HashTableComputeCapacity()
4074 return IntPtrMax(capacity, IntPtrConstant(HashTableBase::kMinCapacity)); in HashTableComputeCapacity()
4093 dictionary, IntPtrConstant(Dictionary::kCapacityIndex), 0, in NameDictionaryLookup()
4095 Node* mask = IntPtrSub(capacity, IntPtrConstant(1)); in NameDictionaryLookup()
4099 Node* count = IntPtrConstant(0); in NameDictionaryLookup()
4111 count = IntPtrConstant(i + 1); in NameDictionaryLookup()
4138 count = IntPtrAdd(count, IntPtrConstant(1)); in NameDictionaryLookup()
4178 dictionary, IntPtrConstant(Dictionary::kCapacityIndex), 0, in NumberDictionaryLookup()
4180 Node* mask = IntPtrSub(capacity, IntPtrConstant(1)); in NumberDictionaryLookup()
4192 Node* count = IntPtrConstant(0); in NumberDictionaryLookup()
4234 count = IntPtrAdd(count, IntPtrConstant(1)); in NumberDictionaryLookup()
4248 Node* first_inclusive = IntPtrConstant(DescriptorArray::ToKeyIndex(0)); in DescriptorLookupLinear()
4249 Node* factor = IntPtrConstant(DescriptorArray::kDescriptorSize); in DescriptorLookupLinear()
4298 GotoIf(UintPtrGreaterThan(nof, IntPtrConstant(kMaxLinear)), if_bailout); in TryLookupProperty()
4406 IntPtrConstant(kPointerSize)); in LoadPropertyFromFastObject()
4689 GotoIf(IntPtrLessThan(intptr_index, IntPtrConstant(0)), if_bailout); in TryLookupElement()
4718 GotoIf(IntPtrLessThan(intptr_index, IntPtrConstant(0)), if_bailout); in TryLookupElement()
4998 return IntPtrConstant(base_size + element_size * index); in ElementOffsetFromIndex()
5008 ? WordShl(index_node, IntPtrConstant(element_size_shift)) in ElementOffsetFromIndex()
5009 : WordShr(index_node, IntPtrConstant(-element_size_shift))); in ElementOffsetFromIndex()
5010 return IntPtrAddFoldConstants(IntPtrConstant(base_size), shifted_index); in ElementOffsetFromIndex()
5070 IntPtrAdd(offset, IntPtrConstant(header_size))); in TryMonomorphicCase()
5080 IntPtrAdd(offset, IntPtrConstant(header_size + kPointerSize))); in TryMonomorphicCase()
5099 feedback, IntPtrConstant(i * kEntrySize), 0, INTPTR_PARAMETERS)); in HandlePolymorphicCase()
5104 feedback, IntPtrConstant(i * kEntrySize + 1), 0, INTPTR_PARAMETERS); in HandlePolymorphicCase()
5112 Node* init = IntPtrConstant(unroll_count * kEntrySize); in HandlePolymorphicCase()
5146 Node* init = IntPtrConstant(0); in HandleKeyedStorePolymorphicCase()
5232 entry_offset = IntPtrMul(entry_offset, IntPtrConstant(kMultiplier)); in TryProbeStubCacheTable()
5245 IntPtrAdd(entry_offset, IntPtrConstant(kPointerSize * 2))); in TryProbeStubCacheTable()
5251 IntPtrAdd(entry_offset, IntPtrConstant(kPointerSize))); in TryProbeStubCacheTable()
5348 IntPtrGreaterThan(elements_kind, IntPtrConstant(LAST_FAST_ELEMENTS_KIND)), in EmitElementLoad()
5410 IntPtrConstant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)), in EmitElementLoad()
5412 GotoIf(IntPtrEqual(elements_kind, IntPtrConstant(DICTIONARY_ELEMENTS)), in EmitElementLoad()
5420 GotoIf(IntPtrLessThan(intptr_index, IntPtrConstant(0)), out_of_bounds); in EmitElementLoad()
5495 Node* index = WordShl(intptr_index, IntPtrConstant(1)); in EmitElementLoad()
5501 Node* index = WordShl(intptr_index, IntPtrConstant(1)); in EmitElementLoad()
5507 Node* index = WordShl(intptr_index, IntPtrConstant(2)); in EmitElementLoad()
5514 Node* index = WordShl(intptr_index, IntPtrConstant(2)); in EmitElementLoad()
5521 Node* index = WordShl(intptr_index, IntPtrConstant(2)); in EmitElementLoad()
5529 Node* index = WordShl(intptr_index, IntPtrConstant(3)); in EmitElementLoad()
5589 WordEqual(handler_kind, IntPtrConstant(LoadHandler::kForElements)), in HandleLoadICSmiHandlerCase()
5632 Branch(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kForFields)), in HandleLoadICSmiHandlerCase()
5718 GotoIf(WordEqual(validity_cell, IntPtrConstant(0)), in HandleLoadICProtoHandler()
5760 CSA_ASSERT(this, WordNotEqual(holder, IntPtrConstant(0))); in HandleLoadICProtoHandler()
5810 start_index.Bind(IntPtrConstant(LoadHandler::kFirstPrototypeIndex)); in EmitLoadICProtoArrayCheck()
5817 start_index.Bind(IntPtrConstant(LoadHandler::kFirstPrototypeIndex + 1)); in EmitLoadICProtoArrayCheck()
5849 handler, IntPtrConstant(LoadHandler::kHolderCellIndex), 0, in EmitLoadICProtoArrayCheck()
5861 CSA_ASSERT(this, WordNotEqual(holder, IntPtrConstant(0))); in EmitLoadICProtoArrayCheck()
6063 GotoIf(IntPtrLessThan(index, IntPtrConstant(0)), &slow); in KeyedLoadICGeneric()
6100 GotoIf(UintPtrGreaterThan(nof, IntPtrConstant(kMaxLinear)), &stub_cache); in KeyedLoadICGeneric()
6228 IntPtrConstant(StoreHandler::kTransitionToField)), in HandleStoreICSmiHandlerCase()
6230 IntPtrConstant(StoreHandler::kTransitionToConstant)))); in HandleStoreICSmiHandlerCase()
6233 IntPtrConstant(StoreHandler::kStoreField))); in HandleStoreICSmiHandlerCase()
6243 GotoIf(WordEqual(field_representation, IntPtrConstant(StoreHandler::kTagged)), in HandleStoreICSmiHandlerCase()
6246 IntPtrConstant(StoreHandler::kHeapObject)), in HandleStoreICSmiHandlerCase()
6248 GotoIf(WordEqual(field_representation, IntPtrConstant(StoreHandler::kDouble)), in HandleStoreICSmiHandlerCase()
6251 IntPtrConstant(StoreHandler::kSmi))); in HandleStoreICSmiHandlerCase()
6347 GotoIf(WordEqual(validity_cell, IntPtrConstant(0)), in HandleStoreICProtoHandler()
6377 IntPtrConstant(StoreHandler::kFirstPrototypeIndex), length, in HandleStoreICProtoHandler()
6386 handler, IntPtrConstant(StoreHandler::kTransitionCellIndex), 0, in HandleStoreICProtoHandler()
6403 IntPtrConstant(StoreHandler::kTransitionToConstant)), in HandleStoreICProtoHandler()
6477 var_handler.Bind(IntPtrConstant(0)); in KeyedStoreIC()
6580 Node* fake_name = IntPtrConstant(0); in LoadGlobalIC()
6608 IntPtrConstant(kMaxNumberOfDescriptors + in ExtendPropertiesBackingStore()
6646 StoreNamedField(object, IntPtrConstant(index.offset()), index.is_inobject(), in StoreNamedField()
6671 offset = IntPtrConstant(HeapNumber::kValueOffset); in StoreNamedField()
6718 GotoIf(IntPtrLessThan(key, IntPtrConstant(0)), bailout); in EmitKeyedSloppyArguments()
6728 Node* intptr_two = IntPtrConstant(2); in EmitKeyedSloppyArguments()
6741 Node* the_context = LoadFixedArrayElement(elements, IntPtrConstant(0), 0, in EmitKeyedSloppyArguments()
6762 Node* backing_store = LoadFixedArrayElement(elements, IntPtrConstant(1), 0, in EmitKeyedSloppyArguments()
6796 IntPtrConstant(offset)); in LoadScriptContext()
7173 IntPtrConstant(Page::kFlagsOffset)); in TrapAllocationMemento()
7175 IntPtrConstant(MemoryChunk::kIsInNewSpaceMask)), in TrapAllocationMemento()
7176 IntPtrConstant(0)), in TrapAllocationMemento()
7181 object, IntPtrConstant(kMementoLastWordOffset - kHeapObjectTag)); in TrapAllocationMemento()
7218 return WordAnd(address, IntPtrConstant(~Page::kPageAlignmentMask)); in PageFromAddress()
7291 Node* size = IntPtrConstant(AllocationSite::kSize); in CreateAllocationSiteInFeedbackVector()
7302 Node* zero = IntPtrConstant(0); in CreateAllocationSiteInFeedbackVector()
7338 Node* size = IntPtrConstant(WeakCell::kSize); in CreateWeakCellInFeedbackVector()
7375 var.Bind(IntPtrAdd(var.value(), IntPtrConstant(increment))); in BuildFastLoop()
7379 var.Bind(IntPtrAdd(var.value(), IntPtrConstant(increment))); in BuildFastLoop()
7405 Node* index = IntPtrConstant(i); in BuildFastFixedArrayForEach()
7413 Node* index = IntPtrConstant(i); in BuildFastFixedArrayForEach()
8699 Node* const int_false = IntPtrConstant(0); in SameValue()
8700 Node* const int_true = IntPtrConstant(1); in SameValue()
9102 IntPtrConstant(Context::FAST_ARRAY_KEY_ITERATOR_MAP_INDEX)); in CreateArrayIterator()
9110 IntPtrConstant(Context::GENERIC_ARRAY_KEY_ITERATOR_MAP_INDEX)); in CreateArrayIterator()
9119 IntPtrConstant(Context::TYPED_ARRAY_KEY_ITERATOR_MAP_INDEX)); in CreateArrayIterator()
9175 IntPtrAdd(IntPtrConstant(kBaseMapIndex + kFastIteratorOffset), in CreateArrayIterator()
9178 map_index, IntPtrConstant(kBaseMapIndex + in CreateArrayIterator()
9181 IntPtrConstant(kBaseMapIndex + in CreateArrayIterator()
9192 Node* map_index = IntPtrAdd(IntPtrConstant(kBaseMapIndex), in CreateArrayIterator()
9193 IntPtrConstant(kSlowIteratorOffset)); in CreateArrayIterator()
9203 IntPtrAdd(IntPtrConstant(kBaseMapIndex - UINT8_ELEMENTS), in CreateArrayIterator()
9206 this, IntPtrLessThan(map_index, IntPtrConstant(kBaseMapIndex + in CreateArrayIterator()
9209 IntPtrConstant(kBaseMapIndex))); in CreateArrayIterator()
9277 assembler_->IntPtrConstant(kPointerSize)); in GetReceiver()
9291 return AtIndex(assembler_->IntPtrConstant(index)); in AtIndex()
9324 assembler_->IntPtrAddFoldConstants(argc_, assembler_->IntPtrConstant(1)), in PopAndReturn()