Home
last modified time | relevance | path

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

12

/external/v8/src/
Ddisassembler.cc154 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
175 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
181 rmodes.Add(it->rinfo()->rmode()); in DecodeIt()
215 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt() local
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()
234 if (rmode == RelocInfo::CONSTRUCT_CALL) { in DecodeIt()
[all …]
Dassembler.cc321 RelocInfo::Mode rmode = rinfo->rmode(); in Write() local
324 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
326 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
329 } else if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { in Write()
343 } else if (RelocInfo::IsPosition(rmode)) { in Write()
347 int pos_type_tag = (rmode == RelocInfo::POSITION) ? kNonstatementPositionTag in Write()
359 } else if (RelocInfo::IsComment(rmode)) { in Write()
365 ASSERT(rmode > RelocInfo::LAST_COMPACT_ENUM); in Write()
366 int saved_mode = rmode - RelocInfo::LAST_COMPACT_ENUM; in Write()
550 int rmode = extra_tag + RelocInfo::LAST_COMPACT_ENUM; in next() local
[all …]
Ddebug.cc137 if (RelocInfo::IsPosition(rmode())) { in Next()
138 if (RelocInfo::IsStatementPosition(rmode())) { in Next()
154 } else if (RelocInfo::IsCodeTarget(rmode())) { in Next()
165 RelocInfo::IsConstructCall(rmode())) { in Next()
190 if (RelocInfo::IsJSReturn(rmode())) { in Next()
354 if (RelocInfo::IsJSReturn(rmode())) { in SetDebugBreak()
374 if (RelocInfo::IsJSReturn(rmode())) { in ClearDebugBreak()
429 ASSERT(RelocInfo::IsConstructCall(rmode()) || in PrepareStepIn()
439 return (RelocInfo::IsJSReturn(rmode())); in IsExit()
450 if (RelocInfo::IsJSReturn(rmode())) { in IsDebugBreak()
[all …]
Dassembler.h220 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo() argument
221 : pc_(pc), rmode_(rmode), data_(data), host_(host) { in RelocInfo()
263 Mode rmode() const { return rmode_; } in rmode() function
342 static const char* RelocModeName(Mode rmode);
Dincremental-marking.cc171 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
180 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
192 ASSERT((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
194 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
Dmark-compact.cc1030 ASSERT(rinfo->rmode() == RelocInfo::GLOBAL_PROPERTY_CELL); in VisitGlobalPropertyCell()
1038 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
1048 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
1063 ASSERT((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
1065 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
2712 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
2719 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
2726 ASSERT((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
2728 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
4030 static inline SlotsBuffer::SlotType SlotTypeForRMode(RelocInfo::Mode rmode) { in SlotTypeForRMode() argument
[all …]
Ddebug.h117 inline RelocInfo::Mode rmode() const { in rmode() function
118 return reloc_iterator_->rinfo()->rmode(); in rmode()
124 return reloc_iterator_original_->rinfo()->rmode(); in original_rmode()
/external/v8/src/ia32/
Dassembler-ia32-inl.h176 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
177 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
183 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
184 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
205 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
206 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
222 RelocInfo::Mode mode = rmode(); in Visit()
250 RelocInfo::Mode mode = rmode(); in Visit()
341 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, unsigned id) { in emit() argument
342 if (rmode == RelocInfo::CODE_TARGET && id != kNoASTId) { in emit()
[all …]
Dassembler-ia32.cc229 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
231 if (disp == 0 && rmode == RelocInfo::NONE && !base.is(ebp)) { in Operand()
235 } else if (is_int8(disp) && rmode == RelocInfo::NONE) { in Operand()
244 set_dispr(disp, rmode); in Operand()
253 RelocInfo::Mode rmode) { in Operand() argument
256 if (disp == 0 && rmode == RelocInfo::NONE && !base.is(ebp)) { in Operand()
260 } else if (is_int8(disp) && rmode == RelocInfo::NONE) { in Operand()
269 set_dispr(disp, rmode); in Operand()
277 RelocInfo::Mode rmode) { in Operand() argument
282 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-ia32.h318 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);
375 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode);
877 void call(byte* entry, RelocInfo::Mode rmode);
883 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
889 void jmp(byte* entry, RelocInfo::Mode rmode);
892 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
898 void j(Condition cc, byte* entry, RelocInfo::Mode rmode);
[all …]
Ddebug-ia32.cc68 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode())); in IsDebugBreakAtReturn()
/external/v8/src/x64/
Dassembler-x64-inl.h51 void Assembler::emitq(uint64_t x, RelocInfo::Mode rmode) { in emitq() argument
53 if (rmode != RelocInfo::NONE) { in emitq()
54 RecordRelocInfo(rmode, x); in emitq()
67 RelocInfo::Mode rmode, in emit_code_target() argument
69 ASSERT(RelocInfo::IsCodeTarget(rmode)); in emit_code_target()
70 if (rmode == RelocInfo::CODE_TARGET && ast_id != kNoASTId) { in emit_code_target()
73 RecordRelocInfo(rmode); in emit_code_target()
356 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
357 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
364 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
[all …]
Dassembler-x64.h710 void movq(Register dst, void* ptr, RelocInfo::Mode rmode);
711 void movq(Register dst, int64_t value, RelocInfo::Mode rmode);
712 void movq(Register dst, const char* s, RelocInfo::Mode rmode);
715 void movq(Register dst, Handle<Object> handle, RelocInfo::Mode rmode);
734 void load_rax(void* ptr, RelocInfo::Mode rmode);
1202 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
1222 void jmp(Handle<Code> target, RelocInfo::Mode rmode);
1234 void j(Condition cc, Handle<Code> target, RelocInfo::Mode rmode);
1449 inline void emitq(uint64_t x, RelocInfo::Mode rmode);
1452 RelocInfo::Mode rmode,
[all …]
Dassembler-x64.cc541 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
542 if (rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
877 RelocInfo::Mode rmode, in call() argument
883 emit_code_target(target, rmode, ast_id); in call()
1275 RelocInfo::Mode rmode) { in j() argument
1281 emit_code_target(target, rmode); in j()
1327 void Assembler::jmp(Handle<Code> target, RelocInfo::Mode rmode) { in jmp() argument
1331 emit_code_target(target, rmode); in jmp()
1518 void Assembler::movq(Register dst, void* value, RelocInfo::Mode rmode) { in movq() argument
1521 ASSERT(rmode > RelocInfo::LAST_GCED_ENUM); in movq()
[all …]
Dmacro-assembler-x64.h347 RelocInfo::Mode rmode,
810 void Jump(Address destination, RelocInfo::Mode rmode);
812 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
814 void Call(Address destination, RelocInfo::Mode rmode);
817 RelocInfo::Mode rmode,
821 int CallSize(Address destination, RelocInfo::Mode rmode) { in CallSize() argument
/external/v8/src/arm/
Dassembler-arm-inl.h168 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
169 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
175 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
176 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
197 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
198 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
229 RelocInfo::Mode mode = rmode(); in Visit()
255 RelocInfo::Mode mode = rmode(); in Visit()
278 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
281 rmode_ = rmode; in Operand()
Dmacro-assembler-arm.cc84 void MacroAssembler::Jump(intptr_t target, RelocInfo::Mode rmode, in Jump() argument
87 mov(ip, Operand(target, rmode)); in Jump()
90 mov(pc, Operand(target, rmode), LeaveCC, cond); in Jump()
95 void MacroAssembler::Jump(Address target, RelocInfo::Mode rmode, in Jump() argument
97 ASSERT(!RelocInfo::IsCodeTarget(rmode)); in Jump()
98 Jump(reinterpret_cast<intptr_t>(target), rmode, cond); in Jump()
102 void MacroAssembler::Jump(Handle<Code> code, RelocInfo::Mode rmode, in Jump() argument
104 ASSERT(RelocInfo::IsCodeTarget(rmode)); in Jump()
106 Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond); in Jump()
136 Address target, RelocInfo::Mode rmode, Condition cond) { in CallSize() argument
[all …]
Dmacro-assembler-arm.h102 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al);
103 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
107 RelocInfo::Mode rmode,
109 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al);
111 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
115 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
543 RelocInfo::Mode rmode,
1271 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
Dassembler-arm.cc2480 ASSERT(rinfo.rmode() != RelocInfo::COMMENT && in GrowBuffer()
2481 rinfo.rmode() != RelocInfo::POSITION); in GrowBuffer()
2482 if (rinfo.rmode() != RelocInfo::JS_RETURN) { in GrowBuffer()
2511 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2513 RelocInfo rinfo(pc_, rmode, data, NULL); in RecordRelocInfo()
2514 if (rmode >= RelocInfo::JS_RETURN && rmode <= RelocInfo::DEBUG_BREAK_SLOT) { in RecordRelocInfo()
2516 ASSERT(RelocInfo::IsDebugBreakSlot(rmode) in RecordRelocInfo()
2517 || RelocInfo::IsJSReturn(rmode) in RecordRelocInfo()
2518 || RelocInfo::IsComment(rmode) in RecordRelocInfo()
2519 || RelocInfo::IsPosition(rmode)); in RecordRelocInfo()
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h51 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
54 rmode_ = rmode; in Operand()
233 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_address()
234 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_address()
243 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in set_call_address()
244 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in set_call_address()
263 ASSERT((IsJSReturn(rmode()) && IsPatchedReturnSequence()) || in call_object_address()
264 (IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence())); in call_object_address()
294 RelocInfo::Mode mode = rmode(); in Visit()
320 RelocInfo::Mode mode = rmode(); in Visit()
Dassembler-mips.cc849 bool Assembler::MustUseReg(RelocInfo::Mode rmode) { in MustUseReg() argument
850 return rmode != RelocInfo::NONE; in MustUseReg()
1999 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
2000 if (rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
2024 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2026 RelocInfo rinfo(pc_, rmode, data, NULL); in RecordRelocInfo()
2027 if (rmode >= RelocInfo::JS_RETURN && rmode <= RelocInfo::DEBUG_BREAK_SLOT) { in RecordRelocInfo()
2029 ASSERT(RelocInfo::IsDebugBreakSlot(rmode) in RecordRelocInfo()
2030 || RelocInfo::IsJSReturn(rmode) in RecordRelocInfo()
2031 || RelocInfo::IsComment(rmode) in RecordRelocInfo()
[all …]
Dmacro-assembler-mips.h176 void Jump(intptr_t target, RelocInfo::Mode rmode, COND_ARGS);
177 void Jump(Address target, RelocInfo::Mode rmode, COND_ARGS);
178 void Jump(Handle<Code> code, RelocInfo::Mode rmode, COND_ARGS);
181 static int CallSize(Address target, RelocInfo::Mode rmode, COND_ARGS);
182 void Call(Address target, RelocInfo::Mode rmode, COND_ARGS);
184 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
188 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
857 RelocInfo::Mode rmode,
Dmacro-assembler-mips.cc2445 RelocInfo::Mode rmode, in Jump() argument
2456 li(t9, Operand(target, rmode)); in Jump()
2463 RelocInfo::Mode rmode, in Jump() argument
2468 ASSERT(!RelocInfo::IsCodeTarget(rmode)); in Jump()
2469 Jump(reinterpret_cast<intptr_t>(target), rmode, cond, rs, rt, bd); in Jump()
2474 RelocInfo::Mode rmode, in Jump() argument
2479 ASSERT(RelocInfo::IsCodeTarget(rmode)); in Jump()
2480 Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond, rs, rt, bd); in Jump()
2530 RelocInfo::Mode rmode, in CallSize() argument
2541 RelocInfo::Mode rmode, in Call() argument
[all …]
/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/valgrind/main/VEX/priv/
Dguest_x86_toIR.c8324 IRTemp rmode = newTemp(Ity_I32); in disInstr_X86_WRK() local
8342 assign( rmode, get_sse_roundingmode() ); in disInstr_X86_WRK()
8347 mkexpr(rmode), in disInstr_X86_WRK()
8354 mkexpr(rmode), in disInstr_X86_WRK()
8365 IRTemp rmode = newTemp(Ity_I32); in disInstr_X86_WRK() local
8382 assign( rmode, get_sse_roundingmode() ); in disInstr_X86_WRK()
8387 mkexpr(rmode), in disInstr_X86_WRK()
8399 IRTemp rmode = newTemp(Ity_I32); in disInstr_X86_WRK() local
8427 assign(rmode, mkU32((UInt)Irrm_ZERO) ); in disInstr_X86_WRK()
8429 assign( rmode, get_sse_roundingmode() ); in disInstr_X86_WRK()
[all …]

12