Home
last modified time | relevance | path

Searched refs:Tagged_t (Results 1 – 25 of 39) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dcompressed-slots-inl.h27 static_cast<uint32_t>(static_cast<Tagged_t>(raw_value)); in contains_value()
38 Tagged_t value = *location();
43 Tagged_t value = *location(); in load()
81 Tagged_t ptr = CompressTagged(value.ptr()); in Relaxed_Store()
86 Tagged_t ptr = CompressTagged(value.ptr()); in Release_Store()
92 Tagged_t old_ptr = CompressTagged(old.ptr()); in Release_CompareAndSwap()
93 Tagged_t target_ptr = CompressTagged(target.ptr()); in Release_CompareAndSwap()
94 Tagged_t result = in Release_CompareAndSwap()
104 Tagged_t value = *location();
109 Tagged_t value = *location(); in load()
[all …]
Dslots-atomic-inl.h29 class AtomicSlot : public SlotBase<AtomicSlot, Tagged_t> {
35 explicit Reference(Tagged_t* address) : address_(address) {} in Reference()
43 Reference& operator=(Tagged_t value) {
50 operator Tagged_t() const { return AsAtomicTagged::Relaxed_Load(address_); } in Tagged_t() function
53 Tagged_t tmp = value(); in swap()
67 Tagged_t value() const { return AsAtomicTagged::Relaxed_Load(address_); } in value()
69 Tagged_t* address_;
75 using value_type = Tagged_t;
86 return Reference(reinterpret_cast<Tagged_t*>(address()));
89 return Reference(reinterpret_cast<Tagged_t*>(address() + i * kTaggedSize));
Dtagged-impl.h26 std::is_same<StorageType, Tagged_t>::value,
45 std::is_same<U, Address>::value || std::is_same<U, Tagged_t>::value,
47 return static_cast<Tagged_t>(ptr_) == static_cast<Tagged_t>(other.ptr());
52 std::is_same<U, Address>::value || std::is_same<U, Tagged_t>::value,
54 return static_cast<Tagged_t>(ptr_) != static_cast<Tagged_t>(other.ptr());
59 return static_cast<Tagged_t>(ptr_) < static_cast<Tagged_t>(other.ptr());
Dtagged-value.h20 : public TaggedImpl<HeapObjectReferenceType::STRONG, Tagged_t> {
23 explicit constexpr StrongTaggedValue(Tagged_t ptr) : TaggedImpl(ptr) {} in StrongTaggedValue()
32 class TaggedValue : public TaggedImpl<HeapObjectReferenceType::WEAK, Tagged_t> {
35 explicit constexpr TaggedValue(Tagged_t ptr) : TaggedImpl(ptr) {} in TaggedValue()
Dtagged-field-inl.h23 Tagged_t* TaggedField<T, kFieldOffset>::location(HeapObject host, int offset) { in location()
24 return reinterpret_cast<Tagged_t*>(address(host, offset)); in location()
31 TOnHeapAddress on_heap_addr, Tagged_t tagged_value) { in tagged_to_full()
47 Tagged_t TaggedField<T, kFieldOffset>::full_to_tagged(Address value) { in full_to_tagged()
58 Tagged_t value = *location(host, offset); in load()
67 Tagged_t value = *location(host, offset); in load()
196 Tagged_t TaggedField<T, kFieldOffset>::Release_CompareAndSwap(HeapObject host, in Release_CompareAndSwap()
198 Tagged_t old_value = full_to_tagged(old.ptr()); in Release_CompareAndSwap()
199 Tagged_t new_value = full_to_tagged(value.ptr()); in Release_CompareAndSwap()
200 Tagged_t result = AsAtomicTagged::Release_CompareAndSwap( in Release_CompareAndSwap()
Dtagged-impl-inl.h37 return Smi(DecompressTaggedSigned(static_cast<Tagged_t>(ptr_))); in ToSmi()
115 Object(DecompressTaggedPointer(isolate, static_cast<Tagged_t>(ptr_)))); in GetHeapObjectIfStrong()
140 Object(DecompressTaggedPointer(isolate, static_cast<Tagged_t>(ptr_)))); in GetHeapObjectAssumeStrong()
226 isolate, static_cast<Tagged_t>(ptr_) & ~kWeakHeapObjectMask))); in GetHeapObject()
230 Object(DecompressTaggedPointer(isolate, static_cast<Tagged_t>(ptr_)))); in GetHeapObject()
253 return Object(DecompressTaggedSigned(static_cast<Tagged_t>(ptr_))); in GetHeapObjectOrSmi()
Dslots-inl.h164 CopyImpl<kBlockCopyLimit>(reinterpret_cast<Tagged_t*>(dst), in CopyTagged()
165 reinterpret_cast<const Tagged_t*>(src), num_tagged); in CopyTagged()
169 inline void MemsetTagged(Tagged_t* start, Object value, size_t counter) { in MemsetTagged()
171 Tagged_t raw_value = CompressTagged(value.ptr()); in MemsetTagged()
181 inline void MemsetTagged(SlotBase<T, Tagged_t> start, Object value, in MemsetTagged()
Dtagged-field.h74 static inline Tagged_t Release_CompareAndSwap(HeapObject host, T old,
85 static inline Tagged_t* location(HeapObject host, int offset = 0);
89 Tagged_t tagged_value);
91 static inline Tagged_t full_to_tagged(Address value);
Dcompressed-slots.h19 class CompressedObjectSlot : public SlotBase<CompressedObjectSlot, Tagged_t> {
65 : public SlotBase<CompressedMaybeObjectSlot, Tagged_t> {
101 : public SlotBase<CompressedHeapObjectSlot, Tagged_t> {
127 : public SlotBase<OffHeapCompressedObjectSlot, Tagged_t> {
Dcode-inl.h232 Address cage_base_hi = ReadField<Tagged_t>(kMainCageBaseUpper32BitsOffset);
242 Relaxed_ReadField<Tagged_t>(kMainCageBaseUpper32BitsOffset); in main_cage_base()
251 Tagged_t cage_base_hi = static_cast<Tagged_t>(cage_base >> 32); in set_main_cage_base()
252 Relaxed_WriteField<Tagged_t>(kMainCageBaseUpper32BitsOffset, cage_base_hi); in set_main_cage_base()
957 ReadField<Tagged_t>(kCodeCageBaseUpper32BitsOffset); in ACCESSORS()
966 Tagged_t code_cage_base_hi = static_cast<Tagged_t>(code_cage_base >> 32); in set_code_cage_base()
967 WriteField<Tagged_t>(kCodeCageBaseUpper32BitsOffset, code_cage_base_hi); in set_code_cage_base()
977 Relaxed_ReadField<Tagged_t>(kCodeCageBaseUpper32BitsOffset); in code_cage_base()
987 Tagged_t code_cage_base_hi = static_cast<Tagged_t>(code_cage_base >> 32); in set_code_cage_base()
988 Relaxed_WriteField<Tagged_t>(kCodeCageBaseUpper32BitsOffset, in set_code_cage_base()
Dheap-object.h30 return static_cast<Tagged_t>(ptr()) == static_cast<Tagged_t>(kNullAddress); in is_null()
Dstring-table.cc182 Tagged_t elements_[1];
191 sizeof(StringTable::Data) - sizeof(Tagged_t)); in operator new()
200 return AlignedAlloc(size + (capacity - 1) * sizeof(Tagged_t), in operator new()
207 size_t usage = sizeof(*this) + (capacity_ - 1) * sizeof(Tagged_t); in GetCurrentMemoryUsage()
Ddictionary.h372 bool operator()(Tagged_t a, Tagged_t b) { in operator()
/third_party/node/deps/v8/src/common/
Dptr-compr-inl.h31 V8_INLINE Tagged_t CompressTagged(Address tagged) { in CompressTagged()
32 return static_cast<Tagged_t>(static_cast<uint32_t>(tagged)); in CompressTagged()
49 V8_INLINE Address DecompressTaggedSigned(Tagged_t raw_value) { in DecompressTaggedSigned()
58 Tagged_t raw_value) { in DecompressTaggedPointer()
66 Tagged_t raw_value) { in DecompressTaggedAny()
72 V8_INLINE Tagged_t CompressTagged(Address tagged) { UNREACHABLE(); }
79 V8_INLINE Address DecompressTaggedSigned(Tagged_t raw_value) { UNREACHABLE(); }
83 Tagged_t raw_value) {
89 Tagged_t raw_value) {
Dglobals.h321 using Tagged_t = uint32_t; variable
331 using Tagged_t = Address; variable
340 STATIC_ASSERT(sizeof(Tagged_t) == kTaggedSize);
1067 ((static_cast<i::Tagged_t>(value) & ::i::kSmiTagMask) == ::i::kSmiTag)
1070 (((static_cast<i::Tagged_t>(value) & ::i::kHeapObjectTagMask) == \
1074 (((static_cast<i::Tagged_t>(value) & ::i::kHeapObjectTagMask) == \
/third_party/node/deps/v8/src/heap/
Dremembered-set-inl.h41 DecompressTaggedAny(heap->isolate(), base::Memory<Tagged_t>(addr)))); in UpdateTypedSlot()
46 base::Memory<Tagged_t>(addr) = CompressTagged(new_target.ptr()); in UpdateTypedSlot()
Dread-only-spaces.h157 Tagged_t OffsetForPage(size_t index) const { return page_offsets_[index]; } in OffsetForPage()
168 std::vector<Tagged_t> page_offsets_;
/third_party/node/deps/v8/src/wasm/
Dwasm-constants.h179 constexpr Tagged_t kArrayInitFromDataArrayTooLargeErrorCode = 0;
180 constexpr Tagged_t kArrayInitFromDataSegmentOutOfBoundsErrorCode = 1;
/third_party/node/deps/v8/src/codegen/riscv64/
Dassembler-riscv64-inl.h108 Address pc, Address constant_pool, Tagged_t target, in set_target_compressed_address_at()
114 Tagged_t Assembler::target_compressed_address_at(Address pc, in target_compressed_address_at()
116 return static_cast<Tagged_t>(target_address_at(pc, constant_pool)); in target_compressed_address_at()
/third_party/node/deps/v8/src/codegen/s390/
Dassembler-s390-inl.h116 Address pc, Address constant_pool, Tagged_t target, in set_target_compressed_address_at()
130 Tagged_t Assembler::target_compressed_address_at(Address pc, in target_compressed_address_at()
132 return static_cast<Tagged_t>(target_address_at(pc, constant_pool)); in target_compressed_address_at()
/third_party/node/deps/v8/tools/debug_helper/
Ddebug-helper-internal.cc27 static_cast<i::Tagged_t>(address)); in EnsureDecompressed()
/third_party/node/deps/v8/src/codegen/ppc/
Dassembler-ppc-inl.h122 Address pc, Address constant_pool, Tagged_t target, in set_target_compressed_address_at()
136 Tagged_t Assembler::target_compressed_address_at(Address pc, in target_compressed_address_at()
138 return static_cast<Tagged_t>(target_address_at(pc, constant_pool)); in target_compressed_address_at()
/third_party/node/deps/v8/src/codegen/x64/
Dassembler-x64-inl.h320 Tagged_t compressed = ReadUnalignedValue<Tagged_t>(pc_); in target_object()
376 Tagged_t tagged = CompressTagged(target.ptr()); in set_target_object()
/third_party/node/deps/v8/src/codegen/arm64/
Dassembler-arm64-inl.h483 Tagged_t Assembler::target_compressed_address_at(Address pc,
487 return Memory<Tagged_t>(target_pointer_address_at(pc));
607 Address pc, Address constant_pool, Tagged_t target,
611 Memory<Tagged_t>(target_pointer_address_at(pc)) = target;
663 Tagged_t compressed =
/third_party/node/deps/v8/src/strings/
Dstring-case.cc18 using word_t = std::make_unsigned<Tagged_t>::type;

12