Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4033 BinaryOperator *BO0 = dyn_cast<BinaryOperator>(Op0); in foldICmpBinOp() local
4035 if (!BO0 && !BO1) in foldICmpBinOp()
4100 if (BO0 && isa<OverflowingBinaryOperator>(BO0)) in foldICmpBinOp()
4103 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || in foldICmpBinOp()
4104 (CmpInst::isSigned(Pred) && BO0->hasNoSignedWrap()); in foldICmpBinOp()
4114 if (BO0 && BO0->getOpcode() == Instruction::Add) { in foldICmpBinOp()
4115 A = BO0->getOperand(0); in foldICmpBinOp()
4116 B = BO0->getOperand(1); in foldICmpBinOp()
4230 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) { in foldICmpBinOp()
4240 bool HasNUW = BO0->hasNoUnsignedWrap() && Diff.ule(*AP1); in foldICmpBinOp()
[all …]
H A DInstCombineVectorOps.cpp2030 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local
2038 return {Instruction::Mul, BO0, ShlOne}; in getAlternateBinop()
2045 if (match(BO1, m_APInt(C)) && MaskedValueIsZero(BO0, *C, DL)) in getAlternateBinop()
2046 return {Instruction::Add, BO0, BO1}; in getAlternateBinop()
2051 if (match(BO0, m_ZeroInt())) in getAlternateBinop()
H A DInstCombineCalls.cpp2619 Value *BO0, *BO1, *X, *Y; in visitCallInst() local
2621 if (match(Vec, m_OneUse(m_BinOp(m_Value(BO0), m_Value(BO1))))) { in visitCallInst()
2623 if (match(BO0, m_VecReverse(m_Value(X)))) { in visitCallInst()
2638 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
2640 OldBinOp->getOpcode(), BO0, Y, in visitCallInst()
H A DInstructionCombining.cpp1020 Value *BO0 = BO.getOperand(0); in foldBinopOfSextBoolToSelect() local
1024 if (!match(BO0, m_SExt(m_Value(X))) || !match(BO1, m_ImmConstant(C)) || in foldBinopOfSextBoolToSelect()