Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3618 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1); in foldICmpBinOpEqualityWithConstant() local
3626 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName()); in foldICmpBinOpEqualityWithConstant()
3638 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant()
3643 return new ICmpInst(Pred, BOp0, NegVal); in foldICmpBinOpEqualityWithConstant()
3644 if (Value *NegVal = dyn_castNegVal(BOp0)) in foldICmpBinOpEqualityWithConstant()
3649 Value *Or = Builder.CreateOr(BOp0, BOp1); in foldICmpBinOpEqualityWithConstant()
3654 return new ICmpInst(Pred, BOp0, Neg); in foldICmpBinOpEqualityWithConstant()
3663 return new ICmpInst(Pred, BOp0, ConstantExpr::getXor(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3666 return new ICmpInst(Pred, BOp0, BOp1); in foldICmpBinOpEqualityWithConstant()
3676 Value *And = Builder.CreateAnd(BOp0, NotBOC); in foldICmpBinOpEqualityWithConstant()
[all …]
H A DInstCombineMulDivRem.cpp333 auto *BOp0 = cast<BinaryOperator>(Op0); in visitMul() local
335 (BOp0->getOpcode() == Instruction::Or || BOp0->hasNoUnsignedWrap()); in visitMul()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp636 const Value *BOp0, *BOp1; in translateBr() local
637 if (match(CondI, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
639 else if (match(CondI, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
642 if (Opcode && !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in translateBr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2796 const Value *BOp0, *BOp1; in visitBr() local
2798 if (match(BOp, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2800 else if (match(BOp, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2804 !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in visitBr()
2807 FuncInfo, I, Opcode, BOp0, BOp1, in visitBr()
2809 Opcode, BOp0, BOp1))) { in visitBr()