Searched refs:AddExpr (Results 1 – 4 of 4) sorted by relevance
232 auto *AddExpr = dyn_cast<SCEVAddRecExpr>(IVExpr); in IsSafeActiveMask() local234 if (!AddExpr) { in IsSafeActiveMask()239 if (AddExpr->getLoop() != L) { in IsSafeActiveMask()243 auto *Step = dyn_cast<SCEVConstant>(AddExpr->getOperand(1)); in IsSafeActiveMask()246 AddExpr->getOperand(1)->dump()); in IsSafeActiveMask()296 auto *Start = AddExpr->getStart(); in IsSafeActiveMask()350 if (auto *BaseC = dyn_cast<SCEVConstant>(AddExpr->getStart())) { in IsSafeActiveMask()353 } else if (auto *BaseV = dyn_cast<SCEVUnknown>(AddExpr->getStart())) { in IsSafeActiveMask()360 } else if (auto *BaseMul = dyn_cast<SCEVMulExpr>(AddExpr->getStart())) { in IsSafeActiveMask()371 << *AddExpr->getOperand(0) << "\n"); in IsSafeActiveMask()
2411 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match() local2415 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()2420 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()2440 if (AddExpr.match(ICmpLHS) && m_ZeroInt().match(ICmpRHS) && in match()2445 if (m_ZeroInt().match(ICmpLHS) && AddExpr.match(ICmpRHS) && in match()
2666 auto *AddExpr = dyn_cast<SCEVAddExpr>(B); in getAddExpr() local2668 if (AddExpr && C && isa<SCEVConstant>(AddExpr->getOperand(0))) { in getAddExpr()2669 auto C1 = cast<SCEVConstant>(AddExpr->getOperand(0))->getAPInt(); in getAddExpr()2674 auto AddFlags = AddExpr->getNoWrapFlags(); in getAddExpr()2692 SmallVector<const SCEV *, 4> NewOps(AddExpr->operands()); in getAddExpr()15116 auto *AddExpr = dyn_cast<SCEVAddExpr>(LHS); in collect() local15117 if (!AddExpr || AddExpr->getNumOperands() != 2) in collect()15120 auto *C1 = dyn_cast<SCEVConstant>(AddExpr->getOperand(0)); in collect()15121 auto *LHSUnknown = dyn_cast<SCEVUnknown>(AddExpr->getOperand(1)); in collect()
6491 } else if (const SCEVAddExpr *AddExpr = dyn_cast<SCEVAddExpr>(S)) { in pushSCEV() local6492 Success &= pushArithmeticExpr(AddExpr, llvm::dwarf::DW_OP_plus); in pushSCEV()