• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/

Lines Matching defs:And

861   bool JoinedByAnd = Logic.getOpcode() == Instruction::And;
917 /// And X is checking that some bit in that same mask is zero.
932 assert(CxtI.getOpcode() == Instruction::And);
982 // And the other icmp needs to be decomposable into a bit test.
1147 bool IsAnd = Logic.getOpcode() == Instruction::And;
1188 BinaryOperator &And) {
1189 const SimplifyQuery Q = SQ.getWithInstruction(&And);
1193 if (Value *V = foldAndOrOfICmpsOfAndWithPow2(LHS, RHS, And))
1216 if (Value *V = foldAndOrOfICmpsWithConstEq(LHS, RHS, And, Builder, Q))
1218 if (Value *V = foldAndOrOfICmpsWithConstEq(RHS, LHS, And, Builder, Q))
1232 if (Value *V = foldSignedTruncationCheck(LHS, RHS, And, Builder))
1463 assert((Opcode == Instruction::And || Opcode == Instruction::Or) &&
1475 FCmpInst::Predicate NanPred = Opcode == Instruction::And ? FCmpInst::FCMP_ORD
1508 assert((Opcode == Instruction::And || Opcode == Instruction::Or) &&
1512 Opcode = (Opcode == Instruction::And) ? Instruction::Or : Instruction::And;
1630 Value *Res = LogicOpc == Instruction::And ? foldAndOfICmps(ICmp0, ICmp1, I)
1642 if (Value *R = foldLogicOfFCmps(FCmp0, FCmp1, LogicOpc == Instruction::And))
1650 assert(I.getOpcode() == Instruction::And);
1728 Instruction *InstCombiner::narrowMaskedBinOp(BinaryOperator &And) {
1734 Value *Op0 = And.getOperand(0), *Op1 = And.getOperand(1);
1747 Type *Ty = And.getType();
1813 Value *And = Builder.CreateAnd(X, Op1);
1814 And->takeName(Op0);
1815 return BinaryOperator::CreateXor(And, NewC);
1827 Value *And = Builder.CreateAnd(X, ConstantInt::get(I.getType(),
1829 And->takeName(Op0);
1830 return BinaryOperator::CreateOr(And, ConstantInt::get(I.getType(),
1896 auto *And = Builder.CreateAnd(BinOp, TruncC2);
1897 return new ZExtInst(And, I.getType());
2989 if (Value *AndICmp = SimplifyBinOp(Instruction::And, LHS, RHS, SQ)) {
3166 if (NotVal->getOpcode() == Instruction::And ||
3177 if (NotVal->getOpcode() == Instruction::And)
3229 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2));
3230 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1));