/external/v8/src/mips64/ |
D | assembler-mips64-inl.h | 56 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { in Operand() 66 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand() 73 rmode_ = RelocInfo::NONE32; in Operand() 90 void RelocInfo::apply(intptr_t delta) { in apply() 100 Address RelocInfo::target_address() { in target_address() 105 Address RelocInfo::target_address_address() { in target_address_address() 131 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 137 int RelocInfo::target_address_size() { in target_address_size() 142 void RelocInfo::set_target_address(Address target, in set_target_address() 180 Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() [all …]
|
/external/v8/src/ia32/ |
D | assembler-ia32-inl.h | 56 void RelocInfo::apply(intptr_t delta) { in apply() 79 Address RelocInfo::target_address() { in target_address() 84 Address RelocInfo::target_address_address() { in target_address_address() 92 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 98 int RelocInfo::target_address_size() { in target_address_size() 103 void RelocInfo::set_target_address(Address target, in set_target_address() 117 Object* RelocInfo::target_object() { in target_object() 123 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 129 void RelocInfo::set_target_object(Object* target, in set_target_object() 146 Address RelocInfo::target_external_reference() { in target_external_reference() [all …]
|
/external/v8/src/x87/ |
D | assembler-x87-inl.h | 56 void RelocInfo::apply(intptr_t delta) { in apply() 79 Address RelocInfo::target_address() { in target_address() 84 Address RelocInfo::target_address_address() { in target_address_address() 92 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 98 int RelocInfo::target_address_size() { in target_address_size() 103 void RelocInfo::set_target_address(Address target, in set_target_address() 118 Object* RelocInfo::target_object() { in target_object() 124 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 130 void RelocInfo::set_target_object(Object* target, in set_target_object() 147 Address RelocInfo::target_external_reference() { in target_external_reference() [all …]
|
D | assembler-x87.h | 275 inline explicit Immediate(Address x, RelocInfo::Mode rmode); 281 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 v8::internal::is_uint8(x_) && RelocInfo::IsNone(rmode_); in is_uint8() 289 return -32768 <= x_ && x_ < 32768 && RelocInfo::IsNone(rmode_); in is_int16() 292 return v8::internal::is_uint16(x_) && RelocInfo::IsNone(rmode_); in is_uint16() 299 RelocInfo::Mode rmode_; 328 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode)); 335 RelocInfo::Mode rmode = RelocInfo::NONE32); 342 RelocInfo::Mode rmode = RelocInfo::NONE32); [all …]
|
/external/v8/src/mips/ |
D | assembler-mips-inl.h | 56 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) { in Operand() 66 rmode_ = RelocInfo::EXTERNAL_REFERENCE; in Operand() 73 rmode_ = RelocInfo::NONE32; in Operand() 90 void RelocInfo::apply(intptr_t delta) { in apply() 100 Address RelocInfo::target_address() { in target_address() 105 Address RelocInfo::target_address_address() { in target_address_address() 129 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 135 int RelocInfo::target_address_size() { in target_address_size() 140 void RelocInfo::set_target_address(Address target, in set_target_address() 192 Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() [all …]
|
/external/v8/test/cctest/ |
D | test-reloc-info.cc | 36 byte* pc, RelocInfo::Mode mode, intptr_t data) { in WriteRinfo() 37 RelocInfo rinfo(CcTest::i_isolate(), pc, mode, data, NULL); in WriteRinfo() 57 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST() 58 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST() 59 if (mode == RelocInfo::STATEMENT_POSITION) { in TEST() 77 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::POSITION)); in TEST() 81 RelocInfo::Mode mode = (i % 2 == 0) ? in TEST() 82 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; in TEST() 83 if (mode == RelocInfo::POSITION) { in TEST() 95 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::STATEMENT_POSITION)); in TEST() [all …]
|
D | test-run-wasm-relocation-arm.cc | 35 __ mov(r0, Operand(imm, RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() 56 int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 58 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 59 if (RelocInfo::IsWasmMemoryReference(mode)) { in TEST() 90 __ mov(r0, Operand(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 91 __ cmp(r0, Operand(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 115 int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 117 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 118 if (RelocInfo::IsWasmMemorySizeReference(mode)) { in TEST()
|
D | test-run-wasm-relocation-x87.cc | 36 RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() 62 int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 64 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 65 if (RelocInfo::IsWasmMemoryReference(mode)) { in TEST() 99 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 101 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 129 int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 131 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 132 if (RelocInfo::IsWasmMemorySizeReference(mode)) { in TEST()
|
D | test-run-wasm-relocation-ia32.cc | 36 RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() 62 int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 64 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 65 if (RelocInfo::IsWasmMemoryReference(mode)) { in TEST() 99 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 101 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 129 int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 131 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 132 if (RelocInfo::IsWasmMemorySizeReference(mode)) { in TEST()
|
D | test-run-wasm-relocation-x64.cc | 33 __ movq(rax, imm, RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 58 int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 60 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 61 if (RelocInfo::IsWasmMemoryReference(mode)) { in TEST() 93 __ movl(rax, Immediate(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 94 __ cmpl(rax, Immediate(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 121 int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 123 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 124 if (RelocInfo::IsWasmMemorySizeReference(mode)) { in TEST()
|
D | test-run-wasm-relocation-arm64.cc | 37 __ Mov(x0, Immediate(imm, RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() 58 int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); in TEST() 60 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 61 if (RelocInfo::IsWasmMemoryReference(mode)) { in TEST() 87 Immediate size = Immediate(512, RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 118 int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST() 120 RelocInfo::Mode mode = it.rinfo()->rmode(); in TEST() 121 if (RelocInfo::IsWasmMemorySizeReference(mode)) { in TEST()
|
/external/v8/src/s390/ |
D | assembler-s390-inl.h | 50 void RelocInfo::apply(intptr_t delta) { in apply() 75 Address RelocInfo::target_internal_reference() { in target_internal_reference() 86 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address() 91 Address RelocInfo::target_address() { in target_address() 96 Address RelocInfo::target_address_address() { in target_address_address() 112 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 117 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 119 void RelocInfo::set_target_address(Address target, in set_target_address() 154 Object* RelocInfo::target_object() { in target_object() 159 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64-inl.h | 35 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() 285 Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) { in deserialization_set_target_internal_reference_at() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 58 void RelocInfo::apply(intptr_t delta) { in apply() 59 if (RelocInfo::IsInternalReference(rmode_)) { in apply() 69 Address RelocInfo::target_address() { in target_address() 74 Address RelocInfo::target_address_address() { in target_address_address() 91 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 97 int RelocInfo::target_address_size() { in target_address_size() 102 void RelocInfo::set_target_address(Address target, in set_target_address() 116 Object* RelocInfo::target_object() { in target_object() 122 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 129 void RelocInfo::set_target_object(Object* target, in set_target_object() [all …]
|
/external/v8/src/ppc/ |
D | assembler-ppc-inl.h | 53 void RelocInfo::apply(intptr_t delta) { in apply() 69 Address RelocInfo::target_internal_reference() { in target_internal_reference() 81 Address RelocInfo::target_internal_reference_address() { in target_internal_reference_address() 87 Address RelocInfo::target_address() { in target_address() 92 Address RelocInfo::target_address_address() { in target_address_address() 117 Address RelocInfo::constant_pool_entry_address() { in constant_pool_entry_address() 131 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 134 void RelocInfo::set_target_address(Address target, in set_target_address() 181 Object* RelocInfo::target_object() { in target_object() 187 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() [all …]
|
/external/v8/src/arm64/ |
D | assembler-arm64-inl.h | 20 void RelocInfo::apply(intptr_t delta) { in apply() 22 DCHECK(RelocInfo::IsInternalReference(rmode_)); in apply() 30 void RelocInfo::set_target_address(Address target, in set_target_address() 274 static inline RelocInfo::Mode rmode_for(T) { in rmode_for() 275 return sizeof(T) == 8 ? RelocInfo::NONE64 : RelocInfo::NONE32; in rmode_for() 287 static inline RelocInfo::Mode rmode_for(Smi* t) { 288 return RelocInfo::NONE64; 299 static inline RelocInfo::Mode rmode_for(ExternalReference t) { 300 return RelocInfo::EXTERNAL_REFERENCE; 321 Immediate::Immediate(T t, RelocInfo::Mode rmode) [all …]
|
/external/v8/src/ |
D | disassembler.cc | 110 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt() 126 List<RelocInfo::Mode> rmodes(1); in DecodeIt() 130 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt() 159 RelocInfo relocinfo(isolate, pcs[i], rmodes[i], datas[i], in DecodeIt() 172 RelocInfo::Mode rmode = relocinfo.rmode(); in DecodeIt() 173 if (RelocInfo::IsPosition(rmode)) { in DecodeIt() 174 if (RelocInfo::IsStatementPosition(rmode)) { in DecodeIt() 181 } else if (rmode == RelocInfo::DEOPT_REASON) { in DecodeIt() 186 } else if (rmode == RelocInfo::DEOPT_ID) { in DecodeIt() 189 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) { in DecodeIt() [all …]
|
D | assembler.cc | 130 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING"; 313 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask; 326 void RelocInfo::update_wasm_memory_reference( in update_wasm_memory_reference() 355 void RelocInfo::update_wasm_global_reference( in update_wasm_global_reference() 375 WriteMode(RelocInfo::PC_JUMP); in WriteLongPCJump() 402 void RelocInfoWriter::WriteMode(RelocInfo::Mode rmode) { in WriteMode() 403 STATIC_ASSERT(RelocInfo::NUMBER_OF_MODES <= (1 << kLongTagBits)); in WriteMode() 408 void RelocInfoWriter::WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode) { in WriteModeAndPC() 435 RelocInfo::Mode rmode) { in WritePosition() 436 int pos_type_tag = (rmode == RelocInfo::POSITION) ? kNonstatementPositionTag in WritePosition() [all …]
|
D | objects-body-descriptors-inl.h | 368 int mode_mask = RelocInfo::kCodeTargetMask | in IterateBody() 369 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in IterateBody() 370 RelocInfo::ModeMask(RelocInfo::CELL) | in IterateBody() 371 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | in IterateBody() 372 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE) | in IterateBody() 373 RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE_ENCODED) | in IterateBody() 374 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY) | in IterateBody() 375 RelocInfo::kDebugBreakSlotMask; in IterateBody() 395 int mode_mask = RelocInfo::kCodeTargetMask | in IterateBody() 396 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) | in IterateBody() [all …]
|
/external/v8/src/heap/ |
D | remembered-set.h | 237 static SlotCallbackResult UpdateCell(RelocInfo* rinfo, Callback callback) { in UpdateCell() 238 DCHECK(rinfo->rmode() == RelocInfo::CELL); in UpdateCell() 266 static SlotCallbackResult UpdateCodeTarget(RelocInfo* rinfo, in UpdateCodeTarget() 268 DCHECK(RelocInfo::IsCodeTarget(rinfo->rmode())); in UpdateCodeTarget() 281 static SlotCallbackResult UpdateEmbeddedPointer(RelocInfo* rinfo, in UpdateEmbeddedPointer() 283 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in UpdateEmbeddedPointer() 296 static SlotCallbackResult UpdateDebugTarget(RelocInfo* rinfo, in UpdateDebugTarget() 298 DCHECK(RelocInfo::IsDebugBreakSlot(rinfo->rmode()) && in UpdateDebugTarget() 315 RelocInfo rinfo(isolate, addr, RelocInfo::CODE_TARGET, 0, NULL); in UpdateTypedSlot() 319 RelocInfo rinfo(isolate, addr, RelocInfo::CELL, 0, NULL); in UpdateTypedSlot() [all …]
|
/external/v8/src/parsing/ |
D | pattern-rewriter.cc | 162 DCHECK(initializer_position_ != RelocInfo::kNoPosition); in VisitVariableProxy() 251 factory()->NewNumberLiteral(language_mode, RelocInfo::kNoPosition), in VisitVariableProxy() 313 RelocInfo::kNoPosition); in CreateTempVar() 316 factory()->NewExpressionStatement(assignment, RelocInfo::kNoPosition), in CreateTempVar() 351 factory()->NewUndefinedLiteral(RelocInfo::kNoPosition), in VisitRewritableExpression() 352 RelocInfo::kNoPosition); in VisitRewritableExpression() 355 RelocInfo::kNoPosition); in VisitRewritableExpression() 432 property->key(), RelocInfo::kNoPosition)); in VisitObjectLiteral() 450 factory()->NewVariableProxy(temp), factory(), RelocInfo::kNoPosition)); in VisitArrayLiteral() 452 factory()->NewBooleanLiteral(false, RelocInfo::kNoPosition)); in VisitArrayLiteral() [all …]
|
D | rewriter.cc | 54 RelocInfo::kNoPosition); in SetResult() 96 Expression* undef = factory()->NewUndefinedLiteral(RelocInfo::kNoPosition); in AssignUndefinedBefore() 98 Token::ASSIGN, result_proxy, undef, RelocInfo::kNoPosition); in AssignUndefinedBefore() 99 Block* b = factory()->NewBlock(NULL, 2, false, RelocInfo::kNoPosition); in AssignUndefinedBefore() 101 factory()->NewExpressionStatement(assignment, RelocInfo::kNoPosition), in AssignUndefinedBefore() 235 Token::ASSIGN, backup_proxy, result_proxy, RelocInfo::kNoPosition); in VisitTryFinallyStatement() 237 Token::ASSIGN, result_proxy, backup_proxy, RelocInfo::kNoPosition); in VisitTryFinallyStatement() 239 0, factory()->NewExpressionStatement(save, RelocInfo::kNoPosition), in VisitTryFinallyStatement() 242 factory()->NewExpressionStatement(restore, RelocInfo::kNoPosition), in VisitTryFinallyStatement() 358 int pos = RelocInfo::kNoPosition; in DECLARATION_NODE_LIST() [all …]
|
D | parser.cc | 516 int pos = RelocInfo::kNoPosition; in BuildIteratorResult() 646 factory->NewSymbolLiteral("home_object_symbol", RelocInfo::kNoPosition); in SuperPropertyReference() 742 factory->NewSymbolLiteral("iterator_symbol", RelocInfo::kNoPosition); in GetIterator() 753 return factory->NewTheHoleLiteral(RelocInfo::kNoPosition); in GetLiteralTheHole() 1171 RelocInfo::kNoPosition, function_type, in ParseLazy() 1594 result = factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseExportDefault() 1612 result = factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseExportDefault() 1633 result = factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseExportDefault() 1804 return factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseStatement() 1841 return factory()->NewEmptyStatement(RelocInfo::kNoPosition); in ParseSubStatement() [all …]
|
/external/v8/test/cctest/compiler/ |
D | test-run-wasm-machops.cc | 25 int mode_mask = RelocInfo::ModeMask(RelocInfo::WASM_MEMORY_REFERENCE) | in UpdateMemoryReferences() 26 RelocInfo::ModeMask(RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in UpdateMemoryReferences() 28 RelocInfo::Mode mode = it.rinfo()->rmode(); in UpdateMemoryReferences() 29 if (RelocInfo::IsWasmMemoryReference(mode) || in UpdateMemoryReferences() 30 RelocInfo::IsWasmMemorySizeReference(mode)) { in UpdateMemoryReferences() 57 RelocInfo::WASM_MEMORY_REFERENCE); in RunLoadStoreRelocation() 60 RelocInfo::WASM_MEMORY_REFERENCE); in RunLoadStoreRelocation() 107 RelocInfo::WASM_MEMORY_REFERENCE); in RunLoadStoreRelocationOffset() 154 m.RelocatableInt32Constant(0x200, RelocInfo::WASM_MEMORY_SIZE_REFERENCE); in TEST()
|
/external/v8/test/cctest/wasm/ |
D | test-run-wasm-asmjs.cc | 30 uint32_t GetMatchingRelocInfoCount(Handle<Code> code, RelocInfo::Mode rmode) { in GetMatchingRelocInfoCount() 230 RelocInfo::WASM_MEMORY_REFERENCE)); \ 233 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); \ 245 RelocInfo::WASM_MEMORY_REFERENCE)); \ 248 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); \ 259 RelocInfo::WASM_MEMORY_REFERENCE)); in FOREACH_INT_CHECKED_STORE_OP() 261 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in FOREACH_INT_CHECKED_STORE_OP() 271 RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() 273 RelocInfo::WASM_MEMORY_SIZE_REFERENCE)); in TEST() 282 RelocInfo::WASM_MEMORY_REFERENCE)); in TEST() [all …]
|