Home
last modified time | relevance | path

Searched refs:SMSNode (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DSparseMultiSet.h96 struct SMSNode { struct
103 SMSNode(ValueT D, unsigned P, unsigned N) : Data(D), Prev(P), Next(N) {} in SMSNode() argument
121 using DenseT = SmallVector<SMSNode, 8>; argument
131 unsigned FreelistIdx = SMSNode::INVALID;
139 unsigned sparseIndex(const SMSNode &N) const { return sparseIndex(N.Data); } in sparseIndex()
144 bool isHead(const SMSNode &D) const { in isHead()
151 bool isSingleton(const SMSNode &N) const { in isSingleton()
161 Dense.push_back(SMSNode(V, Prev, Next)); in addValue()
170 Dense[Idx] = SMSNode(V, Prev, Next); in addValue()
178 Dense[Idx].Prev = SMSNode::INVALID; in makeTombstone()
[all …]