/external/v8/src/ia32/ |
D | assembler-ia32-inl.h | 55 void RelocInfo::apply(intptr_t delta) { in apply() 56 DCHECK_EQ(kApplyMask, (RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | in apply() 57 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) | in apply() 58 RelocInfo::ModeMask(RelocInfo::JS_TO_WASM_CALL) | in apply() 59 RelocInfo::ModeMask(RelocInfo::OFF_HEAP_TARGET) | in apply() 60 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY))); in apply() 73 Address RelocInfo::target_address() { in target_address() 78 Address RelocInfo::target_address_address() { in target_address_address() 86 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 91 int RelocInfo::target_address_size() { in target_address_size() [all …]
|
D | assembler-ia32.cc | 66 Immediate result(0, RelocInfo::EMBEDDED_OBJECT); in EmbeddedNumber() 73 Immediate result(0, RelocInfo::CODE_TARGET); in EmbeddedCode() 190 const int RelocInfo::kApplyMask = 191 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | 192 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) | 193 RelocInfo::ModeMask(RelocInfo::JS_TO_WASM_CALL) | 194 RelocInfo::ModeMask(RelocInfo::OFF_HEAP_TARGET) | 195 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY); 197 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially() 202 return RelocInfo::ModeMask(rmode_) & kApplyMask; in IsCodedSpecially() [all …]
|
D | assembler-ia32.h | 214 inline explicit Immediate(int x, RelocInfo::Mode rmode = RelocInfo::NONE) { 219 : Immediate(ext.address(), RelocInfo::EXTERNAL_REFERENCE) {} in Immediate() 221 : Immediate(handle.address(), RelocInfo::EMBEDDED_OBJECT) {} in Immediate() 234 rmode_ == RelocInfo::EMBEDDED_OBJECT || in is_heap_object_request() 235 rmode_ == RelocInfo::CODE_TARGET); in is_heap_object_request() 250 return rmode() == RelocInfo::EXTERNAL_REFERENCE; in is_external_reference() 258 bool is_zero() const { return RelocInfo::IsNone(rmode_) && immediate() == 0; } in is_zero() 260 return RelocInfo::IsNone(rmode_) && i::is_int8(immediate()); in is_int8() 263 return RelocInfo::IsNone(rmode_) && i::is_uint8(immediate()); in is_uint8() 266 return RelocInfo::IsNone(rmode_) && i::is_int16(immediate()); in is_int16() [all …]
|
/external/v8/src/ |
D | reloc-info.cc | 18 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING"; 75 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask; 88 WriteMode(RelocInfo::PC_JUMP); in WriteLongPCJump() 112 void RelocInfoWriter::WriteMode(RelocInfo::Mode rmode) { in WriteMode() 113 STATIC_ASSERT(RelocInfo::NUMBER_OF_MODES <= (1 << kLongTagBits)); in WriteMode() 117 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC() 140 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write() 141 RelocInfo::Mode rmode = rinfo->rmode(); in Write() 145 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write() 152 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write() [all …]
|
D | reloc-info.h | 34 class RelocInfo { 103 RelocInfo() = default; 105 RelocInfo(Address pc, Mode rmode, intptr_t data, Code* host, 121 static_assert(RelocInfo::NONE >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE, in IsShareableRelocMode() 124 return mode >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE; in IsShareableRelocMode() 325 return ModeMask(RelocInfo::CODE_TARGET) | in PostCodegenRelocationMask() 326 ModeMask(RelocInfo::EMBEDDED_OBJECT) | in PostCodegenRelocationMask() 327 ModeMask(RelocInfo::RUNTIME_ENTRY) | in PostCodegenRelocationMask() 328 ModeMask(RelocInfo::RELATIVE_CODE_TARGET) | kApplyMask; in PostCodegenRelocationMask() 351 void Write(const RelocInfo* rinfo); [all …]
|
D | disassembler.cc | 145 std::ostream* os, RelocInfo* relocinfo, in PrintRelocInfo() 157 RelocInfo::Mode rmode = relocinfo->rmode(); in PrintRelocInfo() 158 if (rmode == RelocInfo::DEOPT_SCRIPT_OFFSET) { in PrintRelocInfo() 161 } else if (rmode == RelocInfo::DEOPT_INLINING_ID) { in PrintRelocInfo() 164 } else if (rmode == RelocInfo::DEOPT_REASON) { in PrintRelocInfo() 168 } else if (rmode == RelocInfo::DEOPT_ID) { in PrintRelocInfo() 171 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in PrintRelocInfo() 177 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in PrintRelocInfo() 183 } else if (RelocInfo::IsCodeTargetMode(rmode)) { in PrintRelocInfo() 202 } else if (RelocInfo::IsRuntimeEntry(rmode) && isolate && in PrintRelocInfo() [all …]
|
D | visitors.h | 108 virtual void VisitCodeTarget(Code* host, RelocInfo* rinfo); 111 virtual void VisitRuntimeEntry(Code* host, RelocInfo* rinfo) {} in VisitRuntimeEntry() 114 virtual void VisitEmbeddedPointer(Code* host, RelocInfo* rinfo); 117 virtual void VisitExternalReference(Code* host, RelocInfo* rinfo) {} in VisitExternalReference() 123 virtual void VisitInternalReference(Code* host, RelocInfo* rinfo) {} in VisitInternalReference() 126 virtual void VisitOffHeapTarget(Code* host, RelocInfo* rinfo) {} in VisitOffHeapTarget()
|
/external/v8/src/mips64/ |
D | assembler-mips64-inl.h | 68 void RelocInfo::apply(intptr_t delta) { in apply() 76 Address RelocInfo::target_address() { in target_address() 81 Address RelocInfo::target_address_address() { in target_address_address() 103 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 108 int RelocInfo::target_address_size() { in target_address_size() 145 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() 146 if (mode == RelocInfo::INTERNAL_REFERENCE_ENCODED) { in deserialization_set_target_internal_reference_at() 150 DCHECK(mode == RelocInfo::INTERNAL_REFERENCE); in deserialization_set_target_internal_reference_at() 155 HeapObject* RelocInfo::target_object() { in target_object() 161 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() [all …]
|
/external/v8/src/mips/ |
D | assembler-mips-inl.h | 69 void RelocInfo::apply(intptr_t delta) { in apply() 77 Address RelocInfo::target_address() { in target_address() 82 Address RelocInfo::target_address_address() { in target_address_address() 110 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 115 int RelocInfo::target_address_size() { in target_address_size() 171 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() 172 if (mode == RelocInfo::INTERNAL_REFERENCE_ENCODED) { in deserialization_set_target_internal_reference_at() 176 DCHECK(mode == RelocInfo::INTERNAL_REFERENCE); in deserialization_set_target_internal_reference_at() 181 HeapObject* RelocInfo::target_object() { in target_object() 187 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() [all …]
|
/external/v8/src/s390/ |
D | assembler-s390-inl.h | 53 void RelocInfo::apply(intptr_t delta) { in apply() 78 Address RelocInfo::target_internal_reference() { in target_internal_reference() 89 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address() 94 Address RelocInfo::target_address() { in target_address() 99 Address RelocInfo::target_address_address() { in target_address_address() 116 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 120 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 143 HeapObject* RelocInfo::target_object() { in target_object() 149 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 159 void RelocInfo::set_target_object(Heap* heap, HeapObject* target, in set_target_object() [all …]
|
D | assembler-s390.cc | 261 const int RelocInfo::kApplyMask = 262 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | 263 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE); 265 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially() 273 bool RelocInfo::IsInConstantPool() { return false; } in IsInConstantPool() 275 int RelocInfo::GetDeoptimizationId(Isolate* isolate, DeoptimizeKind kind) { in GetDeoptimizationId() 280 void RelocInfo::set_js_to_wasm_address(Address address, in set_js_to_wasm_address() 287 Address RelocInfo::js_to_wasm_address() const { in js_to_wasm_address() 292 uint32_t RelocInfo::wasm_call_tag() const { in wasm_call_tag() 306 rmode_ = RelocInfo::EMBEDDED_OBJECT; in Operand() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64-inl.h | 31 void Assembler::emitp(Address x, RelocInfo::Mode rmode) { in emitp() 33 if (!RelocInfo::IsNone(rmode)) { in emitp() 51 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry() 52 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry() 58 if (!RelocInfo::IsNone(x.rmode_)) { in emit() 249 Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() 281 void RelocInfo::apply(intptr_t delta) { in apply() 291 Address RelocInfo::target_address() { in target_address() 296 Address RelocInfo::target_address_address() { in target_address_address() 304 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 58 void RelocInfo::apply(intptr_t delta) { in apply() 59 if (RelocInfo::IsInternalReference(rmode_)) { in apply() 63 } else if (RelocInfo::IsRelativeCodeTarget(rmode_)) { in apply() 71 Address RelocInfo::target_address() { in target_address() 77 Address RelocInfo::target_address_address() { in target_address_address() 90 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 96 int RelocInfo::target_address_size() { in target_address_size() 100 HeapObject* RelocInfo::target_object() { in target_object() 106 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 …]
|
/external/v8/src/ppc/ |
D | assembler-ppc-inl.h | 53 void RelocInfo::apply(intptr_t delta) { in apply() 69 Address RelocInfo::target_internal_reference() { in target_internal_reference() 81 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address() 87 Address RelocInfo::target_address() { in target_address() 92 Address RelocInfo::target_address_address() { in target_address_address() 118 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 130 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 164 HeapObject* RelocInfo::target_object() { in target_object() 170 Handle<HeapObject> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 176 void RelocInfo::set_target_object(Heap* heap, HeapObject* target, in set_target_object() [all …]
|
/external/v8/src/wasm/ |
D | wasm-serialization.cc | 143 void SetWasmCalleeTag(RelocInfo* rinfo, uint32_t tag) { 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() 182 if (rinfo->rmode() == RelocInfo::EXTERNAL_REFERENCE) { in GetWasmCalleeTag() 184 } else if (rinfo->rmode() == RelocInfo::WASM_STUB_CALL) { in GetWasmCalleeTag() 322 int mask = RelocInfo::ModeMask(RelocInfo::WASM_CALL) | in WriteCode() 323 RelocInfo::ModeMask(RelocInfo::WASM_STUB_CALL) | in WriteCode() 324 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | in WriteCode() 325 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) | in WriteCode() [all …]
|
D | jump-table-assembler.cc | 57 jmp(lazy_compile_target, RelocInfo::NONE); // 5 bytes 61 jmp(target, RelocInfo::NONE); 87 Move32BitImmediate(pc, Operand(target, RelocInfo::WASM_CALL)); 103 Jump(lazy_compile_target, RelocInfo::NONE); // 1 instr 110 Jump(target, RelocInfo::NONE); 150 Jump(lazy_compile_target, RelocInfo::NONE); 154 Jump(target, RelocInfo::NONE);
|
D | wasm-code-manager.cc | 176 RelocInfo::Mode mode = it.rinfo()->rmode(); in Validate() 178 case RelocInfo::WASM_CALL: { in Validate() 186 case RelocInfo::WASM_STUB_CALL: { in Validate() 194 case RelocInfo::INTERNAL_REFERENCE: in Validate() 195 case RelocInfo::INTERNAL_REFERENCE_ENCODED: { in Validate() 200 case RelocInfo::JS_TO_WASM_CALL: in Validate() 201 case RelocInfo::EXTERNAL_REFERENCE: in Validate() 202 case RelocInfo::COMMENT: in Validate() 203 case RelocInfo::CONST_POOL: in Validate() 204 case RelocInfo::VENEER_POOL: in Validate() [all …]
|
/external/v8/src/arm64/ |
D | assembler-arm64-inl.h | 20 void RelocInfo::apply(intptr_t delta) { in apply() 22 if (RelocInfo::IsInternalReference(rmode_)) { in apply() 208 static inline RelocInfo::Mode rmode_for(T) { return RelocInfo::NONE; } in rmode_for() 219 static inline RelocInfo::Mode rmode_for(Smi* t) { return RelocInfo::NONE; } 229 static inline RelocInfo::Mode rmode_for(ExternalReference t) { 230 return RelocInfo::EXTERNAL_REFERENCE; 251 Immediate::Immediate(T t, RelocInfo::Mode rmode) 267 Operand::Operand(T t, RelocInfo::Mode rmode) 300 immediate_.rmode() == RelocInfo::EMBEDDED_OBJECT || 301 immediate_.rmode() == RelocInfo::CODE_TARGET); [all …]
|
/external/v8/src/snapshot/ |
D | serializer.cc | 779 Code* host, RelocInfo* rinfo) { in VisitEmbeddedPointer() 806 Code* host, RelocInfo* rinfo) { in VisitExternalReference() 826 Code* host, RelocInfo* rinfo) { in VisitInternalReference() 840 sink_->Put(rinfo->rmode() == RelocInfo::INTERNAL_REFERENCE in VisitInternalReference() 850 Code* host, RelocInfo* rinfo) { in VisitRuntimeEntry() 864 Code* host, RelocInfo* rinfo) { in VisitOffHeapTarget() 885 bool operator()(RelocInfo x, RelocInfo y) { in operator ()() 899 static bool HasTargetAddressAddress(RelocInfo::Mode mode) { in HasTargetAddressAddress() 900 return RelocInfo::IsEmbeddedObject(mode) || RelocInfo::IsCodeTarget(mode) || in HasTargetAddressAddress() 901 RelocInfo::IsExternalReference(mode) || in HasTargetAddressAddress() [all …]
|
D | serializer.h | 298 void VisitEmbeddedPointer(Code* host, RelocInfo* target) override; 300 void VisitExternalReference(Code* host, RelocInfo* rinfo) override; 301 void VisitInternalReference(Code* host, RelocInfo* rinfo) override; 302 void VisitCodeTarget(Code* host, RelocInfo* target) override; 303 void VisitRuntimeEntry(Code* host, RelocInfo* reloc) override; 304 void VisitOffHeapTarget(Code* host, RelocInfo* target) override;
|
/external/v8/src/heap/ |
D | remembered-set.h | 295 static SlotCallbackResult UpdateCodeTarget(RelocInfo* rinfo, in UpdateCodeTarget() 297 DCHECK(RelocInfo::IsCodeTargetMode(rinfo->rmode())); in UpdateCodeTarget() 313 static SlotCallbackResult UpdateEmbeddedPointer(Heap* heap, RelocInfo* rinfo, in UpdateEmbeddedPointer() 315 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in UpdateEmbeddedPointer() 334 RelocInfo rinfo(addr, RelocInfo::CODE_TARGET, 0, nullptr); in UpdateTypedSlot() 341 RelocInfo rinfo(addr, RelocInfo::EMBEDDED_OBJECT, 0, nullptr); in UpdateTypedSlot() 354 inline SlotType SlotTypeForRelocInfoMode(RelocInfo::Mode rmode) { in SlotTypeForRelocInfoMode() 355 if (RelocInfo::IsCodeTargetMode(rmode)) { in SlotTypeForRelocInfoMode() 357 } else if (RelocInfo::IsEmbeddedObject(rmode)) { in SlotTypeForRelocInfoMode()
|
D | heap-write-barrier.h | 17 class RelocInfo; variable 30 void WriteBarrierForCode(Code* host, RelocInfo* rinfo, Object* value); 39 void GenerationalBarrierForCode(Code* host, RelocInfo* rinfo, 46 void MarkingBarrierForCode(Code* host, RelocInfo* rinfo, HeapObject* object);
|
/external/v8/src/builtins/ |
D | setup-builtins-internal.cc | 212 RelocInfo::ModeMask(RelocInfo::CODE_TARGET) | in ReplacePlaceholders() 213 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in ReplacePlaceholders() 214 RelocInfo::ModeMask(RelocInfo::RELATIVE_CODE_TARGET); in ReplacePlaceholders() 221 RelocInfo* rinfo = it.rinfo(); in ReplacePlaceholders() 222 if (RelocInfo::IsCodeTargetMode(rinfo->rmode())) { in ReplacePlaceholders() 224 DCHECK_IMPLIES(RelocInfo::IsRelativeCodeTarget(rinfo->rmode()), in ReplacePlaceholders() 231 DCHECK(RelocInfo::IsEmbeddedObject(rinfo->rmode())); in ReplacePlaceholders()
|
/external/v8/src/profiler/ |
D | profiler-listener.cc | 257 int mask = RelocInfo::ModeMask(RelocInfo::DEOPT_ID) | in AttachDeoptInlinedFrames() 258 RelocInfo::ModeMask(RelocInfo::DEOPT_SCRIPT_OFFSET) | in AttachDeoptInlinedFrames() 259 RelocInfo::ModeMask(RelocInfo::DEOPT_INLINING_ID); in AttachDeoptInlinedFrames() 265 RelocInfo* info = it.rinfo(); in AttachDeoptInlinedFrames() 266 if (info->rmode() == RelocInfo::DEOPT_SCRIPT_OFFSET) { in AttachDeoptInlinedFrames() 269 DCHECK(it.rinfo()->rmode() == RelocInfo::DEOPT_INLINING_ID); in AttachDeoptInlinedFrames() 274 if (info->rmode() == RelocInfo::DEOPT_ID) { in AttachDeoptInlinedFrames()
|
/external/v8/src/compiler/ |
D | machine-graph.h | 47 Node* RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode); in NON_EXPORTED_BASE() 48 Node* RelocatableInt64Constant(int64_t value, RelocInfo::Mode rmode); in NON_EXPORTED_BASE() 49 Node* RelocatableIntPtrConstant(intptr_t value, RelocInfo::Mode rmode); in NON_EXPORTED_BASE()
|