Lines Matching refs:CreateAnd
147 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()
736 Value *newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps()
747 Value *newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps()
753 Value *newAnd1 = Builder->CreateAnd(B, D); in foldLogOpOfMaskedICmps()
754 Value *newAnd = Builder->CreateAnd(A, newAnd1); in foldLogOpOfMaskedICmps()
817 Value *newAnd = Builder->CreateAnd(A, newOr1); in foldLogOpOfMaskedICmps()
958 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps()
1289 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd()
1296 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd()
1308 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1310 return BinaryOperator::CreateAnd(V, AndRHS); // Add commutes in visitAnd()
1318 return BinaryOperator::CreateAnd(V, AndRHS); in visitAnd()
1322 return BinaryOperator::CreateAnd(Op0RHS, AndRHS); in visitAnd()
1333 return BinaryOperator::CreateAnd(NewNeg, AndRHS); in visitAnd()
1367 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()
1420 return BinaryOperator::CreateAnd(A, Builder->CreateNot(B)); in visitAnd()
1427 return BinaryOperator::CreateAnd(A, Op1); in visitAnd()
1430 return BinaryOperator::CreateAnd(A, Op0); in visitAnd()
1436 return BinaryOperator::CreateAnd(Op0, Builder->CreateNot(C)); in visitAnd()
1442 return BinaryOperator::CreateAnd(Op1, Builder->CreateNot(C)); in visitAnd()
1447 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1452 return BinaryOperator::CreateAnd(A, B); in visitAnd()
1468 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1471 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1476 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, Y)); in visitAnd()
1479 return ReplaceInstUsesWith(I, Builder->CreateAnd(Res, X)); in visitAnd()
1503 Value *NewOp = Builder->CreateAnd(Op0COp, Op1COp, I.getName()); in visitAnd()
1806 Masked = Builder->CreateAnd(LAnd->getOperand(0), Mask); in FoldOrOfICmps()
1813 Masked = Builder->CreateAnd(LAnd->getOperand(1), Mask); in FoldOrOfICmps()
1868 Value *NewAnd = Builder->CreateAnd(LAddOpnd, MaskCst); in FoldOrOfICmps()
2192 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1); in FoldOrWithConstants()
2224 Value *NewOp = Builder->CreateAnd(V1 == A ? B : A, CI1); in FoldXorWithConstants()
2262 return BinaryOperator::CreateAnd(Or, in visitOr()
2356 return BinaryOperator::CreateAnd(A, in visitOr()
2364 return BinaryOperator::CreateAnd(B, in visitOr()
2375 return BinaryOperator::CreateAnd(V2, in visitOr()
2452 return BinaryOperator::CreateOr(Op1, Builder->CreateAnd(A, C)); in visitOr()
2653 return BinaryOperator::CreateAnd(Op0NotVal, NotY); in visitXor()
2668 return BinaryOperator::CreateAnd(NotX, NotY); in visitXor()
2811 return BinaryOperator::CreateAnd(A, Builder->CreateNot(Op1)); in visitXor()
2818 return BinaryOperator::CreateAnd(Builder->CreateNot(A), Op1); in visitXor()
2862 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2865 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2872 Builder->CreateAnd(Builder->CreateNot(A), B), C); in visitXor()
2875 Builder->CreateAnd(Builder->CreateNot(B), A), C); in visitXor()
2891 return BinaryOperator::CreateNot(Builder->CreateAnd(A, B)); in visitXor()