Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dbitset.h58 #define BITSET_BIT(b) (1u << ((b) % BITSET_WORDBITS)) macro
62 #define BITSET_TEST(x, b) (((x)[BITSET_BITWORD(b)] & BITSET_BIT(b)) != 0)
63 #define BITSET_SET(x, b) ((x)[BITSET_BITWORD(b)] |= BITSET_BIT(b))
64 #define BITSET_CLEAR(x, b) ((x)[BITSET_BITWORD(b)] &= ~BITSET_BIT(b))
66 #define BITSET_MASK(b) (((b) % BITSET_WORDBITS == 0) ? ~0 : BITSET_BIT(b) - 1)
67 #define BITSET_RANGE(b, e) ((BITSET_MASK((e) + 1)) & ~(BITSET_BIT(b) - 1))
414 BITSET_WORD tmp = set[word] & ~(BITSET_BIT(*end) - 1); in __bitset_next_range()
435 tmp = set[word] | (BITSET_BIT(*start + 1) - 1); in __bitset_next_range()
Dregister_allocate.c741 g->tmp.reg_assigned[i] |= BITSET_BIT(j); in ra_simplify()
769 if (pq & BITSET_BIT(j)) { in ra_simplify()
787 if (skip & BITSET_BIT(j)) in ra_simplify()