Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4076 if (!BO0 && !BO1) in foldICmpBinOp()
4146 if (BO1 && isa<OverflowingBinaryOperator>(BO1)) in foldICmpBinOp()
4159 if (BO1 && BO1->getOpcode() == Instruction::Add) { in foldICmpBinOp()
4160 C = BO1->getOperand(0); in foldICmpBinOp()
4314 if (BO1 && BO1->getOpcode() == Instruction::Sub) { in foldICmpBinOp()
4368 (BO0 && BO1 && BO0->hasNoSignedWrap() && BO1->hasNoSignedWrap()) || in foldICmpBinOp()
4369 (BO0 && BO1 && BO0->hasNoUnsignedWrap() && BO1->hasNoUnsignedWrap())) in foldICmpBinOp()
4378 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
4380 SRem = BO1; in foldICmpBinOp()
4402 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() && BO0->hasOneUse() && in foldICmpBinOp()
[all …]
H A DInstCombineVectorOps.cpp1930 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local
1936 if (match(BO1, m_Constant(C))) { in getAlternateBinop()
1945 if (match(BO1, m_APInt(C)) && MaskedValueIsZero(BO0, *C, DL)) in getAlternateBinop()
1946 return {Instruction::Add, BO0, BO1}; in getAlternateBinop()
1952 return {Instruction::Mul, BO1, ConstantInt::getAllOnesValue(Ty)}; in getAlternateBinop()
H A DInstCombineCalls.cpp2438 Value *BO0, *BO1, *X, *Y; in visitCallInst() local
2440 if (match(Vec, m_OneUse(m_BinOp(m_Value(BO0), m_Value(BO1))))) { in visitCallInst()
2445 if (match(BO1, m_Intrinsic<Intrinsic::experimental_vector_reverse>( in visitCallInst()
2452 if (isSplatValue(BO1)) in visitCallInst()
2455 OldBinOp->getOpcode(), X, BO1, in visitCallInst()
2459 if (match(BO1, m_Intrinsic<Intrinsic::experimental_vector_reverse>( in visitCallInst()
H A DInstructionCombining.cpp982 Value *BO1 = BO.getOperand(1); in foldBinopOfSextBoolToSelect() local
985 if (!match(BO0, m_SExt(m_Value(X))) || !match(BO1, m_ImmConstant(C)) || in foldBinopOfSextBoolToSelect()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2355 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2356 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2359 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2360 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp1052 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() local
1053 std::tie(DeclExpr1, BO1, NumExpr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator()
1116 Res1 = analyzeLogicOperatorCondition(BO1, Value, L1); in checkIncorrectLogicOperator()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp2802 BinaryOperator *BO1 = nullptr; in getInvertibleOperands() local
2807 !matchSimpleRecurrence(PN1, BO1, Start1, Step1) || in getInvertibleOperands()
2811 auto Values = getInvertibleOperands(cast<Operator>(BO1), in getInvertibleOperands()