Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h2107 Value *AddLHS, *AddRHS; in match() local
2108 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
2112 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
2113 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
2117 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
2118 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
2138 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
2139 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
2143 (m_One().match(AddLHS) || m_One().match(AddRHS))) in match()
2144 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp828 Value *AddLHS; in computeValueKnownInPredecessorsImpl() local
831 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in computeValueKnownInPredecessorsImpl()
832 if (!isa<Instruction>(AddLHS) || in computeValueKnownInPredecessorsImpl()
833 cast<Instruction>(AddLHS)->getParent() != BB) { in computeValueKnownInPredecessorsImpl()
839 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in computeValueKnownInPredecessorsImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2323 Register AddLHS = I.getOperand(1).getReg(); in earlySelect() local
2326 LLT Ty = MRI.getType(AddLHS); in earlySelect()
2358 std::swap(AddLHS, AddRHS); in earlySelect()
2370 emitCSINC(/*Dst=*/AddDst, /*Src =*/AddLHS, /*Src2=*/AddLHS, InvCC, MIB); in earlySelect()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4140 Value *AddLHS = nullptr; in matchScaledValue() local
4142 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI))) && in matchScaledValue()
4145 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()