Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h62 static unsigned constexpr NumWords = Capacity/WordWidth;
63 static_assert(NumWords*WordWidth == Capacity,
91 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count()
95 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()
105 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()
146 unsigned SkipWords = P / WordWidth; in find_from_pos()
147 unsigned SkipBits = P % WordWidth; in find_from_pos()
148 unsigned Count = SkipWords * WordWidth; in find_from_pos()
154 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()
157 Count += WordWidth; in find_from_pos()
[all …]