Home
last modified time | relevance | path

Searched refs:rmode (Results 1 – 25 of 69) sorted by relevance

123

/external/v8/src/
Ddisassembler.cc130 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
151 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
157 rmodes.Add(it->rinfo()->rmode()); in DecodeIt()
191 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt() local
192 if (RelocInfo::IsPosition(rmode)) { in DecodeIt()
193 if (RelocInfo::IsStatementPosition(rmode)) { in DecodeIt()
198 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in DecodeIt()
204 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in DecodeIt()
208 } else if (RelocInfo::IsCodeTarget(rmode)) { in DecodeIt()
210 if (rmode == RelocInfo::CONSTRUCT_CALL) { in DecodeIt()
[all …]
Dassembler.cc412 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
418 RelocInfo::Mode rmode = rinfo->rmode(); in Write() local
421 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
423 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
426 } else if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { in Write()
440 } else if (RelocInfo::IsPosition(rmode)) { in Write()
444 int pos_type_tag = (rmode == RelocInfo::POSITION) ? kNonstatementPositionTag in Write()
456 } else if (RelocInfo::IsComment(rmode)) { in Write()
461 } else if (RelocInfo::IsConstPool(rmode) || RelocInfo::IsVeneerPool(rmode)) { in Write()
464 RelocInfo::IsConstPool(rmode) ? kConstPoolTag in Write()
[all …]
Dassembler.h380 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo() argument
381 : pc_(pc), rmode_(rmode), data_(data), host_(host) { in RelocInfo()
450 return first.rmode() == second.rmode() && in IsEqual()
451 (first.rmode() == RelocInfo::NONE64 ? in IsEqual()
459 Mode rmode() const { return rmode_; } in rmode() function
580 static const char* RelocModeName(Mode rmode);
Ddebug.cc110 if (RelocInfo::IsPosition(rmode())) { in Next()
111 if (RelocInfo::IsStatementPosition(rmode())) { in Next()
127 } else if (RelocInfo::IsCodeTarget(rmode())) { in Next()
137 RelocInfo::IsConstructCall(rmode())) { in Next()
161 if (RelocInfo::IsJSReturn(rmode())) { in Next()
333 if (RelocInfo::IsJSReturn(rmode())) { in SetDebugBreak()
351 if (RelocInfo::IsJSReturn(rmode())) { in ClearDebugBreak()
368 } else if (RelocInfo::IsCodeTarget(rmode())) { in IsStepInLocation()
408 DCHECK(RelocInfo::IsConstructCall(rmode()) || in PrepareStepIn()
417 return (RelocInfo::IsJSReturn(rmode())); in IsExit()
[all …]
/external/v8/src/x64/
Dassembler-x64-inl.h35 void Assembler::emitp(void* x, RelocInfo::Mode rmode) { in emitp() argument
38 if (!RelocInfo::IsNone(rmode)) { in emitp()
39 RecordRelocInfo(rmode, value); in emitp()
58 RelocInfo::Mode rmode, in emit_code_target() argument
60 DCHECK(RelocInfo::IsCodeTarget(rmode) || in emit_code_target()
61 rmode == RelocInfo::CODE_AGE_SEQUENCE); in emit_code_target()
62 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in emit_code_target()
65 RecordRelocInfo(rmode); in emit_code_target()
78 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry() argument
79 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry()
[all …]
Dassembler-x64.cc374 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
375 if (rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
676 void Assembler::call(Address entry, RelocInfo::Mode rmode) { in call() argument
677 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in call()
682 emit_runtime_entry(entry, rmode); in call()
687 RelocInfo::Mode rmode, in call() argument
693 emit_code_target(target, rmode, ast_id); in call()
1028 void Assembler::j(Condition cc, Address entry, RelocInfo::Mode rmode) { in j() argument
1029 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in j()
1034 emit_runtime_entry(entry, rmode); in j()
[all …]
Dassembler-x64.h723 void movp(Register dst, void* ptr, RelocInfo::Mode rmode);
745 void load_rax(void* ptr, RelocInfo::Mode rmode);
891 void call(Address entry, RelocInfo::Mode rmode);
893 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
910 void jmp(Address entry, RelocInfo::Mode rmode);
911 void jmp(Handle<Code> target, RelocInfo::Mode rmode);
920 void j(Condition cc, Address entry, RelocInfo::Mode rmode);
921 void j(Condition cc, Handle<Code> target, RelocInfo::Mode rmode);
1169 inline void emitp(void* x, RelocInfo::Mode rmode);
1173 RelocInfo::Mode rmode,
[all …]
Dmacro-assembler-x64.h876 void Move(Register dst, void* ptr, RelocInfo::Mode rmode) { in Move() argument
879 DCHECK(rmode > RelocInfo::LAST_GCED_ENUM); in Move()
880 movp(dst, ptr, rmode); in Move()
883 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) { in Move() argument
885 DCHECK(!RelocInfo::IsNone(rmode)); in Move()
888 movp(dst, reinterpret_cast<void*>(value.location()), rmode); in Move()
892 void Jump(Address destination, RelocInfo::Mode rmode);
895 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
897 void Call(Address destination, RelocInfo::Mode rmode);
901 RelocInfo::Mode rmode,
/external/v8/src/ia32/
Dassembler-ia32-inl.h235 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
236 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
242 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
243 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
264 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
265 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
293 RelocInfo::Mode mode = rmode(); in Visit()
320 RelocInfo::Mode mode = rmode(); in Visit()
413 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) { in emit() argument
414 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) { in emit()
[all …]
Dassembler-ia32.cc155 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
157 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
161 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
170 set_dispr(disp, rmode); in Operand()
179 RelocInfo::Mode rmode) { in Operand() argument
182 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
186 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
195 set_dispr(disp, rmode); in Operand()
203 RelocInfo::Mode rmode) { in Operand() argument
208 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-ia32.h333 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
340 RelocInfo::Mode rmode = RelocInfo::NONE32);
347 RelocInfo::Mode rmode = RelocInfo::NONE32);
353 RelocInfo::Mode rmode = RelocInfo::NONE32);
394 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode);
817 void call(byte* entry, RelocInfo::Mode rmode);
823 RelocInfo::Mode rmode,
829 void jmp(byte* entry, RelocInfo::Mode rmode);
832 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
838 void j(Condition cc, byte* entry, RelocInfo::Mode rmode);
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h236 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
237 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
243 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
244 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
265 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
266 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
294 RelocInfo::Mode mode = rmode(); in Visit()
321 RelocInfo::Mode mode = rmode(); in Visit()
414 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) { in emit() argument
415 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) { in emit()
[all …]
Dassembler-x87.cc150 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
152 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
156 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
165 set_dispr(disp, rmode); in Operand()
174 RelocInfo::Mode rmode) { in Operand() argument
177 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
181 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
190 set_dispr(disp, rmode); in Operand()
198 RelocInfo::Mode rmode) { in Operand() argument
203 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-x87.h322 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
329 RelocInfo::Mode rmode = RelocInfo::NONE32);
336 RelocInfo::Mode rmode = RelocInfo::NONE32);
342 RelocInfo::Mode rmode = RelocInfo::NONE32);
383 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode);
800 void call(byte* entry, RelocInfo::Mode rmode);
806 RelocInfo::Mode rmode,
812 void jmp(byte* entry, RelocInfo::Mode rmode);
815 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
821 void j(Condition cc, byte* entry, RelocInfo::Mode rmode);
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h56 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
59 rmode_ = rmode; in Operand()
302 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
303 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
312 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
313 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
332 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
333 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
372 RelocInfo::Mode mode = rmode(); in Visit()
397 RelocInfo::Mode mode = rmode(); in Visit()
Dassembler-mips.cc862 bool Assembler::MustUseReg(RelocInfo::Mode rmode) { in MustUseReg() argument
863 return !RelocInfo::IsNone(rmode); in MustUseReg()
2426 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
2427 if (rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
2459 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2461 RelocInfo rinfo(pc_, rmode, data, NULL); in RecordRelocInfo()
2462 if (rmode >= RelocInfo::JS_RETURN && rmode <= RelocInfo::DEBUG_BREAK_SLOT) { in RecordRelocInfo()
2464 DCHECK(RelocInfo::IsDebugBreakSlot(rmode) in RecordRelocInfo()
2465 || RelocInfo::IsJSReturn(rmode) in RecordRelocInfo()
2466 || RelocInfo::IsComment(rmode) in RecordRelocInfo()
[all …]
/external/v8/src/mips64/
Dassembler-mips64-inl.h56 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { in Operand() argument
59 rmode_ = rmode; in Operand()
296 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
297 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
306 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
307 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
326 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
327 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
369 RelocInfo::Mode mode = rmode(); in Visit()
394 RelocInfo::Mode mode = rmode(); in Visit()
Dassembler-mips64.cc846 bool Assembler::MustUseReg(RelocInfo::Mode rmode) { in MustUseReg() argument
847 return !RelocInfo::IsNone(rmode); in MustUseReg()
2665 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
2666 if (rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
2698 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2700 RelocInfo rinfo(pc_, rmode, data, NULL); in RecordRelocInfo()
2701 if (rmode >= RelocInfo::JS_RETURN && rmode <= RelocInfo::DEBUG_BREAK_SLOT) { in RecordRelocInfo()
2703 DCHECK(RelocInfo::IsDebugBreakSlot(rmode) in RecordRelocInfo()
2704 || RelocInfo::IsJSReturn(rmode) in RecordRelocInfo()
2705 || RelocInfo::IsComment(rmode) in RecordRelocInfo()
[all …]
/external/v8/src/arm/
Dassembler-arm-inl.h259 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
260 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
266 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
267 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
288 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
289 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
321 RelocInfo::Mode mode = rmode(); in Visit()
346 RelocInfo::Mode mode = rmode(); in Visit()
369 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
372 rmode_ = rmode; in Operand()
Dassembler-arm.cc3285 DCHECK(rinfo.rmode() != RelocInfo::COMMENT && in GrowBuffer()
3286 rinfo.rmode() != RelocInfo::POSITION); in GrowBuffer()
3287 if (rinfo.rmode() != RelocInfo::JS_RETURN) { in GrowBuffer()
3293 DCHECK(rinfo.rmode() == RelocInfo::NONE64); in GrowBuffer()
3332 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
3333 RelocInfo rinfo(pc_, rmode, data, NULL); in RecordRelocInfo()
3339 if (!RelocInfo::IsNone(rinfo.rmode())) { in RecordRelocInfo()
3341 if (rinfo.rmode() == RelocInfo::EXTERNAL_REFERENCE && in RecordRelocInfo()
3346 if (rinfo.rmode() == RelocInfo::CODE_TARGET_WITH_ID) { in RecordRelocInfo()
3348 rinfo.rmode(), in RecordRelocInfo()
[all …]
Dmacro-assembler-arm.h87 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al);
93 RelocInfo::Mode rmode,
98 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al);
99 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
101 void Call(Address target, RelocInfo::Mode rmode,
105 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
109 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
1441 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
/external/v8/test/cctest/
Dtest-reloc-info.cc75 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
92 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
108 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
/external/v8/src/arm64/
Dassembler-arm64-inl.h316 Immediate::Immediate(T t, RelocInfo::Mode rmode)
318 rmode_(rmode) {
333 Operand::Operand(T t, RelocInfo::Mode rmode)
334 : immediate_(t, rmode),
808 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) ||
809 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()));
817 DCHECK((IsJSReturn(rmode()) && IsPatchedReturnSequence()) ||
818 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()));
856 RelocInfo::Mode mode = rmode();
879 RelocInfo::Mode mode = rmode();
Dassembler-arm64.cc291 RelocInfo::Mode rmode = immediate_.rmode(); in NeedsRelocation() local
293 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in NeedsRelocation()
297 return !RelocInfo::IsNone(rmode); in NeedsRelocation()
1718 RecordRelocInfo(imm.rmode(), imm.value()); in ldr()
2831 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2833 RelocInfo rinfo(reinterpret_cast<byte*>(pc_), rmode, data, NULL); in RecordRelocInfo()
2834 if (((rmode >= RelocInfo::JS_RETURN) && in RecordRelocInfo()
2835 (rmode <= RelocInfo::DEBUG_BREAK_SLOT)) || in RecordRelocInfo()
2836 (rmode == RelocInfo::CONST_POOL) || in RecordRelocInfo()
2837 (rmode == RelocInfo::VENEER_POOL)) { in RecordRelocInfo()
[all …]
/external/v8/src/heap/
Dobjects-visiting-inl.h217 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
232 DCHECK(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
244 DCHECK((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
246 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
257 DCHECK(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
281 DCHECK(RelocInfo::IsCodeAgeSequence(rinfo->rmode())); in VisitCodeAgeSequence()

123