Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp316 auto *AddExpr = dyn_cast<SCEVAddRecExpr>(IVExpr); in IsSafeActiveMask() local
318 if (!AddExpr) { in IsSafeActiveMask()
323 if (AddExpr->getLoop() != L) { in IsSafeActiveMask()
327 auto *Base = dyn_cast<SCEVConstant>(AddExpr->getOperand(0)); in IsSafeActiveMask()
332 auto *Step = dyn_cast<SCEVConstant>(AddExpr->getOperand(1)); in IsSafeActiveMask()
335 AddExpr->getOperand(1)->dump()); in IsSafeActiveMask()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1978 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match() local
1982 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1987 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
2007 if (AddExpr.match(ICmpLHS) && m_ZeroInt().match(ICmpRHS) && in match()
2012 if (m_ZeroInt().match(ICmpLHS) && AddExpr.match(ICmpRHS) && in match()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2555 auto *AddExpr = dyn_cast<SCEVAddExpr>(B); in getAddExpr() local
2557 if (AddExpr && C && isa<SCEVConstant>(AddExpr->getOperand(0))) { in getAddExpr()
2558 auto C1 = cast<SCEVConstant>(AddExpr->getOperand(0))->getAPInt(); in getAddExpr()
2563 auto AddFlags = AddExpr->getNoWrapFlags(); in getAddExpr()
2583 SmallVector<const SCEV *, 4> NewOps(AddExpr->op_begin(), in getAddExpr()
2584 AddExpr->op_end()); in getAddExpr()
13954 auto *AddExpr = dyn_cast<SCEVAddExpr>(LHS); in applyLoopGuards() local
13955 if (!AddExpr || AddExpr->getNumOperands() != 2) in applyLoopGuards()
13958 auto *C1 = dyn_cast<SCEVConstant>(AddExpr->getOperand(0)); in applyLoopGuards()
13959 auto *LHSUnknown = dyn_cast<SCEVUnknown>(AddExpr->getOperand(1)); in applyLoopGuards()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp5975 } else if (const SCEVAddExpr *AddExpr = dyn_cast<SCEVAddExpr>(S)) { in pushSCEV() local
5976 Success &= pushArithmeticExpr(AddExpr, llvm::dwarf::DW_OP_plus); in pushSCEV()