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.cpp3471 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1); in foldICmpBinOpEqualityWithConstant() local
3479 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName()); in foldICmpBinOpEqualityWithConstant()
3491 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant()
3496 return new ICmpInst(Pred, BOp0, NegVal); in foldICmpBinOpEqualityWithConstant()
3497 if (Value *NegVal = dyn_castNegVal(BOp0)) in foldICmpBinOpEqualityWithConstant()
3502 Value *Or = Builder.CreateOr(BOp0, BOp1); in foldICmpBinOpEqualityWithConstant()
3507 return new ICmpInst(Pred, BOp0, Neg); in foldICmpBinOpEqualityWithConstant()
3516 return new ICmpInst(Pred, BOp0, ConstantExpr::getXor(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3519 return new ICmpInst(Pred, BOp0, BOp1); in foldICmpBinOpEqualityWithConstant()
3529 Value *And = Builder.CreateAnd(BOp0, NotBOC); in foldICmpBinOpEqualityWithConstant()
[all …]
H A DInstCombineMulDivRem.cpp312 auto *BOp0 = cast<BinaryOperator>(Op0); in visitMul() local
314 (BOp0->getOpcode() == Instruction::Or || BOp0->hasNoUnsignedWrap()); in visitMul()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp622 const Value *BOp0, *BOp1; in translateBr() local
623 if (match(CondI, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
625 else if (match(CondI, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
628 if (Opcode && !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in translateBr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2829 const Value *BOp0, *BOp1; in visitBr() local
2831 if (match(BOp, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2833 else if (match(BOp, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2837 !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in visitBr()
2840 FuncInfo, I, Opcode, BOp0, BOp1, in visitBr()
2842 Opcode, BOp0, BOp1))) { in visitBr()