Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DPatternMatch.h1128 Value *AddLHS, *AddRHS; in match() local
1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1133 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1134 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1138 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1139 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp212 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp() local
215 if ((AddRHS & (AndRHSV-1)) == 0) { in OptAndOp()
220 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop in OptAndOp()
DInstructionCombining.cpp2112 if (ConstantInt *AddRHS = dyn_cast<ConstantInt>(I->getOperand(1))) { in visitSwitchInst() local
2123 Constant* NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp7023 const SCEVMulExpr *AddRHS = dyn_cast<SCEVMulExpr>(Add->getOperand(1)); in MatchNotExpr() local
7024 if (!AddRHS || AddRHS->getNumOperands() != 2) return nullptr; in MatchNotExpr()
7026 const SCEVConstant *MulLHS = dyn_cast<SCEVConstant>(AddRHS->getOperand(0)); in MatchNotExpr()
7030 return AddRHS->getOperand(1); in MatchNotExpr()