Searched refs:BOp1 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 3471 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1); in foldICmpBinOpEqualityWithConstant() local 3478 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant() 3479 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName()); in foldICmpBinOpEqualityWithConstant() 3489 if (Constant *C2 = dyn_cast<Constant>(BOp1)) { in foldICmpBinOpEqualityWithConstant() 3495 if (Value *NegVal = dyn_castNegVal(BOp1)) in foldICmpBinOpEqualityWithConstant() 3498 return new ICmpInst(Pred, NegVal, BOp1); in foldICmpBinOpEqualityWithConstant() 3502 Value *Or = Builder.CreateOr(BOp0, BOp1); in foldICmpBinOpEqualityWithConstant() 3505 Value *Neg = Builder.CreateNeg(BOp1); in foldICmpBinOpEqualityWithConstant() 3513 if (Constant *BOC = dyn_cast<Constant>(BOp1)) { in foldICmpBinOpEqualityWithConstant() 3519 return new ICmpInst(Pred, BOp0, BOp1); in foldICmpBinOpEqualityWithConstant() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 622 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() 629 match(BOp1, m_ExtractElt(m_Specific(Vec), m_Value())))) { in translateBr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2829 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() 2838 match(BOp1, m_ExtractElt(m_Specific(Vec), m_Value()))) && in visitBr() 2840 FuncInfo, I, Opcode, BOp0, BOp1, in visitBr() 2842 Opcode, BOp0, BOp1))) { in visitBr()
|