Home
last modified time | relevance | path

Searched refs:AddRHS (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1657 Value *AddLHS, *AddRHS; in match() local
1658 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1662 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1663 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1667 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1668 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
1675 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
1676 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1680 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
1681 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2645 ConstantInt *AddRHS; in visitSwitchInst() local
2646 if (match(Cond, m_Add(m_Value(Op0), m_ConstantInt(AddRHS)))) { in visitSwitchInst()
2649 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
DInstCombineAndOrXor.cpp137 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp() local
140 if ((AddRHS & (AndRHSV - 1)).isNullValue()) { in OptAndOp()
145 if ((AddRHS & AndRHSV).isNullValue()) { // Bit is not set, noop in OptAndOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9525 SDValue AddRHS = RHS; in performAddCombine() local
9532 AddRHS = DAG.getZExtOrTrunc(AddRHS, SL, MVT::i64); in performAddCombine()
9533 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, false); in performAddCombine()
9539 AddRHS = DAG.getSExtOrTrunc(AddRHS, SL, MVT::i64); in performAddCombine()
9540 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, true); in performAddCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp3972 const SCEVMulExpr *AddRHS = dyn_cast<SCEVMulExpr>(Add->getOperand(1)); in MatchNotExpr() local
3973 if (!AddRHS || AddRHS->getNumOperands() != 2 || in MatchNotExpr()
3974 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr()
3977 return AddRHS->getOperand(1); in MatchNotExpr()