Home
last modified time | relevance | path

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

12345

/external/v8/src/
Dreloc-info.cc112 void RelocInfoWriter::WriteMode(RelocInfo::Mode rmode) { in WriteMode() argument
114 *--pos_ = static_cast<int>((rmode << kTagBits) | kDefaultTag); in WriteMode()
117 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC() argument
120 WriteMode(rmode); in WriteModeAndPC()
141 RelocInfo::Mode rmode = rinfo->rmode(); in Write() local
145 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
152 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
154 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
157 } else if (rmode == RelocInfo::WASM_STUB_CALL) { in Write()
160 WriteModeAndPC(pc_delta, rmode); in Write()
[all …]
Ddisassembler.cc157 RelocInfo::Mode rmode = relocinfo->rmode(); in PrintRelocInfo() local
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()
212 out->AddFormatted(" ;; %s", RelocInfo::RelocModeName(rmode)); in PrintRelocInfo()
[all …]
Dreloc-info.h105 RelocInfo(Address pc, Mode rmode, intptr_t data, Code* host,
108 rmode_(rmode), in pc_()
193 Mode rmode() const { return rmode_; } in rmode() function
312 static const char* RelocModeName(Mode rmode);
370 inline void WriteMode(RelocInfo::Mode rmode);
371 inline void WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode);
Dassembler.h435 RelocInfo::Mode rmode = RelocInfo::NONE)
439 rmode_(rmode) {} in position_()
441 RelocInfo::Mode rmode = RelocInfo::NONE)
445 rmode_(rmode) {} in position_()
469 RelocInfo::Mode rmode() const { return rmode_; } in rmode() function
/external/v8/src/compiler/
Dmachine-graph.cc36 RelocInfo::Mode rmode) { in RelocatableInt32Constant() argument
38 value, static_cast<RelocInfoMode>(rmode)); in RelocatableInt32Constant()
40 *loc = graph()->NewNode(common()->RelocatableInt32Constant(value, rmode)); in RelocatableInt32Constant()
46 RelocInfo::Mode rmode) { in RelocatableInt64Constant() argument
48 value, static_cast<RelocInfoMode>(rmode)); in RelocatableInt64Constant()
50 *loc = graph()->NewNode(common()->RelocatableInt64Constant(value, rmode)); in RelocatableInt64Constant()
56 RelocInfo::Mode rmode) { in RelocatableIntPtrConstant() argument
58 ? RelocatableInt64Constant(value, rmode) in RelocatableIntPtrConstant()
59 : RelocatableInt32Constant(static_cast<int>(value), rmode); in RelocatableIntPtrConstant()
Dcommon-node-cache.h59 Node** FindRelocatableInt32Constant(int32_t value, RelocInfoMode rmode) { in FindRelocatableInt32Constant() argument
61 std::make_pair(value, rmode)); in FindRelocatableInt32Constant()
64 Node** FindRelocatableInt64Constant(int64_t value, RelocInfoMode rmode) { in FindRelocatableInt64Constant() argument
66 std::make_pair(value, rmode)); in FindRelocatableInt64Constant()
Dmachine-graph.h47 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()
Dcommon-operator.h214 RelocatablePtrConstantInfo(int32_t value, RelocInfo::Mode rmode) in RelocatablePtrConstantInfo() argument
215 : value_(value), rmode_(rmode), type_(kInt32) {} in RelocatablePtrConstantInfo()
216 RelocatablePtrConstantInfo(int64_t value, RelocInfo::Mode rmode) in RelocatablePtrConstantInfo() argument
217 : value_(value), rmode_(rmode), type_(kInt64) {} in RelocatablePtrConstantInfo()
220 RelocInfo::Mode rmode() const { return rmode_; } in rmode() function
492 RelocInfo::Mode rmode); in NON_EXPORTED_BASE()
494 RelocInfo::Mode rmode); in NON_EXPORTED_BASE()
/external/python/cpython2/Tools/scripts/
Dmd5sum.py9 rmode = 'rb' variable
45 fp = open(filename, rmode)
70 global fnfilter, rmode, bufsize
80 rmode = 'rb'
82 rmode = 'r'
Dtreesync.py176 def copy(src, dst, rmode="rb", wmode="wb", answer='ask'): argument
181 f = open(src, rmode)
/external/python/cpython3/Tools/scripts/
Dmd5sum.py9 rmode = 'rb' variable
46 fp = open(filename, rmode)
73 global fnfilter, rmode, bufsize
83 rmode = 'rb'
85 rmode = 'r'
/external/v8/src/s390/
Dassembler-s390.cc669 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode) { in call() argument
670 DCHECK(RelocInfo::IsCodeTarget(rmode)); in call()
673 RecordRelocInfo(rmode); in call()
686 void Assembler::jump(Handle<Code> target, RelocInfo::Mode rmode, in jump() argument
688 DCHECK(RelocInfo::IsCodeTarget(rmode)); in jump()
691 RecordRelocInfo(rmode); in jump()
796 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { in RecordRelocInfo() argument
798 if (RelocInfo::IsNone(rmode) || in RecordRelocInfo()
800 (RelocInfo::IsOnlyForSerializer(rmode) && in RecordRelocInfo()
804 DeferredRelocInfo rinfo(pc_offset(), rmode, data); in RecordRelocInfo()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h179 RelocInfo::Mode mode = rmode(); in Visit()
211 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode) { in emit() argument
212 if (!RelocInfo::IsNone(rmode)) { in emit()
213 RecordRelocInfo(rmode); in emit()
218 void Assembler::emit(Handle<Code> code, RelocInfo::Mode rmode) { in emit() argument
219 emit(code.address(), rmode); in emit()
Dassembler-ia32.cc235 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
237 if (disp == 0 && RelocInfo::IsNone(rmode) && base != ebp) { in Operand()
241 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
250 set_dispr(disp, rmode); in Operand()
259 RelocInfo::Mode rmode) { in Operand() argument
262 if (disp == 0 && RelocInfo::IsNone(rmode) && base != ebp) { in Operand()
266 } else if (is_int8(disp) && RelocInfo::IsNone(rmode)) { in Operand()
275 set_dispr(disp, rmode); in Operand()
283 RelocInfo::Mode rmode) { in Operand() argument
288 set_dispr(disp, rmode); in Operand()
[all …]
Dassembler-ia32.h214 inline explicit Immediate(int x, RelocInfo::Mode rmode = RelocInfo::NONE) {
216 rmode_ = rmode;
250 return rmode() == RelocInfo::EXTERNAL_REFERENCE; in is_external_reference()
273 RelocInfo::Mode rmode() const { return rmode_; } in rmode() function
321 V8_INLINE explicit Operand(int32_t disp, RelocInfo::Mode rmode) { in Operand() argument
323 set_dispr(disp, rmode); in Operand()
334 RelocInfo::Mode rmode = RelocInfo::NONE);
338 int32_t disp, RelocInfo::Mode rmode = RelocInfo::NONE);
342 RelocInfo::Mode rmode = RelocInfo::NONE);
375 inline void set_dispr(int32_t disp, RelocInfo::Mode rmode) { in set_dispr() argument
[all …]
/external/v8/src/x64/
Dassembler-x64-inl.h31 void Assembler::emitp(Address x, RelocInfo::Mode rmode) { in emitp() argument
33 if (!RelocInfo::IsNone(rmode)) { in emitp()
34 RecordRelocInfo(rmode, x); in emitp()
51 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry() argument
52 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry()
53 RecordRelocInfo(rmode); in emit_runtime_entry()
404 RelocInfo::Mode mode = rmode(); in Visit()
Dmacro-assembler-x64.h341 RelocInfo::Mode rmode = RelocInfo::EMBEDDED_OBJECT);
343 RelocInfo::Mode rmode = RelocInfo::EMBEDDED_OBJECT);
346 void Move(Register dst, Address ptr, RelocInfo::Mode rmode) { in Move() argument
349 DCHECK(rmode > RelocInfo::LAST_GCED_ENUM); in Move()
350 movp(dst, ptr, rmode); in Move()
377 void Call(Handle<Code> code_object, RelocInfo::Mode rmode);
378 void Call(Address destination, RelocInfo::Mode rmode);
383 void RetpolineCall(Address destination, RelocInfo::Mode rmode);
385 void Jump(Address destination, RelocInfo::Mode rmode);
388 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode,
[all …]
Dassembler-x64.cc431 bool Assembler::UseConstPoolFor(RelocInfo::Mode rmode) { in UseConstPoolFor() argument
433 return (rmode == RelocInfo::NONE || rmode == RelocInfo::EXTERNAL_REFERENCE || in UseConstPoolFor()
434 rmode == RelocInfo::OFF_HEAP_TARGET); in UseConstPoolFor()
1088 void Assembler::call(Address entry, RelocInfo::Mode rmode) { in call() argument
1089 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in call()
1093 emit_runtime_entry(entry, rmode); in call()
1106 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode) { in call() argument
1107 DCHECK(RelocInfo::IsCodeTarget(rmode)); in call()
1111 RecordRelocInfo(rmode); in call()
1116 void Assembler::near_call(Address addr, RelocInfo::Mode rmode) { in near_call() argument
[all …]
/external/v8/src/heap/
Dremembered-set.h297 DCHECK(RelocInfo::IsCodeTargetMode(rinfo->rmode())); in UpdateCodeTarget()
315 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in UpdateEmbeddedPointer()
354 inline SlotType SlotTypeForRelocInfoMode(RelocInfo::Mode rmode) { in SlotTypeForRelocInfoMode() argument
355 if (RelocInfo::IsCodeTargetMode(rmode)) { in SlotTypeForRelocInfoMode()
357 } else if (RelocInfo::IsEmbeddedObject(rmode)) { in SlotTypeForRelocInfoMode()
Dcode-stats.cc169 DCHECK(it->rinfo()->rmode() == RelocInfo::COMMENT); in CollectCommentStatistics()
186 if (it->rinfo()->rmode() == RelocInfo::COMMENT) { in CollectCommentStatistics()
215 if (it.rinfo()->rmode() == RelocInfo::COMMENT) { in CollectCodeCommentStatistics()
/external/v8/src/arm64/
Dmacro-assembler-arm64.cc1837 void TurboAssembler::JumpHelper(int64_t offset, RelocInfo::Mode rmode, in JumpHelper() argument
1842 if (CanUseNearCallOrJump(rmode)) { in JumpHelper()
1844 near_jump(static_cast<int>(offset), rmode); in JumpHelper()
1849 Mov(temp, Immediate(imm, rmode)); in JumpHelper()
1861 static int64_t CalculateTargetOffset(Address target, RelocInfo::Mode rmode, in CalculateTargetOffset() argument
1866 if (rmode != RelocInfo::WASM_CALL && rmode != RelocInfo::WASM_STUB_CALL) { in CalculateTargetOffset()
1875 void TurboAssembler::Jump(Address target, RelocInfo::Mode rmode, in Jump() argument
1877 JumpHelper(CalculateTargetOffset(target, rmode, pc_), rmode, cond); in Jump()
1880 void TurboAssembler::Jump(Handle<Code> code, RelocInfo::Mode rmode, in Jump() argument
1882 DCHECK(RelocInfo::IsCodeTarget(rmode)); in Jump()
[all …]
Dassembler-arm64-inl.h251 Immediate::Immediate(T t, RelocInfo::Mode rmode)
253 rmode_(rmode) {
267 Operand::Operand(T t, RelocInfo::Mode rmode)
268 : immediate_(t, rmode),
300 immediate_.rmode() == RelocInfo::EMBEDDED_OBJECT ||
301 immediate_.rmode() == RelocInfo::CODE_TARGET);
342 immediate_.rmode() == RelocInfo::EMBEDDED_OBJECT) ||
344 immediate_.rmode() == RelocInfo::CODE_TARGET));
361 return immediate_.rmode();
774 RelocInfo::Mode mode = rmode();
/external/v8/src/wasm/
Dwasm-serialization.cc158 if (rinfo->rmode() == RelocInfo::EXTERNAL_REFERENCE) { in SetWasmCalleeTag()
160 } else if (rinfo->rmode() == RelocInfo::WASM_STUB_CALL) { in SetWasmCalleeTag()
182 if (rinfo->rmode() == RelocInfo::EXTERNAL_REFERENCE) { in GetWasmCalleeTag()
184 } else if (rinfo->rmode() == RelocInfo::WASM_STUB_CALL) { in GetWasmCalleeTag()
334 RelocInfo::Mode mode = orig_iter.rinfo()->rmode(); in WriteCode()
492 RelocInfo::Mode mode = iter.rinfo()->rmode(); in ReadCode()
/external/u-boot/common/
Dcli_hush.c1774 reserved_style rmode, skip_more_in_this_rmode=RES_XXXX; local
1814 rmode = pi->r_mode;
1815 …debug_printf("rmode=%d if_code=%d next_if_code=%d skip_more=%d\n", rmode, if_code, next_if_code,…
1816 if (rmode == skip_more_in_this_rmode && flag_skip) {
1822 if (rmode == RES_THEN || rmode == RES_ELSE) if_code = next_if_code;
1823 if (rmode == RES_THEN && if_code) continue;
1824 if (rmode == RES_ELSE && !if_code) continue;
1825 if (rmode == RES_ELIF && !if_code) break;
1826 if (rmode == RES_FOR && pi->num_progs) {
1860 if (rmode == RES_IN) continue;
[all …]
/external/v8/src/arm/
Dmacro-assembler-arm.h315 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al,
318 void Call(Handle<Code> code, RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
327 RelocInfo::Mode rmode) { in CallForDeoptimization() argument
329 Call(target, rmode); in CallForDeoptimization()
406 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al);
407 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
547 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);

12345