Home
last modified time | relevance | path

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

123

/external/v8/src/
Ddisassembler.cc109 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
130 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
136 rmodes.Add(it->rinfo()->rmode()); in DecodeIt()
171 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt() local
172 if (RelocInfo::IsPosition(rmode)) { in DecodeIt()
173 if (RelocInfo::IsStatementPosition(rmode)) { in DecodeIt()
178 } else if (rmode == RelocInfo::DEOPT_REASON) { in DecodeIt()
183 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in DecodeIt()
189 } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in DecodeIt()
193 } else if (RelocInfo::IsCodeTarget(rmode)) { in DecodeIt()
[all …]
Dassembler.cc392 void RelocInfoWriter::WriteMode(RelocInfo::Mode rmode) { in WriteMode() argument
394 *--pos_ = static_cast<int>((rmode << kTagBits) | kDefaultTag); in WriteMode()
398 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC() argument
401 WriteMode(rmode); in WriteModeAndPC()
425 RelocInfo::Mode rmode) { in WritePosition() argument
426 int pos_type_tag = (rmode == RelocInfo::POSITION) ? kNonstatementPositionTag in WritePosition()
434 WriteModeAndPC(pc_delta, rmode); in WritePosition()
452 RelocInfo::Mode rmode = rinfo->rmode(); in Write() local
453 if (rmode != RelocInfo::POSITION) { in Write()
459 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
[all …]
Dassembler.h434 RelocInfo(Isolate* isolate, byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo() argument
435 : isolate_(isolate), pc_(pc), rmode_(rmode), data_(data), host_(host) { in RelocInfo()
515 Mode rmode() const { return rmode_; } in rmode() function
633 static const char* RelocModeName(Mode rmode);
713 inline void WriteMode(RelocInfo::Mode rmode);
714 inline void WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode);
717 inline void WritePosition(int pc_delta, int pos_delta, RelocInfo::Mode rmode);
/external/v8/src/ia32/
Dassembler-ia32-inl.h239 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
246 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
282 RelocInfo::Mode mode = rmode(); in Visit()
307 RelocInfo::Mode mode = rmode(); in Visit()
404 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) { in emit() argument
405 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) { in emit()
407 } else if (!RelocInfo::IsNone(rmode) in emit()
408 && rmode != RelocInfo::CODE_AGE_SEQUENCE) { in emit()
409 RecordRelocInfo(rmode); in emit()
416 RelocInfo::Mode rmode, in emit() argument
[all …]
Dassembler-ia32.cc193 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
195 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
199 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
208 set_dispr(disp, rmode); in Operand()
217 RelocInfo::Mode rmode) { in Operand() argument
220 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
224 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
233 set_dispr(disp, rmode); in Operand()
241 RelocInfo::Mode rmode) { in Operand() argument
246 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-ia32.h321 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
328 RelocInfo::Mode rmode = RelocInfo::NONE32);
335 RelocInfo::Mode rmode = RelocInfo::NONE32);
341 RelocInfo::Mode rmode = RelocInfo::NONE32);
387 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode);
810 void call(byte* entry, RelocInfo::Mode rmode);
816 RelocInfo::Mode rmode,
822 void jmp(byte* entry, RelocInfo::Mode rmode);
825 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
831 void j(Condition cc, byte* entry, RelocInfo::Mode rmode);
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h240 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
247 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
283 RelocInfo::Mode mode = rmode(); in Visit()
308 RelocInfo::Mode mode = rmode(); in Visit()
405 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) { in emit() argument
406 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) { in emit()
408 } else if (!RelocInfo::IsNone(rmode) in emit()
409 && rmode != RelocInfo::CODE_AGE_SEQUENCE) { in emit()
410 RecordRelocInfo(rmode); in emit()
417 RelocInfo::Mode rmode, in emit() argument
[all …]
Dassembler-x87.cc108 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
110 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
114 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
123 set_dispr(disp, rmode); in Operand()
132 RelocInfo::Mode rmode) { in Operand() argument
135 if (disp == 0 && RelocInfo::IsNone(rmode) && !base.is(ebp)) { in Operand()
139 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
148 set_dispr(disp, rmode); in Operand()
156 RelocInfo::Mode rmode) { in Operand() argument
161 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-x87.h318 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
325 RelocInfo::Mode rmode = RelocInfo::NONE32);
332 RelocInfo::Mode rmode = RelocInfo::NONE32);
338 RelocInfo::Mode rmode = RelocInfo::NONE32);
384 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode);
802 void call(byte* entry, RelocInfo::Mode rmode);
808 RelocInfo::Mode rmode,
814 void jmp(byte* entry, RelocInfo::Mode rmode);
817 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
823 void j(Condition cc, byte* entry, RelocInfo::Mode rmode);
[all …]
/external/opencv3/3rdparty/openexr/IlmImf/
DImfTiledMisc.cpp56 levelSize (int min, int max, int l, LevelRoundingMode rmode) in levelSize() argument
65 if (rmode == ROUND_UP && size * b < a) in levelSize()
173 roundLog2 (int x, LevelRoundingMode rmode) in roundLog2() argument
175 return (rmode == ROUND_DOWN)? floorLog2 (x): ceilLog2 (x); in roundLog2()
264 LevelRoundingMode rmode) in calculateNumTiles() argument
268 numTiles[i] = (levelSize (min, max, i, rmode) + size - 1) / size; in calculateNumTiles()
DImfTiledRgbaFile.h87 LevelRoundingMode rmode = ROUND_DOWN,
106 LevelRoundingMode rmode = ROUND_DOWN,
120 LevelRoundingMode rmode,
145 LevelRoundingMode rmode = ROUND_DOWN,
DImfTiledRgbaFile.cpp265 LevelRoundingMode rmode, in TiledRgbaOutputFile() argument
273 hd.setTileDescription (TileDescription (tileXSize, tileYSize, mode, rmode)); in TiledRgbaOutputFile()
289 LevelRoundingMode rmode, in TiledRgbaOutputFile() argument
297 hd.setTileDescription (TileDescription (tileXSize, tileYSize, mode, rmode)); in TiledRgbaOutputFile()
311 LevelRoundingMode rmode, in TiledRgbaOutputFile() argument
334 hd.setTileDescription (TileDescription (tileXSize, tileYSize, mode, rmode)); in TiledRgbaOutputFile()
349 LevelRoundingMode rmode, in TiledRgbaOutputFile() argument
370 hd.setTileDescription (TileDescription (tileXSize, tileYSize, mode, rmode)); in TiledRgbaOutputFile()
DImfTiledMisc.h51 int levelSize (int min, int max, int l, LevelRoundingMode rmode);
/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.cc825 void Assembler::call(Address entry, RelocInfo::Mode rmode) { in call() argument
826 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in call()
831 emit_runtime_entry(entry, rmode); in call()
836 RelocInfo::Mode rmode, in call() argument
842 emit_code_target(target, rmode, ast_id); in call()
1201 void Assembler::j(Condition cc, Address entry, RelocInfo::Mode rmode) { in j() argument
1202 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in j()
1207 emit_runtime_entry(entry, rmode); in j()
1213 RelocInfo::Mode rmode) { in j() argument
1219 emit_code_target(target, rmode); in j()
[all …]
Dmacro-assembler-x64.h894 void Move(Register dst, void* ptr, RelocInfo::Mode rmode) { in Move() argument
897 DCHECK(rmode > RelocInfo::LAST_GCED_ENUM); in Move()
898 movp(dst, ptr, rmode); in Move()
901 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) { in Move() argument
903 DCHECK(!RelocInfo::IsNone(rmode)); in Move()
906 movp(dst, reinterpret_cast<void*>(value.location()), rmode); in Move()
975 void Jump(Address destination, RelocInfo::Mode rmode);
978 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
980 void Call(Address destination, RelocInfo::Mode rmode);
984 RelocInfo::Mode rmode,
/external/v8/test/cctest/
Dtest-reloc-info.cc84 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
101 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
117 CHECK_EQ(mode, it.rinfo()->rmode()); in TEST()
/external/v8/src/mips64/
Dassembler-mips64-inl.h56 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { in Operand() argument
59 rmode_ = rmode; in Operand()
320 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
326 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
375 RelocInfo::Mode mode = rmode(); in Visit()
400 RelocInfo::Mode mode = rmode(); in Visit()
/external/v8/src/mips/
Dassembler-mips-inl.h56 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
59 rmode_ = rmode; in Operand()
322 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
328 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
374 RelocInfo::Mode mode = rmode(); in Visit()
399 RelocInfo::Mode mode = rmode(); in Visit()
Dassembler-mips.cc946 bool Assembler::MustUseReg(RelocInfo::Mode rmode) { in MustUseReg() argument
947 return !RelocInfo::IsNone(rmode); in MustUseReg()
2779 int Assembler::RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, in RelocateInternalReference() argument
2783 if (RelocInfo::IsInternalReference(rmode)) { in RelocateInternalReference()
2791 DCHECK(RelocInfo::IsInternalReferenceEncoded(rmode)); in RelocateInternalReference()
2856 RelocInfo::Mode rmode = it.rinfo()->rmode(); in GrowBuffer() local
2857 if (rmode == RelocInfo::INTERNAL_REFERENCE_ENCODED || in GrowBuffer()
2858 rmode == RelocInfo::INTERNAL_REFERENCE) { in GrowBuffer()
2860 RelocateInternalReference(rmode, p, pc_delta); in GrowBuffer()
2899 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
[all …]
/external/v8/src/arm64/
Dassembler-arm64.cc281 RelocInfo::Mode rmode = immediate_.rmode(); in NeedsRelocation() local
283 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in NeedsRelocation()
287 return !RelocInfo::IsNone(rmode); in NeedsRelocation()
1688 RecordRelocInfo(imm.rmode(), imm.value()); in ldr()
2870 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
2872 RelocInfo rinfo(isolate(), reinterpret_cast<byte*>(pc_), rmode, data, NULL); in RecordRelocInfo()
2873 if (((rmode >= RelocInfo::COMMENT) && in RecordRelocInfo()
2874 (rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_CALL)) || in RecordRelocInfo()
2875 (rmode == RelocInfo::INTERNAL_REFERENCE) || in RecordRelocInfo()
2876 (rmode == RelocInfo::CONST_POOL) || (rmode == RelocInfo::VENEER_POOL) || in RecordRelocInfo()
[all …]
Dassembler-arm64-inl.h322 Immediate::Immediate(T t, RelocInfo::Mode rmode)
324 rmode_(rmode) {
339 Operand::Operand(T t, RelocInfo::Mode rmode)
340 : immediate_(t, rmode),
824 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence());
833 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence());
875 RelocInfo::Mode mode = rmode();
897 RelocInfo::Mode mode = rmode();
/external/v8/src/arm/
Dassembler-arm-inl.h237 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
243 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
284 RelocInfo::Mode mode = rmode(); in Visit()
308 RelocInfo::Mode mode = rmode(); in Visit()
330 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() argument
333 rmode_ = rmode; in Operand()
/external/v8/src/ppc/
Dassembler-ppc-inl.h298 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in debug_call_address()
304 DCHECK(IsDebugBreakSlot(rmode()) && IsPatchedDebugBreakSlotSequence()); in set_debug_call_address()
366 RelocInfo::Mode mode = rmode(); in Visit()
391 RelocInfo::Mode mode = rmode(); in Visit()
413 Operand::Operand(intptr_t immediate, RelocInfo::Mode rmode) { in Operand() argument
416 rmode_ = rmode; in Operand()
/external/v8/src/heap/
Dobjects-visiting-inl.h221 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
236 DCHECK(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
248 DCHECK(RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
259 DCHECK(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
279 DCHECK(RelocInfo::IsCodeAgeSequence(rinfo->rmode())); in VisitCodeAgeSequence()

123