Home
last modified time | relevance | path

Searched refs:BO1 (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4570 if (!BO0 && !BO1) in foldICmpBinOp()
4661 if (BO1) { in foldICmpBinOp()
4814 if (BO1 && BO1->getOpcode() == Instruction::Sub) { in foldICmpBinOp()
4815 C = BO1->getOperand(0); in foldICmpBinOp()
4816 D = BO1->getOperand(1); in foldICmpBinOp()
4902 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
4903 Op0 == BO1->getOperand(1)) in foldICmpBinOp()
4904 SRem = BO1; in foldICmpBinOp()
4926 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() && in foldICmpBinOp()
4983 !BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
[all …]
H A DInstCombineVectorOps.cpp2057 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local
2063 if (match(BO1, m_Constant(C))) { in getAlternateBinop()
2072 if (match(BO1, m_APInt(C)) && MaskedValueIsZero(BO0, *C, DL)) in getAlternateBinop()
2073 return {Instruction::Add, BO0, BO1}; in getAlternateBinop()
2079 return {Instruction::Mul, BO1, ConstantInt::getAllOnesValue(Ty)}; in getAlternateBinop()
H A DInstCombineCalls.cpp3117 Value *BO0, *BO1, *X, *Y; in visitCallInst() local
3119 if (match(Vec, m_OneUse(m_BinOp(m_Value(BO0), m_Value(BO1))))) { in visitCallInst()
3123 if (match(BO1, m_VecReverse(m_Value(Y)))) in visitCallInst()
3129 if (isSplatValue(BO1)) in visitCallInst()
3132 OldBinOp->getOpcode(), X, BO1, in visitCallInst()
3136 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
H A DInstCombineMulDivRem.cpp1922 OverflowingBinaryOperator *BO1 = cast<OverflowingBinaryOperator>(Op1); in simplifyIRemMulShl() local
1923 bool BO1HasNSW = BO1->hasNoSignedWrap(); in simplifyIRemMulShl()
1924 bool BO1HasNUW = BO1->hasNoUnsignedWrap(); in simplifyIRemMulShl()
H A DInstructionCombining.cpp1412 Value *BO1 = BO.getOperand(1); in foldBinopOfSextBoolToSelect() local
1415 if (!match(BO0, m_SExt(m_Value(X))) || !match(BO1, m_ImmConstant(C)) || in foldBinopOfSextBoolToSelect()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2372 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2373 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2376 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2377 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1120 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() local
1121 std::tie(DeclExpr1, BO1, NumExpr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator()
1184 Res1 = analyzeLogicOperatorCondition(BO1, Value, L1); in checkIncorrectLogicOperator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2944 BinaryOperator *BO1 = nullptr; in getInvertibleOperands() local
2949 !matchSimpleRecurrence(PN1, BO1, Start1, Step1) || in getInvertibleOperands()
2953 auto Values = getInvertibleOperands(cast<Operator>(BO1), in getInvertibleOperands()