Home | History | Annotate | Download | only in Analysis

Lines Matching refs:next

125   for( BLEdgeIterator next = node->succBegin(),
126 end = node->succEnd(); next != end; next++ ) {
127 if( (*next)->getType() != BallLarusEdge::BACKEDGE && // no backedges
128 (*next)->getType() != BallLarusEdge::SPLITEDGE && // no split edges
129 (*next)->getWeight() <= pathNumber && // weight must be <= pathNumber
130 (!best || (best->getWeight() < (*next)->getWeight())) ) // best one?
131 best = *next;
143 BallLarusEdge* next = getNextEdge(currentNode, increment);
145 increment -= next->getWeight();
147 if( next->getType() != BallLarusEdge::BACKEDGE_PHONY &&
148 next->getType() != BallLarusEdge::SPLITEDGE_PHONY &&
149 next->getTarget() != _ppi->_currentDag->getExit() )
151 next->getSource()->getBlock(),
152 next->getTarget()->getBlock(),
153 next->getDuplicateNumber()));
155 if( next->getType() == BallLarusEdge::BACKEDGE_PHONY &&
156 next->getTarget() == _ppi->_currentDag->getExit() )
158 next->getRealEdge()->getSource()->getBlock(),
159 next->getRealEdge()->getTarget()->getBlock(),
160 next->getDuplicateNumber()));
162 if( next->getType() == BallLarusEdge::SPLITEDGE_PHONY &&
163 next->getSource() == _ppi->_currentDag->getRoot() )
165 next->getRealEdge()->getSource()->getBlock(),
166 next->getRealEdge()->getTarget()->getBlock(),
167 next->getDuplicateNumber()));
170 currentNode = next->getTarget();
182 BallLarusEdge* next = getNextEdge(currentNode, increment);
183 increment -= next->getWeight();
186 if( next->getType() == BallLarusEdge::NORMAL)
189 else if( next->getTarget() == _ppi->_currentDag->getExit() ) {
191 pbv->push_back (next->getRealEdge()->getTarget()->getBlock());
195 currentNode = next->getTarget();