Lines Matching refs:bytecode
105 template <Bytecode bytecode, OperandType operand_type, size_t i>
154 template <Bytecode bytecode, OperandType operand_type, size_t i>
192 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use,
198 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness()
202 DCHECK(Bytecodes::ReadsAccumulator(bytecode)); in UpdateInLiveness()
206 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness()
215 (UpdateInLivenessForOutOperand<bytecode, operand_types, operand_index>( in UpdateInLiveness()
219 if (Bytecodes::WritesImplicitRegister(bytecode)) { in UpdateInLiveness()
220 in_liveness->MarkRegisterDead(Register::FromShortStar(bytecode).index()); in UpdateInLiveness()
226 (UpdateInLivenessForInOperand<bytecode, operand_types, operand_index>( in UpdateInLiveness()
231 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use,
235 UpdateInLiveness<bytecode, implicit_register_use, operand_types...>( in UpdateInLiveness()
240 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState* in_liveness, in UpdateInLiveness() argument
242 switch (bytecode) { in UpdateInLiveness()
270 template <bool IsFirstUpdate, Bytecode bytecode>
281 if (bytecode == Bytecode::kSuspendGenerator || in UpdateOutLiveness()
282 bytecode == Bytecode::kResumeGenerator) { in UpdateOutLiveness()
295 !Bytecodes::IsUnconditionalJump(bytecode) && in UpdateOutLiveness()
296 !Bytecodes::Returns(bytecode) && in UpdateOutLiveness()
297 !Bytecodes::UnconditionallyThrows(bytecode)) { in UpdateOutLiveness()
319 if (Bytecodes::IsForwardJump(bytecode)) { in UpdateOutLiveness()
324 } else if (Bytecodes::IsSwitch(bytecode)) { in UpdateOutLiveness()
334 if (!interpreter::Bytecodes::IsWithoutExternalSideEffects(bytecode)) { in UpdateOutLiveness()
364 void UpdateOutLiveness(Bytecode bytecode, BytecodeLiveness& liveness, in UpdateOutLiveness() argument
369 switch (bytecode) { in UpdateOutLiveness()
380 template <bool IsFirstUpdate, Bytecode bytecode,
388 UpdateOutLiveness<IsFirstUpdate, bytecode>( in UpdateLiveness()
402 UpdateInLiveness<bytecode, implicit_register_use, operand_types...>( in UpdateLiveness()
409 void UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, in UpdateLiveness() argument
414 switch (bytecode) { in UpdateLiveness()
425 void UpdateAssignments(Bytecode bytecode, BytecodeLoopAssignments* assignments, in UpdateAssignments() argument
427 int num_operands = Bytecodes::NumberOfOperands(bytecode); in UpdateAssignments()
428 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in UpdateAssignments()
456 if (Bytecodes::WritesImplicitRegister(bytecode)) { in UpdateAssignments()
457 assignments->Add(interpreter::Register::FromShortStar(bytecode)); in UpdateAssignments()
479 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
482 if (bytecode == Bytecode::kSwitchOnGeneratorState) { in Analyze()
485 } else if (bytecode == Bytecode::kJumpLoop) { in Analyze()
511 (bytecode != Bytecode::kJumpLoop || in Analyze()
522 UpdateAssignments(bytecode, ¤t_loop_info->assignments(), iterator); in Analyze()
525 if (bytecode == Bytecode::kSuspendGenerator) { in Analyze()
579 } else if (bytecode == Bytecode::kSuspendGenerator) { in Analyze()
592 UpdateLiveness<true>(bytecode, liveness, &next_bytecode_in_liveness, in Analyze()
651 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
654 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
693 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
698 DCHECK_NE(bytecode, Bytecode::kJumpLoop); in Analyze()
700 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
977 Bytecode bytecode = iterator.current_bytecode(); in LivenessIsValid() local
985 UpdateOutLiveness(bytecode, liveness, next_bytecode_in_liveness, iterator, in LivenessIsValid()
988 if (bytecode == Bytecode::kJumpLoop) { in LivenessIsValid()
1005 UpdateInLiveness(bytecode, liveness.in, iterator); in LivenessIsValid()
1023 Bytecode bytecode = iterator.current_bytecode(); in LivenessIsValid() local
1031 if (!Bytecodes::IsJump(bytecode)) continue; in LivenessIsValid()
1036 if (Bytecodes::IsForwardJump(bytecode) && in LivenessIsValid()