Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp914 Value *AddLHS; in computeValueKnownInPredecessorsImpl() local
917 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in computeValueKnownInPredecessorsImpl()
918 if (!isa<Instruction>(AddLHS) || in computeValueKnownInPredecessorsImpl()
919 cast<Instruction>(AddLHS)->getParent() != BB) { in computeValueKnownInPredecessorsImpl()
925 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in computeValueKnownInPredecessorsImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2267 Register AddLHS = I.getOperand(1).getReg(); in earlySelect() local
2270 LLT Ty = MRI.getType(AddLHS); in earlySelect()
2302 std::swap(AddLHS, AddRHS); in earlySelect()
2314 emitCSINC(/*Dst=*/AddDst, /*Src =*/AddLHS, /*Src2=*/AddLHS, InvCC, MIB); in earlySelect()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3998 Value *AddLHS = nullptr; in matchScaledValue() local
4000 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI))) && in matchScaledValue()
4003 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()