/third_party/node/deps/v8/src/codegen/mips/ |
D | assembler-mips-inl.h | 67 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply() 69 Assembler::RelocateRelativeReference(rmode_, pc_, delta); in apply() 76 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 99 return pc_ + (Assembler::kInstructionsFor32BitConstant - 1) * kInstrSize; in target_address_address() 101 return pc_ + Assembler::kInstructionsFor32BitConstant * kInstrSize; in target_address_address() 163 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() 166 Object(Assembler::target_address_at(pc_, constant_pool_))); in target_object() 172 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle() 174 return Handle<HeapObject>::cast(ReadUnalignedValue<Handle<Object>>(pc_)); in target_object_handle() 177 return origin->relative_code_target_object_handle_at(pc_); in target_object_handle() [all …]
|
/third_party/node/deps/v8/src/codegen/mips64/ |
D | assembler-mips64-inl.h | 67 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply() 73 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 92 return pc_ + Assembler::kInstructionsFor64BitConstant * kInstrSize; in target_address_address() 142 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() 145 Object(Assembler::target_address_at(pc_, constant_pool_))); in target_object() 150 return Handle<HeapObject>::cast(ReadUnalignedValue<Handle<Object>>(pc_)); in target_object_handle() 154 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle() 164 WriteUnalignedValue(pc_, target.ptr()); in set_target_object() 167 Assembler::set_target_address_at(pc_, constant_pool_, target.ptr(), in set_target_object() 178 return Assembler::target_address_at(pc_, constant_pool_); in target_external_reference() [all …]
|
/third_party/node/deps/v8/src/codegen/loong64/ |
D | assembler-loong64-inl.h | 35 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply() 38 Assembler::RelocateRelativeReference(rmode_, pc_, delta); in apply() 45 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 64 return pc_ + Assembler::kInstructionsFor64BitConstant * kInstrSize; in target_address_address() 92 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() 95 Object(Assembler::target_address_at(pc_, constant_pool_))); in target_object() 100 return Handle<HeapObject>::cast(ReadUnalignedValue<Handle<Object>>(pc_)); in target_object_handle() 103 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle() 106 return origin->relative_code_target_object_handle_at(pc_); in target_object_handle() 116 WriteUnalignedValue(pc_, target.ptr()); in set_target_object() [all …]
|
/third_party/node/deps/v8/src/codegen/riscv64/ |
D | assembler-riscv64-inl.h | 65 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply() 68 Assembler::RelocateRelativeReference(rmode_, pc_, delta); in apply() 75 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 94 return pc_ + Assembler::kInstructionsFor64BitConstant * kInstrSize; in target_address_address() 162 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() 166 Assembler::target_compressed_address_at(pc_, constant_pool_)))); in target_object() 169 Object(Assembler::target_address_at(pc_, constant_pool_))); in target_object() 175 return Handle<HeapObject>::cast(ReadUnalignedValue<Handle<Object>>(pc_)); in target_object_handle() 178 origin->code_target_object_handle_at(pc_, constant_pool_)); in target_object_handle() 180 return origin->compressed_embedded_object_handle_at(pc_, constant_pool_); in target_object_handle() [all …]
|
/third_party/node/deps/v8/src/codegen/ia32/ |
D | assembler-ia32-inl.h | 60 base::WriteUnalignedValue(pc_, in apply() 61 base::ReadUnalignedValue<int32_t>(pc_) - delta); in apply() 64 base::WriteUnalignedValue(pc_, in apply() 65 base::ReadUnalignedValue<int32_t>(pc_) + delta); in apply() 71 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 76 return pc_; in target_address_address() 86 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() 92 return Handle<HeapObject>::cast(ReadUnalignedValue<Handle<Object>>(pc_)); in target_object_handle() 100 WriteUnalignedValue(pc_, target.ptr()); in set_target_object() 102 FlushInstructionCache(pc_, sizeof(Address)); in set_target_object() [all …]
|
/third_party/node/deps/v8/src/regexp/ |
D | regexp-bytecode-generator-inl.h | 26 DCHECK(pc_ <= static_cast<int>(buffer_.size())); in Emit16() 27 if (pc_ + 1 >= static_cast<int>(buffer_.size())) { in Emit16() 30 *reinterpret_cast<uint16_t*>(buffer_.data() + pc_) = word; in Emit16() 31 pc_ += 2; in Emit16() 35 DCHECK(pc_ <= static_cast<int>(buffer_.size())); in Emit8() 36 if (pc_ == static_cast<int>(buffer_.size())) { in Emit8() 39 *reinterpret_cast<unsigned char*>(buffer_.data() + pc_) = word; in Emit8() 40 pc_ += 1; in Emit8() 44 DCHECK(pc_ <= static_cast<int>(buffer_.size())); in Emit32() 45 if (pc_ + 3 >= static_cast<int>(buffer_.size())) { in Emit32() [all …]
|
D | regexp-bytecode-generator.cc | 20 pc_(0), in RegExpBytecodeGenerator() 42 *reinterpret_cast<uint32_t*>(buffer_.data() + fixup) = pc_; in Bind() 43 jump_edges_.emplace(fixup, pc_); in Bind() 46 l->bind_to(pc_); in Bind() 54 jump_edges_.emplace(pc_, pos); in EmitOrLink() 59 l->link_to(pc_); in EmitOrLink() 141 if (advance_current_end_ == pc_) { in GoTo() 143 pc_ = advance_current_start_; in GoTo() 171 advance_current_start_ = pc_; in AdvanceCurrentPosition() 174 advance_current_end_ = pc_; in AdvanceCurrentPosition() [all …]
|
/third_party/node/deps/v8/src/codegen/s390/ |
D | assembler-s390-inl.h | 55 Address target = Memory<Address>(pc_); in apply() 56 Memory<Address>(pc_) = target + delta; in apply() 59 Instruction::InstructionBits(reinterpret_cast<const byte*>(pc_)); in apply() 65 Instruction::SetInstructionBits<SixByteInstr>(reinterpret_cast<byte*>(pc_), in apply() 70 Address target = Assembler::target_address_at(pc_, constant_pool_); in apply() 71 Assembler::set_target_address_at(pc_, constant_pool_, target + delta, in apply() 79 return Memory<Address>(pc_); in target_internal_reference() 83 return Assembler::target_address_at(pc_, constant_pool_); in target_internal_reference() 89 return pc_; in target_internal_reference_address() 95 return Assembler::target_address_at(pc_, constant_pool_); in target_address() [all …]
|
D | assembler-s390.cc | 313 Assembler::target_address_at(pc_, constant_pool_)); in wasm_call_tag() 379 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); 787 pc_ += pc_delta; in GrowBuffer() 798 *reinterpret_cast<uint8_t*>(pc_) = data; in db() 799 pc_ += sizeof(uint8_t); in db() 809 *reinterpret_cast<uint32_t*>(pc_) = data; in dd() 810 pc_ += sizeof(uint32_t); in dd() 820 *reinterpret_cast<uint64_t*>(pc_) = value; in dq() 821 pc_ += sizeof(uint64_t); in dq() 831 *reinterpret_cast<uintptr_t*>(pc_) = data; in dp() [all …]
|
/third_party/node/deps/v8/src/codegen/ppc/ |
D | assembler-ppc-inl.h | 55 Address target = Memory<Address>(pc_); in apply() 56 Memory<Address>(pc_) = target + delta; in apply() 60 Address target = Assembler::target_address_at(pc_, constant_pool_); in apply() 61 Assembler::set_target_address_at(pc_, constant_pool_, target + delta, in apply() 69 return Memory<Address>(pc_); in target_internal_reference() 73 return Assembler::target_address_at(pc_, constant_pool_); in target_internal_reference() 79 return pc_; in target_internal_reference_address() 84 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 91 Assembler::IsConstantPoolLoadStart(pc_)) { in target_address_address() 95 return pc_; in target_address_address() [all …]
|
/third_party/node/deps/v8/src/codegen/x64/ |
D | assembler-x64-inl.h | 24 WriteUnalignedValue(reinterpret_cast<Address>(pc_), x); in emitl() 25 pc_ += sizeof(uint32_t); in emitl() 29 WriteUnalignedValue(reinterpret_cast<Address>(pc_), x); in emitq() 30 pc_ += sizeof(uint64_t); in emitq() 34 WriteUnalignedValue(reinterpret_cast<Address>(pc_), x); in emitw() 35 pc_ += sizeof(uint16_t); in emitw() 286 pc_, ReadUnalignedValue<int32_t>(pc_) - static_cast<int32_t>(delta)); in apply() 289 WriteUnalignedValue(pc_, ReadUnalignedValue<Address>(pc_) + delta); in apply() 295 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 303 return pc_; in target_address_address() [all …]
|
/third_party/node/deps/v8/src/codegen/arm/ |
D | assembler-arm-inl.h | 59 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 62 Instruction* branch = Instruction::At(pc_); in apply() 71 return Assembler::target_address_at(pc_, constant_pool_); in target_address() 76 if (Assembler::IsMovW(Memory<int32_t>(pc_))) { in target_address_address() 77 return pc_; in target_address_address() 78 } else if (Assembler::IsLdrPcImmediateOffset(Memory<int32_t>(pc_))) { in target_address_address() 81 DCHECK(Assembler::IsBOrBlPcImmediateOffset(Memory<int32_t>(pc_))); in target_address_address() 83 return pc_; in target_address_address() 89 return Assembler::constant_pool_entry_address(pc_, constant_pool_); in constant_pool_entry_address() 98 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object() [all …]
|
/third_party/node/deps/v8/src/wasm/ |
D | decoder.h | 62 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in start_() 188 read_leb<uint32_t, kFullValidation, kTrace>(pc_, &length, name); 189 pc_ += length; 197 read_leb<int32_t, kFullValidation, kTrace>(pc_, &length, name); 198 pc_ += length; 206 read_leb<uint64_t, kFullValidation, kTrace>(pc_, &length, name); 207 pc_ += length; 215 read_leb<int64_t, kFullValidation, kTrace>(pc_, &length, name); 216 pc_ += length; 225 pc_ += size; [all …]
|
D | function-body-decoder-impl.h | 625 decoder_->read_u32v<validate>(pc_, &length, "branch table entry"); in next() 626 pc_ += length; in next() 633 return static_cast<uint32_t>(pc_ - start_); in length() 635 const byte* pc() { return pc_; } in pc() 641 pc_(imm.table), in BranchTableIterator() 647 const byte* pc_; variable 2234 DCHECK_LE(this->pc_, this->end_); 2303 int offset = static_cast<int>(this->pc_ - this->start_); 2304 DCHECK_EQ(this->pc_ - this->start_, offset); // overflows cannot happen 2359 kInitStackDepth, this->pc_, kReachable); [all …]
|
D | function-body-decoder.h | 160 return base::iterator_range<opcode_iterator>(opcode_iterator(pc_, end_), in NON_EXPORTED_BASE() 166 offset_iterator(start_, pc_, end_), in NON_EXPORTED_BASE() 172 read_u8<Decoder::kNoValidation>(pc_, "expected bytecode")); in NON_EXPORTED_BASE() 176 if (pc_ < end_) { in NON_EXPORTED_BASE() 177 pc_ += OpcodeLength(pc_, end_); in NON_EXPORTED_BASE() 178 if (pc_ >= end_) pc_ = end_; in NON_EXPORTED_BASE() 182 bool has_next() { return pc_ < end_; } in NON_EXPORTED_BASE() 185 return read_prefixed_opcode<Decoder::kNoValidation>(pc_); in NON_EXPORTED_BASE()
|
D | jump-table-assembler.cc | 26 reinterpret_cast<byte*>(target) - pc_ - kNearJmpInstrSize); in EmitJumpSlot() 147 (reinterpret_cast<byte*>(target) - pc_) / kInstrSize)) { 214 intptr_t relative_target = reinterpret_cast<byte*>(target) - pc_; 230 CHECK_EQ(reinterpret_cast<Address>(pc_) & 0x7, 0); // Alignment 331 intptr_t relative_target = reinterpret_cast<byte*>(target) - pc_; 342 byte* start = pc_; 348 byte* end = pc_; 352 CHECK_EQ(reinterpret_cast<Address>(pc_) & 0x7, 0); // Alignment
|
D | module-decoder.cc | 303 pc_ = end_; // On error, terminate section decoding loop. in onFirstError() 346 const byte* pos = pc_; in DecodeModuleHeader() 356 pos = pc_; in DecodeModuleHeader() 681 static_cast<int>(pc_ - start_)); in DecodeTypeSection() 705 static_cast<int>(pc_ - start_)); in DecodeTypeSection() 716 static_cast<int>(pc_ - start_)); in DecodeTypeSection() 781 static_cast<int>(pc_ - start_)); in DecodeImportSection() 790 const byte* pos = pc_; in DecodeImportSection() 953 TRACE("DecodeGlobal[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); in DecodeGlobalSection() 969 static_cast<int>(pc_ - start_)); in DecodeExportSection() [all …]
|
D | function-body-decoder.cc | 59 pc_ += decls->encoded_size; in BytecodeIterator() 60 if (pc_ > end_) pc_ = end_; in BytecodeIterator()
|
/third_party/node/deps/v8/src/codegen/arm64/ |
D | assembler-arm64-inl.h | 26 intptr_t internal_ref = ReadUnalignedValue<intptr_t>(pc_); in apply() 28 WriteUnalignedValue<intptr_t>(pc_, internal_ref); in apply() 30 Instruction* instr = reinterpret_cast<Instruction*>(pc_); in apply() 618 Instruction* instr = reinterpret_cast<Instruction*>(pc_); 626 return Assembler::target_address_at(pc_, constant_pool_); 631 Instruction* instr = reinterpret_cast<Instruction*>(pc_); 649 return pc_; 655 return Assembler::target_pointer_address_at(pc_); 661 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); 664 Assembler::target_compressed_address_at(pc_, constant_pool_); [all …]
|
/third_party/node/deps/v8/src/codegen/ |
D | reloc-info.cc | 179 rinfo_.pc_ += *pos_ >> kTagBits; in ReadShortTaggedPC() 182 inline void RelocIterator::AdvanceReadPC() { rinfo_.pc_ += *--pos_; } in AdvanceReadPC() 206 rinfo_.pc_ += pc_jump << kSmallPCDeltaBits; in AdvanceReadLongPCJump() 306 rinfo_.pc_ = pc; in RelocIterator() 330 return Assembler::target_address_at(pc_, constant_pool_); in wasm_call_address() 336 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_wasm_call_address() 342 return Assembler::target_address_at(pc_, constant_pool_); in wasm_stub_call_address() 348 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_wasm_stub_call_address() 357 Assembler::set_target_address_at(pc_, constant_pool_, target, in set_target_address() 447 os << reinterpret_cast<const void*>(pc_) << " " << RelocModeName(rmode_); in Print()
|
D | safepoint-table.h | 34 : pc_(pc), in SafepointEntry() 45 return pc_ == other.pc_ && deopt_index_ == other.deopt_index_ && 56 int pc() const { return pc_; } in pc() 81 int pc_ = -1;
|
D | assembler.h | 268 int pc_offset() const { return static_cast<int>(pc_ - buffer_start_); } in pc_offset() 290 pc_ = nullptr; in ReleaseBuffer() 372 byte* pc_; variable
|
D | reloc-info.h | 118 : pc_(pc), in pc_() function 212 Address pc() const { return pc_; } in pc() 375 Address pc_;
|
/third_party/node/deps/v8/src/deoptimizer/ |
D | frame-description.h | 64 pc_(kZapUint32), in FrameDescription() 158 intptr_t GetPc() const { return pc_; } in GetPc() 189 static int pc_offset() { return offsetof(FrameDescription, pc_); } in pc_offset() 209 intptr_t pc_; variable
|
/third_party/node/deps/v8/src/third_party/vtune/ |
D | vtune-jit.cc | 93 : pc_(pc), pos_(pos) { } in LineNumInfo() 95 intptr_t pc_; member 229 static_cast<unsigned int>(Iter->pc_); in event_handler()
|