Lines Matching refs:bytecode
95 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState& in_liveness, in UpdateInLiveness() argument
97 int num_operands = Bytecodes::NumberOfOperands(bytecode); in UpdateInLiveness()
98 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in UpdateInLiveness()
101 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness()
105 DCHECK(Bytecodes::ReadsAccumulator(bytecode)); in UpdateInLiveness()
109 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness()
115 if (Bytecodes::WritesAccumulator(bytecode)) { in UpdateInLiveness()
164 if (Bytecodes::ReadsAccumulator(bytecode)) { in UpdateInLiveness()
203 void UpdateOutLiveness(Bytecode bytecode, BytecodeLivenessState& out_liveness, in UpdateOutLiveness() argument
211 if (bytecode == Bytecode::kSuspendGenerator || in UpdateOutLiveness()
212 bytecode == Bytecode::kResumeGenerator) { in UpdateOutLiveness()
219 if (Bytecodes::IsForwardJump(bytecode)) { in UpdateOutLiveness()
222 } else if (Bytecodes::IsSwitch(bytecode)) { in UpdateOutLiveness()
231 !Bytecodes::IsUnconditionalJump(bytecode)) { in UpdateOutLiveness()
236 if (!interpreter::Bytecodes::IsWithoutExternalSideEffects(bytecode)) { in UpdateOutLiveness()
263 void UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, in UpdateLiveness() argument
267 UpdateOutLiveness(bytecode, *liveness.out, *next_bytecode_in_liveness, in UpdateLiveness()
270 UpdateInLiveness(bytecode, *liveness.in, accessor); in UpdateLiveness()
275 void UpdateAssignments(Bytecode bytecode, BytecodeLoopAssignments& assignments, in UpdateAssignments() argument
277 int num_operands = Bytecodes::NumberOfOperands(bytecode); in UpdateAssignments()
278 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in UpdateAssignments()
321 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
324 if (bytecode == Bytecode::kSwitchOnGeneratorState) { in Analyze()
329 if (bytecode == Bytecode::kJumpLoop) { in Analyze()
357 UpdateAssignments(bytecode, current_loop_info->assignments(), iterator); in Analyze()
360 if (!is_osr && bytecode == Bytecode::kSuspendGenerator) { in Analyze()
414 } else if (!is_osr && bytecode == Bytecode::kSuspendGenerator) { in Analyze()
427 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
486 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
490 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
527 Bytecode bytecode = iterator.current_bytecode(); in Analyze() local
532 DCHECK_NE(bytecode, Bytecode::kJumpLoop); in Analyze()
534 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
807 Bytecode bytecode = iterator.current_bytecode(); in LivenessIsValid() local
815 UpdateOutLiveness(bytecode, *liveness.out, next_bytecode_in_liveness, in LivenessIsValid()
818 if (bytecode == Bytecode::kJumpLoop) { in LivenessIsValid()
834 UpdateInLiveness(bytecode, *liveness.in, iterator); in LivenessIsValid()
851 Bytecode bytecode = iterator.current_bytecode(); in LivenessIsValid() local
859 if (!Bytecodes::IsJump(bytecode)) continue; in LivenessIsValid()
864 if (Bytecodes::IsForwardJump(bytecode) && in LivenessIsValid()