Lines Matching defs:shift
633 TNode<Smi> SmiShl(TNode<Smi> a, int shift) {
635 WordShl(BitcastTaggedToWordForTagAndSmiBits(a), shift));
636 // Smi shift have different result to int32 shift when the inputs are not
639 this, TaggedEqual(result, BitwiseOp(SmiToInt32(a), Int32Constant(shift),
644 TNode<Smi> SmiShr(TNode<Smi> a, int shift) {
648 WordAnd(WordShr(BitcastTaggedToWordForTagAndSmiBits(a), shift),
657 shift)),
660 // Smi shift have different result to int32 shift when the inputs are not
663 this, TaggedEqual(result, BitwiseOp(SmiToInt32(a), Int32Constant(shift),
668 TNode<Smi> SmiSar(TNode<Smi> a, int shift) {
669 // The number of shift bits is |shift % 64| for 64-bits value and |shift %
671 DCHECK_LT(shift, 32);
674 WordAnd(WordSar(BitcastTaggedToWordForTagAndSmiBits(a), shift),
683 shift)),
688 TNode<Smi> WordOrSmiShr(TNode<Smi> a, int shift) { return SmiShr(a, shift); }
690 TNode<IntPtrT> WordOrSmiShr(TNode<IntPtrT> a, int shift) {
691 return WordShr(a, shift);
2843 TNode<Uint32T> DecodeWord32(TNode<Word32T> word32, uint32_t shift,
2847 TNode<UintPtrT> DecodeWord(TNode<WordT> word, uint32_t shift, uintptr_t mask);
2883 // at {shift} and fitting in {mask}.
2885 uint32_t shift, uint32_t mask,
2889 // at {shift} and fitting in {mask}.
2891 uint32_t shift, uintptr_t mask,
2919 // constant |value|. Avoids a shift compared to using DecodeWord32.
2929 // given constant |value|. Avoids a shift compared to using DecodeWord32.