Lines Matching refs:LoopNode
51 class LoopNode { class in Ice::LoopAnalyzer
52 LoopNode() = delete;
53 LoopNode operator=(const LoopNode &) = delete;
56 explicit LoopNode(CfgNode *BB) : BB(BB) { reset(); } in LoopNode() function in Ice::LoopAnalyzer::LoopNode
57 LoopNode(const LoopNode &) = default;
95 using LoopNodeList = CfgVector<LoopNode>;
96 using LoopNodePtrList = CfgVector<LoopNode *>;
100 LoopNode *processNode(LoopNode &Node);
120 void LoopAnalyzer::LoopNode::reset() { in reset()
128 NodeList::const_iterator LoopAnalyzer::LoopNode::successorsEnd() const { in successorsEnd()
132 void LoopAnalyzer::LoopNode::incrementLoopNestDepth() { in incrementLoopNestDepth()
136 bool LoopAnalyzer::LoopNode::hasSelfEdge() const { in hasSelfEdge()
166 for (LoopNode &Node : AllNodes) in computeLoopNestDepth()
172 for (LoopNode &Node : AllNodes) { in computeLoopNestDepth()
179 LoopNode &WorkNode = *WorkStack.back(); in computeLoopNestDepth()
180 if (LoopNode *Succ = processNode(WorkNode)) in computeLoopNestDepth()
189 LoopAnalyzer::LoopNode *
190 LoopAnalyzer::processNode(LoopAnalyzer::LoopNode &Node) { in processNode()
199 LoopNode &Succ = AllNodes[(*Node.currentSuccessor())->getIndex()]; in processNode()
209 LoopNode &Succ = AllNodes[(*Node.currentSuccessor())->getIndex()]; in processNode()