Lines Matching refs:iterator
40 BytecodeIterator iterator(this, 0, end); in BuildRegionInfo() local
45 iterator.GotoStart(); in BuildRegionInfo()
46 while (!iterator.Done()) { in BuildRegionInfo()
47 auto index = iterator.Index(); in BuildRegionInfo()
54 ++iterator; in BuildRegionInfo()
555 auto &iterator = bb.GetBytecodeIterator(); in NewJSGate() local
556 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); in NewJSGate()
563 size_t pcOffset = GetPcOffset(iterator.Index()); in NewJSGate()
566 …numValueInputs, methodOffset, bytecodeInfo.GetOpcode(), pcOffset, iterator.Index(), writable, hasF… in NewJSGate()
575 byteCodeToJSGates_[iterator.Index()].emplace_back(gate); in NewJSGate()
576 jsGatesToByteCode_[gate] = iterator.Index(); in NewJSGate()
580 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate); in NewJSGate()
582 MergeThrowGate(bb, iterator.Index()); in NewJSGate()
587 MergeExceptionGete(bb, bytecodeInfo, iterator.Index()); in NewJSGate()
596 auto &iterator = bb.GetBytecodeIterator(); in NewJump() local
597 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); in NewJump()
602 size_t pcOffset = GetPcOffset(iterator.Index()); in NewJump()
605 … numValueInputs, methodOffset, bytecodeInfo.GetOpcode(), pcOffset, iterator.Index(), false, false); in NewJump()
611 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate); in NewJump()
618 if (iterator.Index() + 1 == bbNext->start) { in NewJump()
621 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false}); in NewJump()
625 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false}); in NewJump()
628 byteCodeToJSGates_[iterator.Index()].emplace_back(gate); in NewJump()
629 jsGatesToByteCode_[gate] = iterator.Index(); in NewJump()
634 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false}); in NewJump()
641 auto &iterator = bb.GetBytecodeIterator(); in NewReturn() local
642 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); in NewReturn()
650 byteCodeToJSGates_[iterator.Index()].emplace_back(gate); in NewReturn()
651 jsGatesToByteCode_[gate] = iterator.Index(); in NewReturn()
659 byteCodeToJSGates_[iterator.Index()].emplace_back(gate); in NewReturn()
660 jsGatesToByteCode_[gate] = iterator.Index(); in NewReturn()
667 auto &iterator = bb.GetBytecodeIterator(); in NewByteCode() local
668 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); in NewByteCode()
670 auto bcId = iterator.Index(); in NewByteCode()
671 if (iterator.IsInRange(bcId - 1)) { in NewByteCode()
681 byteCodeToJSGates_[iterator.Index()].emplace_back(gate); in NewByteCode()
682 jsGatesToByteCode_[gate] = iterator.Index(); in NewByteCode()
693 frameStateBuilder_.UpdateMoveValues(bytecodeInfo, iterator.Index()); in NewByteCode()
699 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate); in NewByteCode()
826 auto &iterator = bb.GetBytecodeIterator(); in PrintBytecodeInfo() local
828 log += std::string("\t\t< ") + std::to_string(iterator.Index()) + ": "; in PrintBytecodeInfo()
829 log += GetEcmaOpcodeStr(iterator.GetBytecodeInfo().GetOpcode()) + ", " + "In=["; in PrintBytecodeInfo()
848 auto gate = GetGateByBcIndex(iterator.Index()); in PrintBytecodeInfo()