Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DPatternMatch.h1454 Value *AddLHS, *AddRHS; in match() local
1455 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1459 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1460 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1464 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1465 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp839 Value *AddLHS; in ComputeValueKnownInPredecessorsImpl() local
842 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in ComputeValueKnownInPredecessorsImpl()
843 if (!isa<Instruction>(AddLHS) || in ComputeValueKnownInPredecessorsImpl()
844 cast<Instruction>(AddLHS)->getParent() != BB) { in ComputeValueKnownInPredecessorsImpl()
854 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in ComputeValueKnownInPredecessorsImpl()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3354 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; in matchScaledValue() local
3356 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in matchScaledValue()
3357 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()