Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h1967 Value *AddLHS, *AddRHS; in match() local
1968 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1972 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1973 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1977 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1978 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
1998 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
1999 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
2003 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
2004 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp891 Value *AddLHS; in computeValueKnownInPredecessorsImpl() local
894 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in computeValueKnownInPredecessorsImpl()
895 if (!isa<Instruction>(AddLHS) || in computeValueKnownInPredecessorsImpl()
896 cast<Instruction>(AddLHS)->getParent() != BB) { in computeValueKnownInPredecessorsImpl()
902 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in computeValueKnownInPredecessorsImpl()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2225 Register AddLHS = I.getOperand(1).getReg(); in earlySelect() local
2228 LLT Ty = MRI.getType(AddLHS); in earlySelect()
2260 std::swap(AddLHS, AddRHS); in earlySelect()
2272 emitCSINC(/*Dst=*/AddDst, /*Src =*/AddLHS, /*Src2=*/AddLHS, InvCC, MIB); in earlySelect()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3903 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; in matchScaledValue() local
3905 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI))) && in matchScaledValue()
3908 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()