Searched refs:AddRHS (Results 1 - 6 of 6) sorted by relevance

/external/llvm/include/llvm/IR/
H A DPatternMatch.h1128 Value *AddLHS, *AddRHS;
1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS));
1133 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS))
1134 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
1138 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS))
1139 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp246 const APInt& AddRHS = cast<ConstantInt>(OpRHS)->getValue(); local
249 if ((AddRHS & (AndRHSV-1)) == 0) {
254 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop
H A DInstructionCombining.cpp1236 if (ConstantInt *AddRHS = dyn_cast<ConstantInt>(I->getOperand(1))) {
1243 AddRHS);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp202 const APInt& AddRHS = OpRHS->getValue(); local
205 if ((AddRHS & (AndRHSV-1)) == 0) {
210 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop
H A DInstructionCombining.cpp2205 ConstantInt *AddRHS = nullptr; local
2206 if (match(Cond, m_Add(m_Value(), m_ConstantInt(AddRHS)))) {
2218 Constant *NewCaseVal = ConstantExpr::getSub(LHS, AddRHS);
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp8392 const SCEVMulExpr *AddRHS = dyn_cast<SCEVMulExpr>(Add->getOperand(1));
8393 if (!AddRHS || AddRHS->getNumOperands() != 2 ||
8394 !AddRHS->getOperand(0)->isAllOnesValue())
8397 return AddRHS->getOperand(1);

Completed in 1266 milliseconds