Lines Matching defs:Mask

232       // Mask off previous bits.
311 uintptr_t Mask = EMask - IMask;
312 setSmallBits(getSmallBits() | Mask);
342 uintptr_t Mask = EMask - IMask;
343 setSmallBits(getSmallBits() & ~Mask);
523 /// setBitsInMask - Add '1' bits from Mask to this vector. Don't resize.
524 /// This computes "*this |= Mask".
525 void setBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
527 applyMask<true, false>(Mask, MaskWords);
529 getPointer()->setBitsInMask(Mask, MaskWords);
532 /// clearBitsInMask - Clear any bits in this vector that are set in Mask.
533 /// Don't resize. This computes "*this &= ~Mask".
534 void clearBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
536 applyMask<false, false>(Mask, MaskWords);
538 getPointer()->clearBitsInMask(Mask, MaskWords);
541 /// setBitsNotInMask - Add a bit to this vector for every '0' bit in Mask.
542 /// Don't resize. This computes "*this |= ~Mask".
543 void setBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
545 applyMask<true, true>(Mask, MaskWords);
547 getPointer()->setBitsNotInMask(Mask, MaskWords);
550 /// clearBitsNotInMask - Clear a bit in this vector for every '0' bit in Mask.
551 /// Don't resize. This computes "*this &= Mask".
552 void clearBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
554 applyMask<false, true>(Mask, MaskWords);
556 getPointer()->clearBitsNotInMask(Mask, MaskWords);
561 void applyMask(const uint32_t *Mask, unsigned MaskWords) {
564 uint64_t M = Mask[0] | (uint64_t(Mask[1]) << 32);
569 uint32_t M = Mask[0];