Lines Matching refs:ImmValue
553 APInt ImmValue; in selectVSplatCommon() local
559 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatCommon()
560 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatCommon()
562 if (( Signed && ImmValue.isSignedIntN(ImmBitSize)) || in selectVSplatCommon()
563 (!Signed && ImmValue.isIntN(ImmBitSize))) { in selectVSplatCommon()
564 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); in selectVSplatCommon()
629 APInt ImmValue; in selectVSplatUimmPow2() local
635 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmPow2()
636 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmPow2()
637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
660 APInt ImmValue; in selectVSplatMaskL() local
666 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatMaskL()
667 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatMaskL()
671 if (ImmValue == ~(~ImmValue & ~(~ImmValue + 1))) { in selectVSplatMaskL()
673 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation() - 1, SDLoc(N), in selectVSplatMaskL()
694 APInt ImmValue; in selectVSplatMaskR() local
700 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatMaskR()
701 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatMaskR()
704 if (ImmValue == (ImmValue & ~(ImmValue + 1))) { in selectVSplatMaskR()
705 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation() - 1, SDLoc(N), in selectVSplatMaskR()
716 APInt ImmValue; in selectVSplatUimmInvPow2() local
722 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmInvPow2()
723 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmInvPow2()
724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()