Lines Matching refs:StratifiedIndex
28 typedef unsigned StratifiedIndex; typedef
34 StratifiedIndex Index;
46 static const StratifiedIndex SetSentinel;
49 StratifiedIndex Above;
52 StratifiedIndex Below;
111 const StratifiedLink &getLink(StratifiedIndex Index) const { in getLink()
120 bool inbounds(StratifiedIndex Idx) const { return Idx < Links.size(); } in inbounds()
188 const StratifiedIndex Number;
190 BuilderLink(StratifiedIndex N) : Number(N) { in BuilderLink()
204 void setBelow(StratifiedIndex I) { in setBelow()
209 void setAbove(StratifiedIndex I) { in setAbove()
224 StratifiedIndex getBelow() const { in getBelow()
230 StratifiedIndex getAbove() const { in getAbove()
249 void remapTo(StratifiedIndex Other) { in remapTo()
254 StratifiedIndex getRemapIndex() const { in getRemapIndex()
260 void updateRemap(StratifiedIndex Other) { in updateRemap()
272 StratifiedIndex Remap;
279 DenseMap<StratifiedIndex, StratifiedIndex> Remaps; in finalizeSets()
284 StratifiedIndex Number = StratLinks.size(); in finalizeSets()
317 const auto getHighestParentAbove = [&Links](StratifiedIndex Idx) { in propagateAttrs()
326 SmallSet<StratifiedIndex, 16> Visited; in propagateAttrs()
407 bool addAtMerging(const T &ToAdd, StratifiedIndex Index) { in addAtMerging()
426 BuilderLink &linksAt(StratifiedIndex Index) { in linksAt()
451 void merge(StratifiedIndex Idx1, StratifiedIndex Idx2) { in merge()
472 void mergeDirect(StratifiedIndex Idx1, StratifiedIndex Idx2) { in mergeDirect()
521 bool tryMergeUpwards(StratifiedIndex LowerIndex, StratifiedIndex UpperIndex) { in tryMergeUpwards()
571 Optional<StratifiedIndex> indexOf(const T &Val) { in indexOf()
580 StratifiedIndex addLinkBelow(StratifiedIndex Set) { in addLinkBelow()
587 StratifiedIndex addLinkAbove(StratifiedIndex Set) { in addLinkAbove()
594 StratifiedIndex getNewUnlinkedIndex() { return addLinks(); } in getNewUnlinkedIndex()
596 StratifiedIndex addLinks() { in addLinks()
602 bool inbounds(StratifiedIndex N) const { return N < Links.size(); } in inbounds()