Lines Matching refs:CreateAnd
137 BinOp = Builder->CreateAnd(NewLHS, NewRHS); in SimplifyBSwap()
163 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp()
174 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp()
183 Value *And = Builder->CreateAnd(X, Together); in OptAndOp()
215 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp()
277 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); in OptAndOp()
724 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
735 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
741 Value *NewAnd1 = Builder->CreateAnd(B, D); in foldLogOpOfMaskedICmps()
742 Value *NewAnd2 = Builder->CreateAnd(A, NewAnd1); in foldLogOpOfMaskedICmps()
805 Value *NewAnd = Builder->CreateAnd(A, NewOr1); in foldLogOpOfMaskedICmps()
941 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps()
1347 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd()
1354 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd()
1366 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1368 return BinaryOperator::CreateAnd(V, AndRHS); // Add commutes in visitAnd()
1376 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1380 return BinaryOperator::CreateAnd(Op0RHS, AndRHS); in visitAnd()
1391 return BinaryOperator::CreateAnd(NewNeg, AndRHS); in visitAnd()
1425 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()
1476 return BinaryOperator::CreateAnd(A, Builder->CreateNot(B)); in visitAnd()
1483 return BinaryOperator::CreateAnd(A, Op1); in visitAnd()
1486 return BinaryOperator::CreateAnd(A, Op0); in visitAnd()
1492 return BinaryOperator::CreateAnd(Op0, Builder->CreateNot(C)); in visitAnd()
1498 return BinaryOperator::CreateAnd(Op1, Builder->CreateNot(C)); in visitAnd()
1503 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1508 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1524 return replaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1527 return replaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1532 return replaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1535 return replaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1705 Masked = Builder->CreateAnd(LAnd->getOperand(0), Mask); in FoldOrOfICmps()
1712 Masked = Builder->CreateAnd(LAnd->getOperand(1), Mask); in FoldOrOfICmps()
1767 Value *NewAnd = Builder->CreateAnd(LAddOpnd, MaskCst); in FoldOrOfICmps()
2083 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1); in FoldOrWithConstants()
2115 Value *NewOp = Builder->CreateAnd(V1 == A ? B : A, CI1); in FoldXorWithConstants()
2153 return BinaryOperator::CreateAnd(Or, in visitOr()
2237 return BinaryOperator::CreateAnd(A, in visitOr()
2245 return BinaryOperator::CreateAnd(B, in visitOr()
2256 return BinaryOperator::CreateAnd(V2, in visitOr()
2342 return BinaryOperator::CreateOr(Op1, Builder->CreateAnd(A, C)); in visitOr()
2512 return BinaryOperator::CreateAnd(Op0NotVal, NotY); in visitXor()
2527 return BinaryOperator::CreateAnd(NotX, NotY); in visitXor()
2670 return BinaryOperator::CreateAnd(A, Builder->CreateNot(Op1)); in visitXor()
2677 return BinaryOperator::CreateAnd(Builder->CreateNot(A), Op1); in visitXor()
2721 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2724 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2731 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2734 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2750 return BinaryOperator::CreateNot(Builder->CreateAnd(A, B)); in visitXor()