Lines Matching refs:CreateAnd
146 BinOp = Builder->CreateAnd(NewLHS, NewRHS); in SimplifyBSwap()
173 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp()
184 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp()
193 Value *And = Builder->CreateAnd(X, Together); in OptAndOp()
225 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp()
287 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); in OptAndOp()
738 Value *newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps()
749 Value *newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps()
755 Value *newAnd1 = Builder->CreateAnd(B, D); in foldLogOpOfMaskedICmps()
756 Value *newAnd = Builder->CreateAnd(A, newAnd1); in foldLogOpOfMaskedICmps()
819 Value *newAnd = Builder->CreateAnd(A, newOr1); in foldLogOpOfMaskedICmps()
960 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps()
1244 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd()
1251 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd()
1263 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1265 return BinaryOperator::CreateAnd(V, AndRHS); // Add commutes in visitAnd()
1273 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1284 return BinaryOperator::CreateAnd(NewNeg, AndRHS); in visitAnd()
1318 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()
1378 return BinaryOperator::CreateAnd(A, Builder->CreateNot(B)); in visitAnd()
1385 return BinaryOperator::CreateAnd(A, Op1); in visitAnd()
1388 return BinaryOperator::CreateAnd(A, Op0); in visitAnd()
1394 return BinaryOperator::CreateAnd(Op0, Builder->CreateNot(C)); in visitAnd()
1400 return BinaryOperator::CreateAnd(Op1, Builder->CreateNot(C)); in visitAnd()
1405 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1410 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1426 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1429 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1434 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1437 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1460 Value *NewOp = Builder->CreateAnd(Op0COp, Op1COp, I.getName()); in visitAnd()
1717 Masked = Builder->CreateAnd(LAnd->getOperand(0), Mask); in FoldOrOfICmps()
1724 Masked = Builder->CreateAnd(LAnd->getOperand(1), Mask); in FoldOrOfICmps()
1779 Value *NewAnd = Builder->CreateAnd(LAddOpnd, MaskCst); in FoldOrOfICmps()
1913 Value *And = Builder->CreateAnd(LHS->getOperand(0), NegCst); in FoldOrOfICmps()
2104 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1); in FoldOrWithConstants()
2136 Value *NewOp = Builder->CreateAnd(V1 == A ? B : A, CI1); in FoldXorWithConstants()
2174 return BinaryOperator::CreateAnd(Or, in visitOr()
2264 return BinaryOperator::CreateAnd(A, in visitOr()
2272 return BinaryOperator::CreateAnd(B, in visitOr()
2283 return BinaryOperator::CreateAnd(V2, in visitOr()
2360 return BinaryOperator::CreateOr(Op1, Builder->CreateAnd(A, C)); in visitOr()
2366 Value *And = Builder->CreateAnd(Op0NotVal, Op1NotVal, in visitOr()
2567 return BinaryOperator::CreateAnd(Op0NotVal, NotY); in visitXor()
2582 return BinaryOperator::CreateAnd(NotX, NotY); in visitXor()
2725 return BinaryOperator::CreateAnd(A, Builder->CreateNot(Op1)); in visitXor()
2732 return BinaryOperator::CreateAnd(Builder->CreateNot(A), Op1); in visitXor()
2776 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2779 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2786 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2789 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2805 return BinaryOperator::CreateNot(Builder->CreateAnd(A, B)); in visitXor()