Lines Matching refs:CreateAnd
358 return BinaryOperator::CreateAnd(C1, C2); in foldCmpLoadFromIndexedGlobal()
408 V = Builder.CreateAnd(ConstantInt::get(Ty, 1), V); in foldCmpLoadFromIndexedGlobal()
1358 Value *Masked = Builder.CreateAnd(X, Mask); in foldIRemByPowerOfTwoToBitTest()
1712 Value *NewAnd = Builder.CreateAnd( in foldICmpAndShift()
1730 Value *NewAnd = Builder.CreateAnd(Shift->getOperand(0), NewShift); in foldICmpAndShift()
1797 Value *NewAnd = Builder.CreateAnd(W, ZextC2, And->getName()); in foldICmpAndConstConst()
1836 Value *NewAnd = Builder.CreateAnd(A, NewOr, And->getName()); in foldICmpAndConstConst()
1929 Value *And = Builder.CreateAnd(OrOp0, ~(*MaskC)); in foldICmpOrConstant()
2146 Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask"); in foldICmpShlConstant()
2158 Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask"); in foldICmpShlConstant()
2168 Value *And = Builder.CreateAnd(X, (~C).lshr(ShiftAmt->getZExtValue())); in foldICmpShlConstant()
2177 Builder.CreateAnd(X, (~(C - 1)).lshr(ShiftAmt->getZExtValue())); in foldICmpShlConstant()
2292 Value *And = Builder.CreateAnd(X, Mask, Shr->getName() + ".mask"); in foldICmpShrConstant()
2323 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant()
2652 return new ICmpInst(ICmpInst::ICMP_EQ, Builder.CreateAnd(X, -C), in foldICmpAddConstant()
2659 return new ICmpInst(ICmpInst::ICMP_NE, Builder.CreateAnd(X, ~C), in foldICmpAddConstant()
3056 Value *And = Builder.CreateAnd(BOp0, NotBOC); in foldICmpBinOpEqualityWithConstant()
3122 Builder.CreateAnd(II->getArgOperand(0), Mask1), in foldICmpEqIntrinsicWithConstant()
3214 Builder.CreateAnd(II->getArgOperand(0), Mask), in foldICmpIntrinsicWithConstant()
3222 Builder.CreateAnd(II->getArgOperand(0), Mask), in foldICmpIntrinsicWithConstant()
3669 Value *T1 = Builder.CreateAnd(T0, Y); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4080 Value *And1 = Builder.CreateAnd(BO0->getOperand(0), Mask); in foldICmpBinOp()
4081 Value *And2 = Builder.CreateAnd(BO1->getOperand(0), Mask); in foldICmpBinOp()
4294 Op1 = Builder.CreateAnd(Op1, Z); in foldICmpEquality()
4337 Value *And = Builder.CreateAnd(Xor, Builder.getInt(AndVal), in foldICmpEquality()
4362 Value *Mask = Builder.CreateAnd(A, Builder.getInt(MaskV)); in foldICmpEquality()
4810 Value *ShortAnd = Builder.CreateAnd(Mul, ShortMask); in processUMulZExtIdiom()
5426 return BinaryOperator::CreateAnd(Builder.CreateNot(A), B); in canonicalizeICmpBool()
5434 return BinaryOperator::CreateAnd(Builder.CreateNot(B), A); in canonicalizeICmpBool()
5727 return new ICmpInst(I.getInversePredicate(), Builder.CreateAnd(A, B), in visitICmpInst()