Searched refs:AddRHS (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1967 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/InstCombine/ |
| H A D | InstructionCombining.cpp | 3227 ConstantInt *AddRHS; in visitSwitchInst() local 3228 if (match(Cond, m_Add(m_Value(Op0), m_ConstantInt(AddRHS)))) { in visitSwitchInst() 3231 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 2268 Register AddRHS = I.getOperand(2).getReg(); in earlySelect() local 2299 MachineInstr *Cmp = MatchCmp(AddRHS); in earlySelect() 2302 std::swap(AddLHS, AddRHS); in earlySelect() 2303 Cmp = MatchCmp(AddRHS); in earlySelect()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 4574 const SCEVMulExpr *AddRHS = dyn_cast<SCEVMulExpr>(Add->getOperand(1)); in MatchNotExpr() local 4575 if (!AddRHS || AddRHS->getNumOperands() != 2 || in MatchNotExpr() 4576 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 4579 return AddRHS->getOperand(1); in MatchNotExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 11060 SDValue AddRHS = RHS; in tryFoldToMad64_32() local 11081 AddRHS = DAG.getNode(ISD::ANY_EXTEND, SL, MVT::i64, AddRHS); in tryFoldToMad64_32() 11102 getMad64_32(DAG, SL, MVT::i64, MulLHSLo, MulRHSLo, AddRHS, MulSignedLo); in tryFoldToMad64_32()
|