Lines Matching refs:MaskC
1924 const APInt *MaskC; in foldICmpOrConstant() local
1925 if (match(OrOp1, m_APInt(MaskC)) && Cmp.isEquality()) { in foldICmpOrConstant()
1926 if (*MaskC == C && (C + 1).isPowerOf2()) { in foldICmpOrConstant()
1939 Value *And = Builder.CreateAnd(OrOp0, ~(*MaskC)); in foldICmpOrConstant()
1940 Constant *NewC = ConstantInt::get(Or->getType(), C ^ (*MaskC)); in foldICmpOrConstant()
2447 Constant *MaskC = ConstantInt::get(Ty, SignMask | (*DivisorC - 1)); in foldICmpSRemConstant() local
2448 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant()
4818 Constant *MaskC = ConstantInt::get(X->getType(), C->zext(SrcBits)); in foldICmpWithTrunc() local
4819 Value *And = Builder.CreateAnd(X, MaskC); in foldICmpWithTrunc()
4820 return new ICmpInst(ICmpInst::ICMP_NE, And, MaskC); in foldICmpWithTrunc()
4826 Constant *MaskC = ConstantInt::get(X->getType(), (*C + 1).zext(SrcBits)); in foldICmpWithTrunc() local
4827 Value *And = Builder.CreateAnd(X, MaskC); in foldICmpWithTrunc()
4828 return new ICmpInst(ICmpInst::ICMP_EQ, And, MaskC); in foldICmpWithTrunc()