Lines Matching refs:Index
27 /// An index into Stratified Sets.
34 StratifiedIndex Index;
48 /// The index for the set "above" current
111 const StratifiedLink &getLink(StratifiedIndex Index) const {
112 assert(inbounds(Index));
113 return Links[Index];
307 auto &Link = linksAt(Info.Index);
310 Info.Index = Iter->second;
368 auto Index = *indexOf(Main);
369 if (!linksAt(Index).hasAbove())
370 addLinkAbove(Index);
372 auto Above = linksAt(Index).getAbove();
381 auto Index = *indexOf(Main);
382 if (!linksAt(Index).hasBelow())
383 addLinkBelow(Index);
385 auto Below = linksAt(Index).getBelow();
398 auto &Link = linksAt(Info->Index);
406 /// Adds the given element at the given index, merging sets if necessary.
407 bool addAtMerging(const T &ToAdd, StratifiedIndex Index) {
408 StratifiedInfo Info = {Index};
414 auto &IterSet = linksAt(Iter->second.Index);
415 auto &ReqSet = linksAt(Index);
424 /// Gets the BuilderLink at the given index, taking set remapping into
426 BuilderLink &linksAt(StratifiedIndex Index) {
427 auto *Start = &Links[Index];
576 auto &Link = linksAt(Info->Index);