Home
last modified time | relevance | path

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

1234567

/external/v8/src/mips64/
Dassembler-mips64-inl.h56 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { in Operand()
66 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand()
73 rmode_ = RelocInfo::NONE32; in Operand()
115 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
125 Address RelocInfo::target_address() { in target_address()
131 Address RelocInfo::target_address_address() { in target_address_address()
157 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
163 int RelocInfo::target_address_size() { in target_address_size()
168 void RelocInfo::set_target_address(Address target, in set_target_address()
192 Object* RelocInfo::target_object() { in target_object()
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h56 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand()
66 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand()
73 rmode_ = RelocInfo::NONE32; in Operand()
115 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
133 Address RelocInfo::target_address() { in target_address()
139 Address RelocInfo::target_address_address() { in target_address_address()
163 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
169 int RelocInfo::target_address_size() { in target_address_size()
174 void RelocInfo::set_target_address(Address target, in set_target_address()
198 Object* RelocInfo::target_object() { in target_object()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h56 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
89 Address RelocInfo::target_address() { in target_address()
95 Address RelocInfo::target_address_address() { in target_address_address()
103 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
109 int RelocInfo::target_address_size() { in target_address_size()
114 void RelocInfo::set_target_address(Address target, in set_target_address()
128 Object* RelocInfo::target_object() { in target_object()
134 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
140 void RelocInfo::set_target_object(Object* target, in set_target_object()
157 Address RelocInfo::target_reference() { in target_reference()
[all …]
Dassembler-ia32.cc90 const int RelocInfo::kApplyMask =
91 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
92 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
93 1 << RelocInfo::DEBUG_BREAK_SLOT | 1 << RelocInfo::CODE_AGE_SEQUENCE;
96 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
105 bool RelocInfo::IsInConstantPool() { in IsInConstantPool()
110 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
123 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
138 patcher.masm()->call(target, RelocInfo::NONE32); in PatchCodeWithCall()
155 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand()
[all …]
Dassembler-ia32.h289 bool is_zero() const { return x_ == 0 && RelocInfo::IsNone(rmode_); } in is_zero()
291 return -128 <= x_ && x_ < 128 && RelocInfo::IsNone(rmode_); in is_int8()
294 return -32768 <= x_ && x_ < 32768 && RelocInfo::IsNone(rmode_); in is_int16()
301 RelocInfo::Mode rmode_;
333 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);
357 RelocInfo::EXTERNAL_REFERENCE); in StaticVariable()
364 RelocInfo::EXTERNAL_REFERENCE); in StaticArray()
[all …]
Ddeoptimizer-ia32.cc43 if (pc_delta <= RelocInfo::kMaxSmallPCDelta) { in EnsureRelocSpaceForLazyDeoptimization()
56 int comment_reloc_size = RelocInfo::kMinRelocCommentSize; in EnsureRelocSpaceForLazyDeoptimization()
77 = reinterpret_cast<intptr_t>(RelocInfo::kFillerCommentString); in EnsureRelocSpaceForLazyDeoptimization()
78 RelocInfo rinfo(0, RelocInfo::COMMENT, comment_string, NULL); in EnsureRelocSpaceForLazyDeoptimization()
84 DCHECK(RelocInfo::kMinRelocCommentSize == in EnsureRelocSpaceForLazyDeoptimization()
142 patcher.masm()->call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
144 RelocInfo rinfo(call_address + 1, // 1 after the call opcode. in PatchCodeForDeoptimization()
145 RelocInfo::RUNTIME_ENTRY, in PatchCodeForDeoptimization()
/external/v8/src/x87/
Dassembler-x87-inl.h56 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
89 Address RelocInfo::target_address() { in target_address()
95 Address RelocInfo::target_address_address() { in target_address_address()
103 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
109 int RelocInfo::target_address_size() { in target_address_size()
114 void RelocInfo::set_target_address(Address target, in set_target_address()
129 Object* RelocInfo::target_object() { in target_object()
135 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
141 void RelocInfo::set_target_object(Object* target, in set_target_object()
158 Address RelocInfo::target_reference() { in target_reference()
[all …]
Dassembler-x87.cc85 const int RelocInfo::kApplyMask =
86 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
87 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
88 1 << RelocInfo::DEBUG_BREAK_SLOT | 1 << RelocInfo::CODE_AGE_SEQUENCE;
91 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
100 bool RelocInfo::IsInConstantPool() { in IsInConstantPool()
105 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
118 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
133 patcher.masm()->call(target, RelocInfo::NONE32); in PatchCodeWithCall()
150 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand()
[all …]
Dassembler-x87.h281 bool is_zero() const { return x_ == 0 && RelocInfo::IsNone(rmode_); } in is_zero()
283 return -128 <= x_ && x_ < 128 && RelocInfo::IsNone(rmode_); in is_int8()
286 return -32768 <= x_ && x_ < 32768 && RelocInfo::IsNone(rmode_); in is_int16()
293 RelocInfo::Mode rmode_;
322 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);
346 RelocInfo::EXTERNAL_REFERENCE); in StaticVariable()
353 RelocInfo::EXTERNAL_REFERENCE); in StaticArray()
[all …]
/external/v8/src/x64/
Dassembler-x64-inl.h35 void Assembler::emitp(void* x, RelocInfo::Mode rmode) { in emitp()
38 if (!RelocInfo::IsNone(rmode)) { in emitp()
58 RelocInfo::Mode rmode, in emit_code_target()
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()
63 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id.ToInt()); in emit_code_target()
78 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry()
79 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); in emit_runtime_entry()
227 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
[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/v8/src/arm/
Dassembler-arm-inl.h94 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
95 if (RelocInfo::IsInternalReference(rmode_)) { in apply()
105 Address RelocInfo::target_address() { in target_address()
111 Address RelocInfo::target_address_address() { in target_address_address()
127 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address()
133 int RelocInfo::target_address_size() { in target_address_size()
138 void RelocInfo::set_target_address(Address target, in set_target_address()
152 Object* RelocInfo::target_object() { in target_object()
158 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
165 void RelocInfo::set_target_object(Object* target, in set_target_object()
[all …]
Dassembler-arm.cc222 const int RelocInfo::kApplyMask = 0;
225 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
234 bool RelocInfo::IsInConstantPool() { in IsInConstantPool()
239 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
254 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
272 rmode_ = RelocInfo::EMBEDDED_OBJECT; in Operand()
276 rmode_ = RelocInfo::NONE32; in Operand()
1047 if (rmode_ == RelocInfo::EXTERNAL_REFERENCE) { in must_output_reloc_info()
1050 } else if (RelocInfo::IsNone(rmode_)) { in must_output_reloc_info()
1114 RelocInfo rinfo(pc_, x.rmode_, x.imm32_, NULL); in move_32_bit_immediate()
[all …]
/external/v8/src/
Dassembler.cc116 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
309 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask;
408 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write()
412 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
414 DCHECK(RelocInfo::LAST_STANDARD_NONCOMPACT_ENUM - RelocInfo::LAST_COMPACT_ENUM in Write()
418 RelocInfo::Mode rmode = rinfo->rmode(); in Write()
421 if (rmode == RelocInfo::EMBEDDED_OBJECT) { in Write()
423 } else if (rmode == RelocInfo::CODE_TARGET) { in Write()
425 DCHECK(begin_pos - pos_ <= RelocInfo::kMaxCallSize); in Write()
426 } else if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { in Write()
[all …]
Ddisassembler.cc130 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
147 List<RelocInfo::Mode> rmodes(1); in DecodeIt()
151 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
179 RelocInfo relocinfo(pcs[i], rmodes[i], datas[i], converter.code()); in DecodeIt()
191 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt()
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()
[all …]
Dassembler.h306 class RelocInfo {
378 RelocInfo() {} in RelocInfo() function
380 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo() function
383 RelocInfo(byte* pc, double data64) in RelocInfo() function
449 static inline bool IsEqual(RelocInfo first, RelocInfo second) { in IsEqual()
451 (first.rmode() == RelocInfo::NONE64 ? in IsEqual()
630 void Write(const RelocInfo* rinfo);
686 RelocInfo* rinfo() { in rinfo()
712 bool SetMode(RelocInfo::Mode mode) { in SetMode()
719 RelocInfo rinfo_;
[all …]
Dlithium-codegen.cc184 int mode_mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in RegisterWeakObjectsInOptimizedCode()
185 RelocInfo::ModeMask(RelocInfo::CELL); in RegisterWeakObjectsInOptimizedCode()
187 RelocInfo::Mode mode = it.rinfo()->rmode(); in RegisterWeakObjectsInOptimizedCode()
188 if (mode == RelocInfo::CELL && in RegisterWeakObjectsInOptimizedCode()
192 } else if (mode == RelocInfo::EMBEDDED_OBJECT && in RegisterWeakObjectsInOptimizedCode()
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()
251 ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)); in Reset()
254 ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)); in Reset()
333 if (RelocInfo::IsJSReturn(rmode())) { in SetDebugBreak()
351 if (RelocInfo::IsJSReturn(rmode())) { in ClearDebugBreak()
366 if (RelocInfo::IsConstructCall(original_rmode())) { in IsStepInLocation()
[all …]
Dtype-info.h103 void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos);
104 void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos);
105 void RelocateRelocInfos(ZoneList<RelocInfo>* infos,
108 void ProcessRelocInfos(ZoneList<RelocInfo>* infos);
Dparser.cc723 factory->NewSymbolLiteral("symbolIterator", RelocInfo::kNoPosition); in GetIterator()
735 return factory->NewTheHoleLiteral(RelocInfo::kNoPosition); in GetLiteralTheHole()
1031 shared_info->kind(), RelocInfo::kNoPosition, in ParseLazy()
1263 Block* body = factory()->NewBlock(NULL, 16, false, RelocInfo::kNoPosition); in ParseModuleLiteral()
1381 Block* body = factory()->NewBlock(NULL, 1, false, RelocInfo::kNoPosition); in ParseModuleUrl()
1430 Block* block = factory()->NewBlock(NULL, 1, true, RelocInfo::kNoPosition); in ParseImportDeclaration()
1617 return factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseStatement()
1656 factory()->NewBlock(labels, 1, false, RelocInfo::kNoPosition); in ParseStatement()
1909 name, extension_, RelocInfo::kNoPosition); in ParseNativeDeclaration()
1912 Token::INIT_VAR, proxy, lit, RelocInfo::kNoPosition), in ParseNativeDeclaration()
[all …]
/external/v8/src/arm64/
Dassembler-arm64-inl.h20 void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { in apply()
25 void RelocInfo::set_target_address(Address target, in set_target_address()
269 static inline RelocInfo::Mode rmode_for(T) { in rmode_for()
270 return sizeof(T) == 8 ? RelocInfo::NONE64 : RelocInfo::NONE32; in rmode_for()
282 static inline RelocInfo::Mode rmode_for(Smi* t) {
283 return RelocInfo::NONE64;
294 static inline RelocInfo::Mode rmode_for(ExternalReference t) {
295 return RelocInfo::EXTERNAL_REFERENCE;
316 Immediate::Immediate(T t, RelocInfo::Mode rmode)
333 Operand::Operand(T t, RelocInfo::Mode rmode)
[all …]
Dassembler-arm64.cc169 const int RelocInfo::kApplyMask = 0;
172 bool RelocInfo::IsCodedSpecially() { in IsCodedSpecially()
180 bool RelocInfo::IsInConstantPool() { in IsInConstantPool()
186 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { in PatchCode()
201 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { in PatchCodeWithCall()
281 rmode_ = RelocInfo::EMBEDDED_OBJECT; in InitializeHandle()
285 rmode_ = RelocInfo::NONE64; in InitializeHandle()
291 RelocInfo::Mode rmode = immediate_.rmode(); in NeedsRelocation()
293 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { in NeedsRelocation()
297 return !RelocInfo::IsNone(rmode); in NeedsRelocation()
[all …]
/external/v8/src/heap/
Dobjects-visiting-inl.h216 Heap* heap, RelocInfo* rinfo) { in VisitEmbeddedPointer()
217 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
231 RelocInfo* rinfo) { in VisitCell()
232 DCHECK(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
243 RelocInfo* rinfo) { in VisitDebugTarget()
244 DCHECK((RelocInfo::IsJSReturn(rinfo->rmode()) && in VisitDebugTarget()
246 (RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in VisitDebugTarget()
256 RelocInfo* rinfo) { in VisitCodeTarget()
257 DCHECK(RelocInfo::IsCodeTarget(rinfo->rmode())); in VisitCodeTarget()
280 Heap* heap, RelocInfo* rinfo) { in VisitCodeAgeSequence()
[all …]
/external/v8/src/ic/x64/
Dic-compiler-x64.cc53 __ j(equal, handler_stubs->at(i), RelocInfo::CODE_TARGET); in CompileKeyedStorePolymorphic()
58 RelocInfo::EMBEDDED_OBJECT); in CompileKeyedStorePolymorphic()
59 __ jmp(handler_stubs->at(i), RelocInfo::CODE_TARGET); in CompileKeyedStorePolymorphic()
118 __ j(equal, handlers->at(current), RelocInfo::CODE_TARGET); in CompilePolymorphic()
/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;

1234567