Searched refs:BO1 (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 4900 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in foldICmpBinOp() local 4901 if (!BO0 && !BO1) in foldICmpBinOp() 4992 if (BO1) { in foldICmpBinOp() 4993 match(BO1, m_AddLike(m_Value(C), m_Value(D))); in foldICmpBinOp() 4994 NoOp1WrapProblem = hasNoWrapProblem(*BO1, Pred, Op1HasNSW, Op1HasNUW); in foldICmpBinOp() 5104 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) { in foldICmpBinOp() 5146 if (BO1 && BO1->getOpcode() == Instruction::Sub) { in foldICmpBinOp() 5147 C = BO1->getOperand(0); in foldICmpBinOp() 5148 D = BO1->getOperand(1); in foldICmpBinOp() 5216 if (NonZero && BO0 && BO1 && Op0HasNSW && Op1HasNSW) in foldICmpBinOp() [all …]
|
H A D | InstCombineVectorOps.cpp | 2065 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local 2071 if (match(BO1, m_ImmConstant(C))) { in getAlternateBinop() 2082 return {Instruction::Add, BO0, BO1}; in getAlternateBinop() 2088 return {Instruction::Mul, BO1, ConstantInt::getAllOnesValue(Ty)}; in getAlternateBinop()
|
H A D | InstCombineCalls.cpp | 3308 Value *BO0, *BO1, *X, *Y; in visitCallInst() local 3310 if (match(Vec, m_OneUse(m_BinOp(m_Value(BO0), m_Value(BO1))))) { in visitCallInst() 3314 if (match(BO1, m_VecReverse(m_Value(Y)))) in visitCallInst() 3320 if (isSplatValue(BO1)) in visitCallInst() 3322 OldBinOp->getOpcode(), X, BO1, in visitCallInst() 3327 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
|
H A D | InstCombineMulDivRem.cpp | 2078 OverflowingBinaryOperator *BO1 = cast<OverflowingBinaryOperator>(Op1); in simplifyIRemMulShl() local 2079 bool BO1HasNSW = BO1->hasNoSignedWrap(); in simplifyIRemMulShl() 2080 bool BO1HasNUW = BO1->hasNoUnsignedWrap(); in simplifyIRemMulShl()
|
H A D | InstructionCombining.cpp | 1634 Value *BO1 = BO.getOperand(1); in foldBinopOfSextBoolToSelect() local 1637 if (!match(BO0, m_SExt(m_Value(X))) || !match(BO1, m_ImmConstant(C)) || in foldBinopOfSextBoolToSelect()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 1120 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() local 1121 std::tie(DeclExpr1, BO1, NumExpr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator() 1184 Res1 = analyzeLogicOperatorCondition(BO1, Value, L1); in checkIncorrectLogicOperator()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 2561 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local 2562 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax() 2565 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local 2566 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 3403 BinaryOperator *BO1 = nullptr; in getInvertibleOperands() local 3408 !matchSimpleRecurrence(PN1, BO1, Start1, Step1) || in getInvertibleOperands() 3412 auto Values = getInvertibleOperands(cast<Operator>(BO1), in getInvertibleOperands()
|