Lines Matching refs:And

791   assert(CxtI.getOpcode() == Instruction::And);  in foldSignedTruncationCheck()
1133 return Builder.CreateBinOp(IsAnd ? Instruction::And : Instruction::Or, Cmp0, in foldAndOrOfICmpsWithConstEq()
1276 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in reassociateFCmps()
1288 FCmpInst::Predicate NanPred = Opcode == Instruction::And ? FCmpInst::FCMP_ORD in reassociateFCmps()
1321 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in matchDeMorgansLaws()
1326 (Opcode == Instruction::And) ? Instruction::Or : Instruction::And; in matchDeMorgansLaws()
1460 foldAndOrOfICmps(ICmp0, ICmp1, I, LogicOpc == Instruction::And)) in foldCastedBitwiseLogic()
1470 if (Value *R = foldLogicOfFCmps(FCmp0, FCmp1, LogicOpc == Instruction::And)) in foldCastedBitwiseLogic()
1478 assert(I.getOpcode() == Instruction::And); in foldAndToXor()
1545 Instruction *InstCombinerImpl::narrowMaskedBinOp(BinaryOperator &And) { in narrowMaskedBinOp() argument
1551 Value *Op0 = And.getOperand(0), *Op1 = And.getOperand(1); in narrowMaskedBinOp()
1564 Type *Ty = And.getType(); in narrowMaskedBinOp()
1589 assert(Opcode == Instruction::And || Opcode == Instruction::Or); in foldComplexAndOrPatterns()
1593 (Opcode == Instruction::And) ? Instruction::Or : Instruction::And; in foldComplexAndOrPatterns()
1790 Value *And = Builder.CreateAnd(X, Op1); in visitAnd() local
1791 And->takeName(Op0); in visitAnd()
1792 return BinaryOperator::CreateXor(And, NewC); in visitAnd()
1804 Value *And = Builder.CreateAnd(X, ConstantInt::get(Ty, Together ^ *C)); in visitAnd() local
1805 And->takeName(Op0); in visitAnd()
1806 return BinaryOperator::CreateOr(And, ConstantInt::get(Ty, Together)); in visitAnd()
1879 Value *And = Builder.CreateAnd(BinOp, TruncC); in visitAnd() local
1880 return new ZExtInst(And, Ty); in visitAnd()
3248 if (Value *AndICmp = simplifyBinOp(Instruction::And, LHS, RHS, SQ)) { in foldXorOfICmps()
3402 case Instruction::And: in sinkNotIntoOtherHandOfAndOrOr()
3406 NewOpc = Instruction::And; in sinkNotIntoOtherHandOfAndOrOr()
3475 if (NotVal->getOpcode() == Instruction::And || in foldNot()
3486 if (NotVal->getOpcode() == Instruction::And) in foldNot()
3669 Value *And = Builder.CreateAnd( in visitXor() local
3672 And, Constant::mergeUndefsWith(ConstantExpr::getXor(C1, C2), C1)); in visitXor()
3678 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2)); in visitXor() local
3679 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1)); in visitXor()