Searched refs:CurrNode (Results 1 – 2 of 2) sorted by relevance
330 void setSuffixIndices(SuffixTreeNode &CurrNode, unsigned CurrIdx) { in setSuffixIndices() argument332 bool IsLeaf = CurrNode.Children.size() == 0 && !CurrNode.isRoot(); in setSuffixIndices()336 if (!CurrNode.isRoot()) { in setSuffixIndices()337 if (CurrNode.ConcatLen == 0) in setSuffixIndices()338 CurrNode.ConcatLen = CurrNode.size(); in setSuffixIndices()340 if (CurrNode.Parent) in setSuffixIndices()341 CurrNode.ConcatLen += CurrNode.Parent->ConcatLen; in setSuffixIndices()345 for (auto &ChildPair : CurrNode.Children) { in setSuffixIndices()353 CurrNode.SuffixIdx = Str.size() - CurrIdx; in setSuffixIndices()354 assert(CurrNode.Parent && "CurrNode had no parent!"); in setSuffixIndices()[all …]
557 DomTreeNode *CurrNode = DT->getNode(UseBlock); in findDominatingDef() local560 CurrNode = CurrNode->getIDom(); in findDominatingDef()562 while (CurrNode) { in findDominatingDef()563 auto It = PerBlockAccesses.find(CurrNode->getBlock()); in findDominatingDef()571 CurrNode = CurrNode->getIDom(); in findDominatingDef()