Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.h61 static unsigned constexpr WordWidth = CHAR_BIT * sizeof(WordType); member
62 static unsigned constexpr NumWords = Capacity / WordWidth;
63 static_assert(NumWords * WordWidth == Capacity,
87 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count()
91 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()
101 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()
140 unsigned SkipWords = P / WordWidth; in find_from_pos()
141 unsigned SkipBits = P % WordWidth; in find_from_pos()
142 unsigned Count = SkipWords * WordWidth; in find_from_pos()
148 W &= maskLeadingOnes<WordType>(WordWidth - SkipBits); in find_from_pos()
[all …]