Home
last modified time | relevance | path

Searched refs:AddLHS (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h1977 Value *AddLHS, *AddRHS; in match() local
1978 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1982 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1983 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1987 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1988 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
2008 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
2009 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
2013 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
2014 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp898 Value *AddLHS; in computeValueKnownInPredecessorsImpl() local
901 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in computeValueKnownInPredecessorsImpl()
902 if (!isa<Instruction>(AddLHS) || in computeValueKnownInPredecessorsImpl()
903 cast<Instruction>(AddLHS)->getParent() != BB) { in computeValueKnownInPredecessorsImpl()
909 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in computeValueKnownInPredecessorsImpl()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3883 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; in matchScaledValue() local
3885 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI))) && in matchScaledValue()
3888 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()