Lines Matching refs:pc_

625         decoder_->read_u32v<validate>(pc_, &length, "branch table entry");
626 pc_ += length;
633 return static_cast<uint32_t>(pc_ - start_);
635 const byte* pc() { return pc_; }
641 pc_(imm.table),
647 const byte* pc_;
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);
2366 return Value{this->pc_, this->sig_->GetReturn(i)};
2373 c->end_merge.vals.first = Value{this->pc_, this->sig_->GetReturn(0)};
2379 while (this->pc_ < this->end_) {
2385 uint8_t first_byte = *this->pc_;
2401 this->pc_ += len;
2404 if (!VALIDATE(this->pc_ == this->end_)) {
2447 this, this->pc_ + pc_offset, max_alignment, this->module_->is_memory64);
2460 Append(TRACE_INST_FORMAT, decoder_->startrel(decoder_->pc_),
2580 BlockTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2582 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2594 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2595 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2608 TagIndexImmediate<validate> imm(this, this->pc_ + 1);
2609 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2619 BlockTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2621 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2635 TagIndexImmediate<validate> imm(this, this->pc_ + 1);
2636 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2666 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2668 if (!this->Validate(this->pc_ + 1, imm, control_depth() - 1)) return 0;
2714 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2715 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2752 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2753 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2797 BlockTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2799 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2824 BlockTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2826 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2837 BlockTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2839 if (!this->Validate(this->pc_ + 1, imm)) return 0;
2913 if (!VALIDATE(this->pc_ + 1 == this->end_)) {
2914 this->DecodeError(this->pc_ + 1, "trailing code after function end");
2918 trace_msg->Append("\n" TRACE_INST_FORMAT, startrel(this->pc_),
2948 SelectTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
2962 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2963 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2975 BranchDepthImmediate<validate> imm(this, this->pc_ + 1);
2976 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
2989 BranchTableImmediate<validate> imm(this, this->pc_ + 1);
2993 if (!this->Validate(this->pc_ + 1, imm, control_.size())) return 0;
3049 ImmI32Immediate<validate> imm(this, this->pc_ + 1);
3057 ImmI64Immediate<validate> imm(this, this->pc_ + 1);
3065 ImmF32Immediate<validate> imm(this, this->pc_ + 1);
3073 ImmF64Immediate<validate> imm(this, this->pc_ + 1);
3082 HeapTypeImmediate<validate> imm(this->enabled_, this, this->pc_ + 1,
3123 IndexImmediate<validate> imm(this, this->pc_ + 1, "function index");
3124 if (!this->ValidateFunction(this->pc_ + 1, imm)) return 0;
3160 IndexImmediate<validate> imm(this, this->pc_ + 1, "local index");
3161 if (!this->ValidateLocal(this->pc_ + 1, imm)) return 0;
3164 this->DecodeError(this->pc_, "uninitialized non-defaultable local: %u",
3175 IndexImmediate<validate> imm(this, this->pc_ + 1, "local index");
3176 if (!this->ValidateLocal(this->pc_ + 1, imm)) return 0;
3185 IndexImmediate<validate> imm(this, this->pc_ + 1, "local index");
3186 if (!this->ValidateLocal(this->pc_ + 1, imm)) return 0;
3205 GlobalIndexImmediate<validate> imm(this, this->pc_ + 1);
3206 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3214 GlobalIndexImmediate<validate> imm(this, this->pc_ + 1);
3215 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3228 IndexImmediate<validate> imm(this, this->pc_ + 1, "table index");
3229 if (!this->ValidateTable(this->pc_ + 1, imm)) return 0;
3240 IndexImmediate<validate> imm(this, this->pc_ + 1, "table index");
3241 if (!this->ValidateTable(this->pc_ + 1, imm)) return 0;
3284 MemoryIndexImmediate<validate> imm(this, this->pc_ + 1);
3285 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3298 MemoryIndexImmediate<validate> imm(this, this->pc_ + 1);
3299 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3308 CallFunctionImmediate<validate> imm(this, this->pc_ + 1);
3309 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3320 CallIndirectImmediate<validate> imm(this, this->pc_ + 1);
3321 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3336 CallFunctionImmediate<validate> imm(this, this->pc_ + 1);
3337 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3352 CallIndirectImmediate<validate> imm(this, this->pc_ + 1);
3353 if (!this->Validate(this->pc_ + 1, imm)) return 0;
3422 this->pc_, &opcode_length, "numeric index");
3442 this->pc_, &opcode_length);
3455 this->pc_, &opcode_length, "atomic index");
3464 this->pc_, &opcode_length, "gc index");
3619 const byte* pc = this->pc_;
3662 stack_base[i] = UnreachableValue(this->pc_);
3729 this->pc_, reachability);
3764 if (!this->Validate(this->pc_ + prefix_len, imm)) return 0;
3781 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
3795 if (!this->Validate(this->pc_ + opcode_length, mem_imm)) return 0;
3797 this, this->pc_ + opcode_length + mem_imm.length);
3798 if (!this->Validate(this->pc_ + opcode_length, opcode, lane_imm)) return 0;
3814 if (!this->Validate(this->pc_ + opcode_length, mem_imm)) return 0;
3816 this, this->pc_ + opcode_length + mem_imm.length);
3817 if (!this->Validate(this->pc_ + opcode_length, opcode, lane_imm)) return 0;
3830 if (!this->Validate(this->pc_ + prefix_len, imm)) return 0;
3840 Simd128Immediate<validate> imm(this, this->pc_ + opcode_length);
3849 SimdLaneImmediate<validate> imm(this, this->pc_ + opcode_length);
3850 if (this->Validate(this->pc_ + opcode_length, opcode, imm)) {
3863 SimdLaneImmediate<validate> imm(this, this->pc_ + opcode_length);
3864 if (this->Validate(this->pc_ + opcode_length, opcode, imm)) {
3876 Simd128Immediate<validate> imm(this, this->pc_ + opcode_length);
3877 if (this->Validate(this->pc_ + opcode_length, imm)) {
4056 StructIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4057 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4077 StructIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4078 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4106 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4107 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4130 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4131 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4153 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4154 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4173 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4174 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4195 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4196 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4222 this->pc_ + opcode_length);
4223 if (!this->Validate(this->pc_ + opcode_length, array_imm)) return 0;
4241 this->pc_ + opcode_length + array_imm.length;
4270 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4271 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4291 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4292 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4311 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4312 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
4330 ArrayIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
4341 ArrayIndexImmediate<validate> dst_imm(this, this->pc_ + opcode_length);
4342 if (!this->Validate(this->pc_ + opcode_length, dst_imm)) return 0;
4350 this, this->pc_ + opcode_length + dst_imm.length);
4351 if (!this->Validate(this->pc_ + opcode_length + dst_imm.length,
4377 this->pc_ + opcode_length);
4378 if (!this->Validate(this->pc_ + opcode_length, array_imm)) return 0;
4380 this, this->pc_ + opcode_length + array_imm.length,
4437 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
4439 if (!this->ValidateType(this->pc_ + opcode_length, imm)) return 0;
4451 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
4453 if (!this->ValidateType(this->pc_ + opcode_length, imm)) return 0;
4507 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
4509 if (!this->ValidateType(this->pc_ + opcode_length, imm)) return 0;
4571 this->pc_ + opcode_length);
4572 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4579 IndexImmediate<validate> imm(this, this->pc_ + pc_offset,
4581 if (!this->ValidateType(this->pc_ + opcode_length, imm)) return 0;
4656 this->pc_ + opcode_length);
4657 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4664 IndexImmediate<validate> imm(this, this->pc_ + pc_offset,
4666 if (!this->ValidateType(this->pc_ + opcode_length, imm)) return 0;
4819 this->pc_ + opcode_length);
4820 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4828 SafeOpcodeNameAt(this->pc_));
4876 this->pc_ + opcode_length);
4877 if (!this->Validate(this->pc_ + opcode_length, branch_depth,
4885 SafeOpcodeNameAt(this->pc_));
4955 this->template read_u8<validate>(this->pc_ + opcode_length, "zero");
4957 this->DecodeError(this->pc_ + opcode_length,
4971 if (!this->Validate(this->pc_ + opcode_length, imm)) return false;
5006 MemoryInitImmediate<validate> imm(this, this->pc_ + opcode_length);
5007 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5017 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
5019 if (!this->ValidateDataSegment(this->pc_ + opcode_length, imm)) {
5026 MemoryCopyImmediate<validate> imm(this, this->pc_ + opcode_length);
5027 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5037 MemoryIndexImmediate<validate> imm(this, this->pc_ + opcode_length);
5038 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5048 TableInitImmediate<validate> imm(this, this->pc_ + opcode_length);
5049 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5057 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
5059 if (!this->ValidateElementSegment(this->pc_ + opcode_length, imm)) {
5066 TableCopyImmediate<validate> imm(this, this->pc_ + opcode_length);
5067 if (!this->Validate(this->pc_ + opcode_length, imm)) return 0;
5075 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
5077 if (!this->ValidateTable(this->pc_ + opcode_length, imm)) return 0;
5088 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
5090 if (!this->ValidateTable(this->pc_ + opcode_length, imm)) return 0;
5097 IndexImmediate<validate> imm(this, this->pc_ + opcode_length,
5099 if (!this->ValidateTable(this->pc_ + opcode_length, imm)) return 0;
5133 V8_INLINE Value CreateValue(ValueType type) { return Value{this->pc_, type}; }
5180 SafeOpcodeNameAt(this->pc_), index, expected,
5198 SafeOpcodeNameAt(this->pc_), needed, actual);
5219 return UnreachableValue(this->pc_);
5409 this->end_ = this->pc_; // Terminate decoding loop.