Home
last modified time | relevance | path

Searched refs:BO0 (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1251 auto *BO0 = cast<OverflowingBinaryOperator>(Cmp.getOperand(0)); in foldICmpWithZero() local
1252 if (BO0->hasNoUnsignedWrap() || BO0->hasNoSignedWrap()) { in foldICmpWithZero()
4899 BinaryOperator *BO0 = dyn_cast<BinaryOperator>(Op0); in foldICmpBinOp() local
4901 if (!BO0 && !BO1) in foldICmpBinOp()
4988 if (BO0) { in foldICmpBinOp()
4989 match(BO0, m_AddLike(m_Value(A), m_Value(B))); in foldICmpBinOp()
4990 NoOp0WrapProblem = hasNoWrapProblem(*BO0, Pred, Op0HasNSW, Op0HasNUW); in foldICmpBinOp()
5104 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) { in foldICmpBinOp()
5115 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
5121 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
[all …]
H A DInstCombineShifts.cpp777 BinaryOperator *BO0 = cast<BinaryOperator>(Op0); in FoldShiftByConstant() local
780 BO0->hasNoUnsignedWrap()); in FoldShiftByConstant()
781 R->setHasNoSignedWrap(I.hasNoSignedWrap() && BO0->hasNoSignedWrap()); in FoldShiftByConstant()
783 R->setIsExact(I.isExact() && BO0->isExact()); in FoldShiftByConstant()
H A DInstCombineVectorOps.cpp2065 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local
2075 return {Instruction::Mul, BO0, ShlOne}; in getAlternateBinop()
2082 return {Instruction::Add, BO0, BO1}; in getAlternateBinop()
2087 if (match(BO0, m_ZeroInt())) in getAlternateBinop()
H A DInstCombineCalls.cpp3308 Value *BO0, *BO1, *X, *Y; in visitCallInst() local
3310 if (match(Vec, m_OneUse(m_BinOp(m_Value(BO0), m_Value(BO1))))) { in visitCallInst()
3312 if (match(BO0, m_VecReverse(m_Value(X)))) { in visitCallInst()
3327 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
3330 OldBinOp->getOpcode(), BO0, Y, OldBinOp, in visitCallInst()
H A DInstCombineMulDivRem.cpp2053 OverflowingBinaryOperator *BO0 = cast<OverflowingBinaryOperator>(Op0); in simplifyIRemMulShl() local
2056 bool BO0HasNSW = BO0->hasNoSignedWrap(); in simplifyIRemMulShl()
2057 bool BO0HasNUW = BO0->hasNoUnsignedWrap(); in simplifyIRemMulShl()
H A DInstructionCombining.cpp1633 Value *BO0 = BO.getOperand(0); in foldBinopOfSextBoolToSelect() local
1637 if (!match(BO0, m_SExt(m_Value(X))) || !match(BO1, m_ImmConstant(C)) || in foldBinopOfSextBoolToSelect()