Home
last modified time | relevance | path

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

12345678910

/external/chromium_org/v8/src/mips/
Dassembler-mips-inl.h52 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand()
62 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand()
69 rmode_ = RelocInfo::NONE32; in Operand()
111 void RelocInfo::apply(intptr_t delta) { in apply()
129 Address RelocInfo::target_address() { in target_address()
135 Address RelocInfo::target_address_address() { in target_address_address()
159 int RelocInfo::target_address_size() { in target_address_size()
164 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
180 Object* RelocInfo::target_object() { in target_object()
186 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/external/chromium_org/v8/src/ia32/
Dassembler-ia32-inl.h54 void RelocInfo::apply(intptr_t delta) { in apply()
86 Address RelocInfo::target_address() { in target_address()
92 Address RelocInfo::target_address_address() { in target_address_address()
100 int RelocInfo::target_address_size() { in target_address_size()
105 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
116 Object* RelocInfo::target_object() { in target_object()
122 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
128 void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { in set_target_object()
142 Address RelocInfo::target_reference() { in target_reference()
143 ASSERT(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_reference()
[all …]
Dassembler-ia32.cc148 const int RelocInfo::kApplyMask =
149 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
150 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
151 1 << RelocInfo::DEBUG_BREAK_SLOT | 1 << RelocInfo::CODE_AGE_SEQUENCE;
154 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
163 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
176 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
191 patcher.masm()->call(target, RelocInfo::NONE32); in PatchCodeWithCall()
208 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand()
210 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
[all …]
Dassembler-ia32.h353 bool is_zero() const { return x_ == 0 && RelocInfo::IsNone(rmode_); } in is_zero()
355 return -128 <= x_ && x_ < 128 && RelocInfo::IsNone(rmode_); in is_int8()
358 return -32768 <= x_ && x_ < 32768 && RelocInfo::IsNone(rmode_); in is_int16()
365 RelocInfo::Mode rmode_;
393 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
398 RelocInfo::Mode rmode = RelocInfo::NONE32);
405 RelocInfo::Mode rmode = RelocInfo::NONE32);
411 RelocInfo::Mode rmode = RelocInfo::NONE32);
415 RelocInfo::EXTERNAL_REFERENCE); in StaticVariable()
422 RelocInfo::EXTERNAL_REFERENCE); in StaticArray()
[all …]
Ddeoptimizer-ia32.cc66 if (pc_delta <= RelocInfo::kMaxSmallPCDelta) { in EnsureRelocSpaceForLazyDeoptimization()
79 int comment_reloc_size = RelocInfo::kMinRelocCommentSize; in EnsureRelocSpaceForLazyDeoptimization()
101 = reinterpret_cast<intptr_t>(RelocInfo::kFillerCommentString); in EnsureRelocSpaceForLazyDeoptimization()
102 RelocInfo rinfo(0, RelocInfo::COMMENT, comment_string, NULL); in EnsureRelocSpaceForLazyDeoptimization()
108 ASSERT(RelocInfo::kMinRelocCommentSize == in EnsureRelocSpaceForLazyDeoptimization()
146 patcher.masm()->call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
148 RelocInfo rinfo(call_address + 1, // 1 after the call opcode. in PatchCodeForDeoptimization()
149 RelocInfo::RUNTIME_ENTRY, in PatchCodeForDeoptimization()
/external/v8/src/
Dobjects-visiting-inl.h99 int mode_mask = RelocInfo::kCodeTargetMask | in CodeIterateBody()
100 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in CodeIterateBody()
101 RelocInfo::ModeMask(RelocInfo::GLOBAL_PROPERTY_CELL) | in CodeIterateBody()
102 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | in CodeIterateBody()
103 RelocInfo::ModeMask(RelocInfo::JS_RETURN) | in CodeIterateBody()
104 RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT) | in CodeIterateBody()
105 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY); in CodeIterateBody()
123 int mode_mask = RelocInfo::kCodeTargetMask | in CodeIterateBody()
124 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in CodeIterateBody()
125 RelocInfo::ModeMask(RelocInfo::GLOBAL_PROPERTY_CELL) | in CodeIterateBody()
[all …]
Dassembler.cc118 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
228 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask;
312 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write()
317 ASSERT(RelocInfo::NUMBER_OF_MODES - RelocInfo::LAST_COMPACT_ENUM <= in Write()
321 RelocInfo::Mode rmode = rinfo->rmode(); in Write()
324 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
326 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
328 ASSERT(begin_pos - pos_ <= RelocInfo::kMaxCallSize); in Write()
329 } else if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { in Write()
343 } else if (RelocInfo::IsPosition(rmode)) { in Write()
[all …]
Ddisassembler.cc154 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
171 List<RelocInfo::Mode> rmodes(1); in DecodeIt()
175 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
203 RelocInfo relocinfo(pcs[i], rmodes[i], datas[i], NULL); in DecodeIt()
215 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt()
216 if (RelocInfo::IsPosition(rmode)) { in DecodeIt()
217 if (RelocInfo::IsStatementPosition(rmode)) { in DecodeIt()
222 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in DecodeIt()
228 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in DecodeIt()
232 } else if (RelocInfo::IsCodeTarget(rmode)) { in DecodeIt()
[all …]
Dassembler.h157 class RelocInfo BASE_EMBEDDED {
218 RelocInfo() {} in RelocInfo() function
220 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo() function
398 void Write(const RelocInfo* rinfo);
453 RelocInfo* rinfo() { in rinfo()
478 bool SetMode(RelocInfo::Mode mode) { in SetMode()
484 RelocInfo rinfo_;
730 PositionState() : current_position(RelocInfo::kNoPosition), in PositionState()
731 written_position(RelocInfo::kNoPosition), in PositionState()
732 current_statement_position(RelocInfo::kNoPosition), in PositionState()
[all …]
/external/v8/src/arm/
Dassembler-arm-inl.h57 void RelocInfo::apply(intptr_t delta) { in apply()
58 if (RelocInfo::IsInternalReference(rmode_)) { in apply()
68 Address RelocInfo::target_address() { in target_address()
74 Address RelocInfo::target_address_address() { in target_address_address()
82 int RelocInfo::target_address_size() { in target_address_size()
87 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
98 Object* RelocInfo::target_object() { in target_object()
104 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
110 Object** RelocInfo::target_object_address() { in target_object_address()
116 void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { in set_target_object()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h50 void RelocInfo::apply(intptr_t delta) { in apply()
76 Address RelocInfo::target_address() { in target_address()
82 Address RelocInfo::target_address_address() { in target_address_address()
90 int RelocInfo::target_address_size() { in target_address_size()
95 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
106 Object* RelocInfo::target_object() { in target_object()
112 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
118 Object** RelocInfo::target_object_address() { in target_object_address()
124 void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { in set_target_object()
137 Address* RelocInfo::target_reference_address() { in target_reference_address()
[all …]
Dassembler-ia32.h278 bool is_zero() const { return x_ == 0 && rmode_ == RelocInfo::NONE; } in is_zero()
280 return -128 <= x_ && x_ < 128 && rmode_ == RelocInfo::NONE; in is_int8()
283 return -32768 <= x_ && x_ < 32768 && rmode_ == RelocInfo::NONE; in is_int16()
290 RelocInfo::Mode rmode_;
318 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
323 RelocInfo::Mode rmode = RelocInfo::NONE);
330 RelocInfo::Mode rmode = RelocInfo::NONE);
336 RelocInfo::Mode rmode = RelocInfo::NONE);
340 RelocInfo::EXTERNAL_REFERENCE); in StaticVariable()
347 RelocInfo::EXTERNAL_REFERENCE); in StaticArray()
[all …]
Dassembler-ia32.cc169 const int RelocInfo::kApplyMask =
170 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
171 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
172 1 << RelocInfo::DEBUG_BREAK_SLOT;
175 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
184 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
197 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
212 patcher.masm()->call(target, RelocInfo::NONE); in PatchCodeWithCall()
229 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand()
231 if (disp == 0 && rmode == RelocInfo::NONE && !base.is(ebp)) { in Operand()
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h51 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand()
61 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand()
68 rmode_ = RelocInfo::NONE; in Operand()
95 void RelocInfo::apply(intptr_t delta) { in apply()
113 Address RelocInfo::target_address() { in target_address()
119 Address RelocInfo::target_address_address() { in target_address_address()
143 int RelocInfo::target_address_size() { in target_address_size()
148 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
159 Object* RelocInfo::target_object() { in target_object()
165 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/external/chromium_org/v8/src/arm/
Dassembler-arm-inl.h91 void RelocInfo::apply(intptr_t delta) { in apply()
92 if (RelocInfo::IsInternalReference(rmode_)) { in apply()
102 Address RelocInfo::target_address() { in target_address()
108 Address RelocInfo::target_address_address() { in target_address_address()
116 int RelocInfo::target_address_size() { in target_address_size()
121 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { in set_target_address()
132 Object* RelocInfo::target_object() { in target_object()
138 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
145 void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { in set_target_object()
158 Address RelocInfo::target_reference() { in target_reference()
[all …]
/external/v8/test/cctest/
Dtest-reloc-info.cc36 byte* pc, RelocInfo::Mode mode, intptr_t data) { in WriteRinfo()
37 RelocInfo rinfo(pc, mode, data, NULL); in WriteRinfo()
56 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
57 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST()
68 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::POSITION)); in TEST()
71 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
72 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST()
73 if (mode == RelocInfo::POSITION) { in TEST()
85 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::STATEMENT_POSITION)); in TEST()
88 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-reloc-info.cc36 byte* pc, RelocInfo::Mode mode, intptr_t data) { in WriteRinfo()
37 RelocInfo rinfo(pc, mode, data, NULL); in WriteRinfo()
56 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
57 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST()
68 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::POSITION)); in TEST()
71 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
72 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST()
73 if (mode == RelocInfo::POSITION) { in TEST()
85 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::STATEMENT_POSITION)); in TEST()
88 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST()
[all …]
/external/chromium_org/v8/src/x64/
Dassembler-x64-inl.h55 void Assembler::emitp(void* x, RelocInfo::Mode rmode) { in emitp()
58 if (!RelocInfo::IsNone(rmode)) { in emitp()
78 RelocInfo::Mode rmode, in emit_code_target()
80 ASSERT(RelocInfo::IsCodeTarget(rmode) || in emit_code_target()
81 rmode == RelocInfo::CODE_AGE_SEQUENCE); in emit_code_target()
82 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in emit_code_target()
83 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id.ToInt()); in emit_code_target()
98 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry()
99 ASSERT(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry()
238 void RelocInfo::apply(intptr_t delta) { in apply()
[all …]
/external/v8/src/x64/
Dassembler-x64-inl.h51 void Assembler::emitq(uint64_t x, RelocInfo::Mode rmode) { in emitq()
53 if (rmode != RelocInfo::NONE) { in emitq()
67 RelocInfo::Mode rmode, in emit_code_target()
69 ASSERT(RelocInfo::IsCodeTarget(rmode)); in emit_code_target()
70 if (rmode == RelocInfo::CODE_TARGET && ast_id != kNoASTId) { in emit_code_target()
71 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id); in emit_code_target()
206 void RelocInfo::apply(intptr_t delta) { in apply()
218 Address RelocInfo::target_address() { in target_address()
228 Address RelocInfo::target_address_address() { in target_address_address()
236 int RelocInfo::target_address_size() { in target_address_size()
[all …]
/external/chromium_org/v8/src/
Dassembler.cc106 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
326 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask;
424 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write()
428 ASSERT(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
430 ASSERT(RelocInfo::LAST_STANDARD_NONCOMPACT_ENUM - RelocInfo::LAST_COMPACT_ENUM in Write()
434 RelocInfo::Mode rmode = rinfo->rmode(); in Write()
437 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
439 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
441 ASSERT(begin_pos - pos_ <= RelocInfo::kMaxCallSize); in Write()
442 } else if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { in Write()
[all …]
Ddisassembler.cc154 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
171 List<RelocInfo::Mode> rmodes(1); in DecodeIt()
175 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
203 RelocInfo relocinfo(pcs[i], rmodes[i], datas[i], NULL); in DecodeIt()
215 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt()
216 if (RelocInfo::IsPosition(rmode)) { in DecodeIt()
217 if (RelocInfo::IsStatementPosition(rmode)) { in DecodeIt()
222 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in DecodeIt()
228 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in DecodeIt()
232 } else if (RelocInfo::IsCodeTarget(rmode)) { in DecodeIt()
[all …]
Dobjects-visiting-inl.h259 Heap* heap, RelocInfo* rinfo) { in VisitEmbeddedPointer()
260 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
272 Heap* heap, RelocInfo* rinfo) { in VisitCell()
273 ASSERT(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
281 Heap* heap, RelocInfo* rinfo) { in VisitDebugTarget()
282 ASSERT((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
284 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
294 Heap* heap, RelocInfo* rinfo) { in VisitCodeTarget()
295 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
314 Heap* heap, RelocInfo* rinfo) { in VisitCodeAgeSequence()
[all …]
Dlithium-codegen.cc107 if (value->position() != RelocInfo::kNoPosition) { in GenerateBody()
110 value->position() != RelocInfo::kNoPosition); in GenerateBody()
153 int mode_mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT); in RegisterDependentCodeForEmbeddedMaps()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target.h30 struct RelocInfo;
47 inline void apply(uint32_t *binary, const RelocInfo *info) const;
50 struct RelocInfo struct
93 RelocInfo *relocInfo;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target.h30 struct RelocInfo;
47 inline void apply(uint32_t *binary, const RelocInfo *info) const;
50 struct RelocInfo struct
93 RelocInfo *relocInfo;

12345678910