Lines Matching defs:mask

562   constexpr uintptr_t mask[] = {static_cast<uintptr_t>(0x5555555555555555),
570 // {value = ((value >> 1) & mask[0]) + (value & mask[0])}
571 lhs = WordAnd(WordShr(value, UintPtrConstant(1)), UintPtrConstant(mask[0]));
572 rhs = WordAnd(value, UintPtrConstant(mask[0]));
576 // {value = ((value >> 2) & mask[1]) + (value & mask[1])}
577 lhs = WordAnd(WordShr(value, UintPtrConstant(2)), UintPtrConstant(mask[1]));
578 rhs = WordAnd(value, UintPtrConstant(mask[1]));
582 // {value = ((value >> 4) & mask[2]) + (value & mask[2])}
583 lhs = WordAnd(WordShr(value, UintPtrConstant(4)), UintPtrConstant(mask[2]));
584 rhs = WordAnd(value, UintPtrConstant(mask[2]));
590 // result, so there's no need to mask value anymore, since there's no
1769 uint32_t mask = Map::Bits1::HasNamedInterceptorBit::kMask |
1771 USE(mask);
1774 SelectConstant<BoolT>(IsSetWord32(LoadMapBitField(map), mask),
2164 // (maybe_object & ~mask) == value
2166 // but requires a big constant for ~mask.
2183 // maybe_object == (heap_object | mask)
2185 // uses a small constant for mask.
2920 uint32_t mask = Map::Bits1::HasPrototypeSlotBit::kMask |
2923 GotoIf(IsAllSetWord32(function_map_bit_field, mask), if_true);
7298 // Make the hash mask from the length of the number string cache. It
7303 TNode<Word32T> mask = Int32Sub(
7322 TNode<Word32T> hash = Word32And(Word32Xor(low, high), mask);
7351 TNode<Word32T> hash = Word32And(SmiToInt32(smi_input.value()), mask);
7923 uint32_t shift, uint32_t mask) {
7924 DCHECK_EQ((mask >> shift) << shift, mask);
7926 ((std::numeric_limits<uint32_t>::max() & mask) >> shift)) {
7930 Int32Constant(mask >> shift)));
7935 uintptr_t mask) {
7936 DCHECK_EQ((mask >> shift) << shift, mask);
7938 ((std::numeric_limits<uintptr_t>::max() & mask) >> shift)) {
7942 IntPtrConstant(mask >> shift)));
7948 uint32_t shift, uint32_t mask,
7950 DCHECK_EQ((mask >> shift) << shift, mask);
7951 // Ensure the {value} fits fully in the mask.
7952 CSA_DCHECK(this, Uint32LessThanOrEqual(value, Uint32Constant(mask >> shift)));
7956 CSA_DCHECK(this, Word32Equal(Word32And(word, Int32Constant(~mask)), word));
7959 masked_word = Word32And(word, Int32Constant(~mask));
7966 uint32_t shift, uintptr_t mask,
7968 DCHECK_EQ((mask >> shift) << shift, mask);
7969 // Ensure the {value} fits fully in the mask.
7971 UintPtrLessThanOrEqual(value, UintPtrConstant(mask >> shift)));
7975 CSA_DCHECK(this, WordEqual(WordAnd(word, UintPtrConstant(~mask)), word));
7978 masked_word = WordAnd(word, UintPtrConstant(~mask));
8535 TNode<IntPtrT> mask = IntPtrSub(capacity, IntPtrConstant(1));
8540 TNode<IntPtrT> initial_entry = Signed(WordAnd(hash, mask));
8576 entry = Signed(WordAnd(IntPtrAdd(entry, var_count.value()), mask));
8625 TNode<IntPtrT> mask = IntPtrSub(capacity, IntPtrConstant(1));
8632 TNode<IntPtrT> initial_entry = Signed(WordAnd(hash, mask));
8670 entry = Signed(WordAnd(IntPtrAdd(entry, var_count.value()), mask));
9458 int mask = Map::Bits1::HasNamedInterceptorBit::kMask |
9460 GotoIf(IsSetWord32(bit_field, mask), if_bailout);
10257 int mask = Map::Bits1::HasNamedInterceptorBit::kMask |
10259 Branch(IsSetWord32(object_bitfield, mask), &return_runtime,
14583 uint32_t mask = Isolate::PromiseHookFields::HasContextPromiseHook::kMask |
14585 return IsSetWord32(flags, mask);
14602 uint32_t mask = Isolate::PromiseHookFields::HasIsolatePromiseHook::kMask |
14604 return IsSetWord32(flags, mask);
14610 uint32_t mask = Isolate::PromiseHookFields::HasIsolatePromiseHook::kMask |
14613 return IsSetWord32(flags, mask);
15867 TNode<Uint64T> mask = Uint64Constant(0xffULL << src_offset);
15868 TNode<Uint64T> src_data = Word64And(data, mask);
15899 TNode<IntPtrT> mask = IntPtrSub(capacity, one);
15904 // ((entry - Group::kWidth) & mask) + 1
15906 IntPtrAdd(WordAnd(IntPtrSub(entry, group_width), mask), one);
15907 // ((Group::kWidth - 1) & mask)
15908 TNode<IntPtrT> copy_entry_rhs = WordAnd(IntPtrSub(group_width, one), mask);