Lines Matching refs:isConstOrConstSplat
2979 if (ConstantSDNode *SA = isConstOrConstSplat(V.getOperand(1), DemandedElts)) { in getValidShiftAmountConstant()
3470 if (ConstantSDNode *C = isConstOrConstSplat(Op.getOperand(2), DemandedElts)) { in computeKnownBits()
3929 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in computeKnownBits()
3932 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in computeKnownBits()
4186 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4196 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4479 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in ComputeNumSignBits()
4482 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in ComputeNumSignBits()
4547 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits()
4568 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits()
4593 isConstOrConstSplat(Op.getOperand(0), DemandedElts)) in ComputeNumSignBits()
5371 ConstantSDNode *MaskC = isConstOrConstSplat(Mask); in getBitwiseNotOperand()
6578 isConstOrConstSplat(N2, /*AllowUndefs*/ false, /*AllowTruncation*/ true); in getNode()
9601 if (ConstantSDNode *CondC = isConstOrConstSplat(Cond, /*AllowUndefs*/ false, in simplifySelect()
9863 ConstantSDNode *N2CV = isConstOrConstSplat(N2, /*AllowUndefs*/ false, in getNode()
11551 if (auto *Const = isConstOrConstSplat(V)) { in isNeutralConstant()
11638 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true); in isBitwiseNot()
11642 ConstantSDNode *llvm::isConstOrConstSplat(SDValue N, bool AllowUndefs, in isConstOrConstSplat() function in llvm
11648 return isConstOrConstSplat(N, DemandedElts, AllowUndefs, AllowTruncation); in isConstOrConstSplat()
11651 ConstantSDNode *llvm::isConstOrConstSplat(SDValue N, const APInt &DemandedElts, in isConstOrConstSplat() function in llvm
11721 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation=*/true); in isNullOrNullSplat()
11727 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation*/ true); in isOneOrOneSplat()
11734 ConstantSDNode *C = isConstOrConstSplat(N, AllowUndefs); in isAllOnesOrAllOnesSplat()