Home
last modified time | relevance | path

Searched refs:RelocInfo (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/node/deps/v8/src/codegen/
Dreloc-info.cc20 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
76 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask;
83 WriteMode(RelocInfo::PC_JUMP); in WriteLongPCJump()
106 void RelocInfoWriter::WriteMode(RelocInfo::Mode rmode) { in WriteMode()
107 STATIC_ASSERT(RelocInfo::NUMBER_OF_MODES <= (1 << kLongTagBits)); in WriteMode()
111 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC()
134 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write()
135 RelocInfo::Mode rmode = rinfo->rmode(); in Write()
139 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
146 if (rmode == RelocInfo::FULL_EMBEDDED_OBJECT) { in Write()
[all …]
Dconstant-pool.h27 RelocInfo::Mode rmode = RelocInfo::NO_INFO)
33 RelocInfo::Mode rmode = RelocInfo::NO_INFO)
61 RelocInfo::Mode rmode() const { return rmode_; } in rmode()
80 RelocInfo::Mode rmode_;
171 RelocInfo::Mode rmode = RelocInfo::NO_INFO)
175 RelocInfo::Mode rmode = RelocInfo::NO_INFO)
188 RelocInfo::Mode rmode() const { return rmode_; } in rmode()
191 DCHECK(rmode_ != RelocInfo::CONST_POOL && in AllowsDeduplication()
192 rmode_ != RelocInfo::VENEER_POOL && in AllowsDeduplication()
193 rmode_ != RelocInfo::DEOPT_SCRIPT_OFFSET && in AllowsDeduplication()
[all …]
Dreloc-info.h35 class RelocInfo {
114 RelocInfo() = default;
116 RelocInfo(Address pc, Mode rmode, intptr_t data, Code host,
135 return mode == RelocInfo::NO_INFO || in IsShareableRelocMode()
136 mode >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE; in IsShareableRelocMode()
349 static_cast<Mode>(RelocInfo::LAST_REAL_RELOC_MODE + 1); in AllRealModesMask()
351 ~(ModeMask(RelocInfo::FIRST_REAL_RELOC_MODE) - 1); in AllRealModesMask()
355 return ModeMask(RelocInfo::FULL_EMBEDDED_OBJECT) | in EmbeddedObjectModeMask()
356 ModeMask(RelocInfo::COMPRESSED_EMBEDDED_OBJECT) | in EmbeddedObjectModeMask()
357 ModeMask(RelocInfo::DATA_EMBEDDED_OBJECT); in EmbeddedObjectModeMask()
[all …]
/third_party/node/deps/v8/src/codegen/ia32/
Dassembler-ia32-inl.h53 void RelocInfo::apply(intptr_t delta) { in apply()
54 DCHECK_EQ(kApplyMask, (RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | in apply()
55 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) | in apply()
56 RelocInfo::ModeMask(RelocInfo::OFF_HEAP_TARGET) | in apply()
57 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY))); in apply()
69 Address RelocInfo::target_address() { in target_address()
74 Address RelocInfo::target_address_address() { in target_address_address()
79 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
81 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
83 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
[all …]
Dassembler-ia32.h109 inline explicit Immediate(int x, RelocInfo::Mode rmode = RelocInfo::NO_INFO) {
114 : Immediate(ext.address(), RelocInfo::EXTERNAL_REFERENCE) {} in Immediate()
116 : Immediate(handle.address(), RelocInfo::FULL_EMBEDDED_OBJECT) {} in Immediate()
127 rmode_ == RelocInfo::FULL_EMBEDDED_OBJECT || in is_heap_object_request()
128 rmode_ == RelocInfo::CODE_TARGET); in is_heap_object_request()
144 rmode() == RelocInfo::FULL_EMBEDDED_OBJECT; in is_embedded_object()
152 return rmode() == RelocInfo::EXTERNAL_REFERENCE; in is_external_reference()
161 return RelocInfo::IsNoInfo(rmode_) && immediate() == 0; in is_zero()
164 return RelocInfo::IsNoInfo(rmode_) && i::is_int8(immediate()); in is_int8()
167 return RelocInfo::IsNoInfo(rmode_) && i::is_uint8(immediate()); in is_uint8()
[all …]
Dassembler-ia32.cc66 Immediate result(0, RelocInfo::FULL_EMBEDDED_OBJECT); in EmbeddedNumber()
73 Immediate result(0, RelocInfo::FULL_EMBEDDED_OBJECT); in EmbeddedStringConstant()
212 const int RelocInfo::kApplyMask =
213 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) |
214 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) |
215 RelocInfo::ModeMask(RelocInfo::OFF_HEAP_TARGET) |
216 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY);
218 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
223 return RelocInfo::ModeMask(rmode_) & kApplyMask; in IsCodedSpecially()
226 bool RelocInfo::IsInConstantPool() { return false; } in IsInConstantPool()
[all …]
/third_party/node/deps/v8/src/codegen/loong64/
Dassembler-loong64-inl.h32 void RelocInfo::apply(intptr_t delta) { in apply()
42 Address RelocInfo::target_address() { in target_address()
48 Address RelocInfo::target_address_address() { in target_address_address()
67 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
69 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
84 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at()
88 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
98 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
110 void RelocInfo::set_target_object(Heap* heap, HeapObject target, in set_target_object()
128 Address RelocInfo::target_external_reference() { in target_external_reference()
[all …]
/third_party/node/deps/v8/src/codegen/mips64/
Dassembler-mips64-inl.h64 void RelocInfo::apply(intptr_t delta) { in apply()
71 Address RelocInfo::target_address() { in target_address()
76 Address RelocInfo::target_address_address() { in target_address_address()
95 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
97 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
128 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at()
129 if (mode == RelocInfo::INTERNAL_REFERENCE_ENCODED) { in deserialization_set_target_internal_reference_at()
133 DCHECK(mode == RelocInfo::INTERNAL_REFERENCE); in deserialization_set_target_internal_reference_at()
138 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
148 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/third_party/node/deps/v8/src/codegen/riscv64/
Dassembler-riscv64-inl.h62 void RelocInfo::apply(intptr_t delta) { in apply()
72 Address RelocInfo::target_address() { in target_address()
78 Address RelocInfo::target_address_address() { in target_address_address()
97 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
99 int RelocInfo::target_address_size() { in target_address_size()
149 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at()
150 if (RelocInfo::IsInternalReferenceEncoded(mode)) { in deserialization_set_target_internal_reference_at()
154 DCHECK(RelocInfo::IsInternalReference(mode)); in deserialization_set_target_internal_reference_at()
159 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
173 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/third_party/node/deps/v8/src/codegen/mips/
Dassembler-mips-inl.h64 void RelocInfo::apply(intptr_t delta) { in apply()
73 Address RelocInfo::target_address() { in target_address()
79 Address RelocInfo::target_address_address() { in target_address_address()
105 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
107 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
149 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at()
150 if (RelocInfo::IsInternalReferenceEncoded(mode)) { in deserialization_set_target_internal_reference_at()
154 DCHECK(RelocInfo::IsInternalReference(mode)); in deserialization_set_target_internal_reference_at()
159 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
169 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/third_party/node/deps/v8/src/diagnostics/
Ddisassembler.cc211 RelocInfo* relocinfo, bool first_reloc_info = true) { in PrintRelocInfo()
223 RelocInfo::Mode rmode = relocinfo->rmode(); in PrintRelocInfo()
224 if (rmode == RelocInfo::DEOPT_SCRIPT_OFFSET) { in PrintRelocInfo()
227 } else if (rmode == RelocInfo::DEOPT_INLINING_ID) { in PrintRelocInfo()
230 } else if (rmode == RelocInfo::DEOPT_REASON) { in PrintRelocInfo()
234 } else if (rmode == RelocInfo::DEOPT_ID) { in PrintRelocInfo()
236 } else if (rmode == RelocInfo::DEOPT_NODE_ID) { in PrintRelocInfo()
243 } else if (RelocInfo::IsEmbeddedObjectMode(rmode)) { in PrintRelocInfo()
248 const bool is_compressed = RelocInfo::IsCompressedEmbeddedObject(rmode); in PrintRelocInfo()
251 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in PrintRelocInfo()
[all …]
/third_party/node/deps/v8/src/codegen/s390/
Dassembler-s390.cc296 const int RelocInfo::kApplyMask =
297 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) |
298 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE);
300 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
308 bool RelocInfo::IsInConstantPool() { return false; } in IsInConstantPool()
310 uint32_t RelocInfo::wasm_call_tag() const { in wasm_call_tag()
324 rmode_ = RelocInfo::FULL_EMBEDDED_OBJECT; in Operand()
330 Operand result(0, RelocInfo::FULL_EMBEDDED_OBJECT); in EmbeddedNumber()
337 Operand result(0, RelocInfo::FULL_EMBEDDED_OBJECT); in EmbeddedStringConstant()
712 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode) { in call()
[all …]
Dassembler-s390-inl.h51 void RelocInfo::apply(intptr_t delta) { in apply()
76 Address RelocInfo::target_internal_reference() { in target_internal_reference()
87 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address()
92 Address RelocInfo::target_address() { in target_address()
98 Address RelocInfo::target_address_address() { in target_address_address()
113 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
122 int RelocInfo::target_address_size() { in target_address_size()
142 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
161 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
177 void RelocInfo::set_target_object(Heap* heap, HeapObject target, in set_target_object()
[all …]
/third_party/node/deps/v8/src/codegen/arm/
Dassembler-arm-inl.h56 void RelocInfo::apply(intptr_t delta) { in apply()
57 if (RelocInfo::IsInternalReference(rmode_)) { in apply()
61 } else if (RelocInfo::IsRelativeCodeTarget(rmode_)) { in apply()
68 Address RelocInfo::target_address() { in target_address()
74 Address RelocInfo::target_address_address() { in target_address_address()
87 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
92 int RelocInfo::target_address_size() { return kPointerSize; } in target_address_size()
94 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
104 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
115 void RelocInfo::set_target_object(Heap* heap, HeapObject target, in set_target_object()
[all …]
/third_party/node/deps/v8/src/objects/
Dcode.cc150 int mode_mask = RelocInfo::EmbeddedObjectModeMask(); in ClearEmbeddedObjects()
152 DCHECK(RelocInfo::IsEmbeddedObjectMode(it.rinfo()->rmode())); in ClearEmbeddedObjects()
159 for (RelocIterator it(*this, RelocInfo::kApplyMask); !it.done(); it.next()) { in Relocate()
190 const int mode_mask = RelocInfo::PostCodegenRelocationMask(); in RelocateFromDesc()
192 RelocInfo::Mode mode = it.rinfo()->rmode(); in RelocateFromDesc()
193 if (RelocInfo::IsEmbeddedObjectMode(mode)) { in RelocateFromDesc()
197 } else if (RelocInfo::IsCodeTargetMode(mode)) { in RelocateFromDesc()
205 } else if (RelocInfo::IsRuntimeEntry(mode)) { in RelocateFromDesc()
291 RelocInfo::AllRealModesMask() & in IsIsolateIndependent()
292 ~RelocInfo::ModeMask(RelocInfo::CONST_POOL) & in IsIsolateIndependent()
[all …]
Dvisitors.h159 virtual void VisitCodeTarget(Code host, RelocInfo* rinfo) = 0;
162 virtual void VisitEmbeddedPointer(Code host, RelocInfo* rinfo) = 0;
165 virtual void VisitRuntimeEntry(Code host, RelocInfo* rinfo) {} in VisitRuntimeEntry()
168 virtual void VisitExternalReference(Code host, RelocInfo* rinfo) {} in VisitExternalReference()
174 virtual void VisitInternalReference(Code host, RelocInfo* rinfo) {} in VisitInternalReference()
177 virtual void VisitOffHeapTarget(Code host, RelocInfo* rinfo) {} in VisitOffHeapTarget()
/third_party/node/deps/v8/src/wasm/
Dwasm-serialization.cc141 void SetWasmCalleeTag(RelocInfo* rinfo, uint32_t tag) { in SetWasmCalleeTag()
144 DCHECK(!RelocInfo::IsCompressedEmbeddedObject(rinfo->rmode())); in SetWasmCalleeTag()
158 if (rinfo->rmode() == RelocInfo::EXTERNAL_REFERENCE) { in SetWasmCalleeTag()
160 } else if (rinfo->rmode() == RelocInfo::WASM_STUB_CALL) { in SetWasmCalleeTag()
168 uint32_t GetWasmCalleeTag(RelocInfo* rinfo) { in GetWasmCalleeTag()
170 DCHECK(!RelocInfo::IsCompressedEmbeddedObject(rinfo->rmode())); in GetWasmCalleeTag()
182 if (rinfo->rmode() == RelocInfo::EXTERNAL_REFERENCE) { in GetWasmCalleeTag()
184 } else if (rinfo->rmode() == RelocInfo::WASM_STUB_CALL) { in GetWasmCalleeTag()
402 int mask = RelocInfo::ModeMask(RelocInfo::WASM_CALL) | in WriteCode()
403 RelocInfo::ModeMask(RelocInfo::WASM_STUB_CALL) | in WriteCode()
[all …]
Djump-table-assembler.cc28 near_jmp(displacement, RelocInfo::NO_INFO); // 5 bytes in EmitJumpSlot()
66 jmp(lazy_compile_target, RelocInfo::NO_INFO); // 5 bytes
70 jmp(target, RelocInfo::NO_INFO);
75 jmp(target, RelocInfo::NO_INFO);
106 Move32BitImmediate(pc, Operand(target, RelocInfo::WASM_CALL));
139 Jump(lazy_compile_target, RelocInfo::NO_INFO); // 1 instr
153 Jump(target, RelocInfo::NO_INFO);
209 mov(r1, Operand(lazy_compile_target, RelocInfo::CODE_TARGET));
257 Jump(lazy_compile_target, RelocInfo::NO_INFO);
292 Jump(lazy_compile_target, RelocInfo::NO_INFO);
[all …]
/third_party/node/deps/v8/src/heap/
Dremembered-set-inl.h21 RelocInfo rinfo(addr, RelocInfo::CODE_TARGET, 0, Code()); in UpdateTypedSlot()
28 RelocInfo rinfo(addr, RelocInfo::COMPRESSED_EMBEDDED_OBJECT, 0, Code()); in UpdateTypedSlot()
32 RelocInfo rinfo(addr, RelocInfo::FULL_EMBEDDED_OBJECT, 0, Code()); in UpdateTypedSlot()
36 RelocInfo rinfo(addr, RelocInfo::DATA_EMBEDDED_OBJECT, 0, Code()); in UpdateTypedSlot()
Dheap-write-barrier.h26 class RelocInfo; variable
32 void WriteBarrierForCode(Code host, RelocInfo* rinfo, Object value);
33 void WriteBarrierForCode(Code host, RelocInfo* rinfo, HeapObject value);
44 void GenerationalBarrierForCode(Code host, RelocInfo* rinfo, HeapObject object);
54 static inline void Marking(Code host, RelocInfo*, HeapObject value);
79 static void MarkingSlow(Heap* heap, Code host, RelocInfo*, HeapObject value);
/third_party/node/deps/v8/src/codegen/x64/
Dassembler-x64-inl.h39 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry()
40 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry()
48 if (!RelocInfo::IsNoInfo(x.rmode_)) { in emit()
55 if (!RelocInfo::IsNoInfo(x.rmode_)) { in emit()
251 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at()
283 void RelocInfo::apply(intptr_t delta) { in apply()
293 Address RelocInfo::target_address() { in target_address()
298 Address RelocInfo::target_address_address() { in target_address_address()
306 Address RelocInfo::constant_pool_entry_address() { UNREACHABLE(); } in constant_pool_entry_address()
308 int RelocInfo::target_address_size() { in target_address_size()
[all …]
/third_party/node/deps/v8/src/codegen/ppc/
Dassembler-ppc-inl.h51 void RelocInfo::apply(intptr_t delta) { in apply()
66 Address RelocInfo::target_internal_reference() { in target_internal_reference()
77 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address()
82 Address RelocInfo::target_address() { in target_address()
87 Address RelocInfo::target_address_address() { in target_address_address()
110 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
128 int RelocInfo::target_address_size() { in target_address_size()
148 HeapObject RelocInfo::target_object(PtrComprCageBase cage_base) { in target_object()
167 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
183 void RelocInfo::set_target_object(Heap* heap, HeapObject target, in set_target_object()
[all …]
/third_party/node/deps/v8/src/codegen/arm64/
Dassembler-arm64-inl.h22 void RelocInfo::apply(intptr_t delta) { in apply()
24 if (RelocInfo::IsInternalReference(rmode_)) { in apply()
195 static inline RelocInfo::Mode rmode_for(T) { return RelocInfo::NO_INFO; } in rmode_for()
205 static inline RelocInfo::Mode rmode_for(Smi t) { return RelocInfo::NO_INFO; }
213 static inline RelocInfo::Mode rmode_for(ExternalReference t) {
214 return RelocInfo::EXTERNAL_REFERENCE;
222 Immediate::Immediate(Handle<T> handle, RelocInfo::Mode mode)
224 DCHECK(RelocInfo::IsEmbeddedObjectMode(mode));
233 Immediate::Immediate(T t, RelocInfo::Mode rmode)
242 Operand::Operand(T t, RelocInfo::Mode rmode)
[all …]
/third_party/node/deps/v8/src/snapshot/
Dserializer.cc1021 void VisitEmbeddedPointer(Code host, RelocInfo* target) { in VisitEmbeddedPointer()
1026 void VisitCodeTarget(Code host, RelocInfo* target) { in VisitCodeTarget()
1028 DCHECK(!RelocInfo::IsRelativeCodeTarget(target->rmode())); in VisitCodeTarget()
1035 void VisitExternalReference(Code host, RelocInfo* rinfo) {} in VisitExternalReference()
1036 void VisitInternalReference(Code host, RelocInfo* rinfo) {} in VisitInternalReference()
1037 void VisitRuntimeEntry(Code host, RelocInfo* reloc) { UNREACHABLE(); } in VisitRuntimeEntry()
1038 void VisitOffHeapTarget(Code host, RelocInfo* target) {} in VisitOffHeapTarget()
1050 RelocInfo* rinfo) { in VisitEmbeddedPointer()
1060 RelocInfo* rinfo) { in VisitExternalReference()
1096 RelocInfo* rinfo) { in VisitInternalReference()
[all …]
/third_party/node/deps/v8/src/builtins/
Dsetup-builtins-internal.cc222 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | in ReplacePlaceholders()
223 RelocInfo::ModeMask(RelocInfo::FULL_EMBEDDED_OBJECT) | in ReplacePlaceholders()
224 RelocInfo::ModeMask(RelocInfo::COMPRESSED_EMBEDDED_OBJECT) | in ReplacePlaceholders()
225 RelocInfo::ModeMask(RelocInfo::RELATIVE_CODE_TARGET); in ReplacePlaceholders()
234 RelocInfo* rinfo = it.rinfo(); in ReplacePlaceholders()
235 if (RelocInfo::IsCodeTargetMode(rinfo->rmode())) { in ReplacePlaceholders()
237 DCHECK_IMPLIES(RelocInfo::IsRelativeCodeTarget(rinfo->rmode()), in ReplacePlaceholders()
244 DCHECK(RelocInfo::IsEmbeddedObjectMode(rinfo->rmode())); in ReplacePlaceholders()

123456