Lines Matching defs:gateToDepth
55 void LoopAnalysis::CollectUseGate(ChunkUnorderedMap<GateRef, size_t>& gateToDepth,
61 bool isCurLoop = gateToDepth[cur] == 1; // 1: loopDepth
71 if (gateToDepth.count(nex)) {
74 ASSERT(gateToDepth[nex] == ComputeLoopDepth(cur, nex, gateToDepth[cur]));
81 gateToDepth[nex] = ComputeLoopDepth(cur, nex, gateToDepth[cur]);
85 gateToDepth[frameState] = gateToDepth[nex];
86 gateToDepth[acc_.GetValueIn(frameState, 1)] = gateToDepth[nex];
91 UpdateLoopInfo(loopInfo, nex, gateToDepth.at(nex));
101 ChunkUnorderedMap<GateRef, size_t> gateToDepth(chunk_);
104 gateToDepth[loopInfo->loopHead] = 1;
115 ASSERT(gateToDepth.count(cur) > 0);
116 CollectUseGate(gateToDepth, firstList, secondList, loopInfo, cur);