Home
last modified time | relevance | path

Searched refs:pc_ (Results 1 - 25 of 69) sorted by relevance

123

/third_party/node/deps/v8/src/codegen/mips/
H A Dassembler-mips-inl.h67 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/loong64/
H A Dassembler-loong64-inl.h35 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_, targe in set_target_object()
[all...]
/third_party/node/deps/v8/src/codegen/mips64/
H A Dassembler-mips64-inl.h67 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/riscv64/
H A Dassembler-riscv64-inl.h65 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/
H A Dassembler-ia32-inl.h60 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_, sizeo in set_target_object()
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-bytecode-generator-inl.h26 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_ in Emit32()
[all...]
H A Dregexp-bytecode-generator.cc20 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/ppc/
H A Dassembler-ppc-inl.h55 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/s390/
H A Dassembler-s390-inl.h55 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...]
H A Dassembler-s390.cc313 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_) in dp()
[all...]
/third_party/node/deps/v8/src/codegen/x64/
H A Dassembler-x64-inl.h24 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_) in apply()
[all...]
/third_party/node/deps/v8/src/codegen/arm/
H A Dassembler-arm-inl.h59 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/
H A Ddecoder.h62 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in Decoder()
169 // Reads a 8-bit unsigned integer (byte) and advances {pc_}.
174 // Reads a 16-bit unsigned integer (little endian) and advances {pc_}.
179 // Reads a single 32-bit unsigned integer (little endian) and advances {pc_}.
184 // Reads a LEB128 variable-length unsigned 32-bit integer and advances {pc_}.
188 read_leb<uint32_t, kFullValidation, kTrace>(pc_, &length, name); in consume_u32v()
189 pc_ += length; in consume_u32v()
193 // Reads a LEB128 variable-length signed 32-bit integer and advances {pc_}.
197 read_leb<int32_t, kFullValidation, kTrace>(pc_, &length, name); in consume_i32v()
198 pc_ in consume_i32v()
357 const byte* pc_; global() variable
[all...]
H A Dfunction-body-decoder.h160 return base::iterator_range<opcode_iterator>(opcode_iterator(pc_, end_), in opcodes()
166 offset_iterator(start_, pc_, end_), in offsets()
172 read_u8<Decoder::kNoValidation>(pc_, "expected bytecode")); in current()
176 if (pc_ < end_) { in next()
177 pc_ += OpcodeLength(pc_, end_); in next()
178 if (pc_ >= end_) pc_ = end_; in next()
182 bool has_next() { return pc_ < end_; } in has_next()
185 return read_prefixed_opcode<Decoder::kNoValidation>(pc_); in prefixed_opcode()
[all...]
H A Dfunction-body-decoder-impl.h625 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_; member in v8::internal::wasm::BranchTableIterator
2234 DCHECK_LE(this->pc_, this->end_); in Decode()
2303 int offset = static_cast<int>(this->pc_ - this->start_); in position()
2304 DCHECK_EQ(this->pc_ - this->start_, offset); // overflows cannot happen in position()
2359 kInitStackDepth, this->pc_, kReachabl in DecodeFunctionBody()
[all...]
H A Djump-table-assembler.cc26 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
H A Dmodule-decoder.cc303 pc_ = end_; // On error, terminate section decoding loop.
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_ in DecodeExportSection()
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dassembler-arm64-inl.h26 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_); in target_address_size()
626 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
631 Instruction* instr = reinterpret_cast<Instruction*>(pc_); in target_address_address()
649 return pc_; in target_address_address()
655 return Assembler::target_pointer_address_at(pc_); in constant_pool_entry_address()
661 return HeapObject::cast(Object(ReadUnalignedValue<Address>(pc_))); in target_object()
664 Assembler::target_compressed_address_at(pc_, constant_pool in target_object()
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dreloc-info.cc179 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_) << " " << RelocModeNam in Print()
[all...]
H A Dsafepoint-table.h34 : pc_(pc), in SafepointEntry()
45 return pc_ == other.pc_ && deopt_index_ == other.deopt_index_ && in operator ==()
56 int pc() const { return pc_; } in pc()
81 int pc_ = -1; member in v8::internal::SafepointEntry
H A Dassembler.h268 int pc_offset() const { return static_cast<int>(pc_ - buffer_start_); } in pc_offset()
290 pc_ = nullptr; in ReleaseBuffer()
372 byte* pc_; member in v8::internal::AssemblerBase
/third_party/node/deps/v8/src/deoptimizer/
H A Dframe-description.h64 pc_(kZapUint32),
158 intptr_t GetPc() const { return pc_; }
189 static int pc_offset() { return offsetof(FrameDescription, pc_); }
209 intptr_t pc_;
/third_party/node/deps/v8/src/third_party/vtune/
H A Dvtune-jit.cc93 : pc_(pc), pos_(pos) { } in LineNumInfo()
95 intptr_t pc_; member
229 static_cast<unsigned int>(Iter->pc_); in event_handler()
/third_party/node/deps/v8/src/deoptimizer/s390/
H A Ddeoptimizer-s390.cc42 void FrameDescription::SetPc(intptr_t pc) { pc_ = pc; } in SetPc()
/third_party/node/deps/v8/src/deoptimizer/loong64/
H A Ddeoptimizer-loong64.cc31 void FrameDescription::SetPc(intptr_t pc) { pc_ = pc; } in SetPc()

Completed in 23 milliseconds

123