Searched refs:Coeff (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1249 bool DependenceInfo::strongSIVtest(const SCEV *Coeff, const SCEV *SrcConst, in strongSIVtest() argument 1254 LLVM_DEBUG(dbgs() << "\t Coeff = " << *Coeff); in strongSIVtest() 1255 LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n"); in strongSIVtest() 1275 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest() 1286 if (isa<SCEVConstant>(Delta) && isa<SCEVConstant>(Coeff)) { in strongSIVtest() 1288 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest() 1319 if (Coeff->isOne()) { in strongSIVtest() 1326 NewConstraint.setLine(Coeff, in strongSIVtest() 1327 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1335 bool CoeffMaybePositive = !SE->isKnownNonPositive(Coeff); in strongSIVtest() [all …]
|
| H A D | LoopCacheAnalysis.cpp | 486 const SCEV *Coeff = getLastCoefficient(); in isConsecutive() local 488 Type *WiderType = SE.getWiderType(Coeff->getType(), ElemSize->getType()); in isConsecutive() 499 Stride = SE.getMulExpr(SE.getNoopOrSignExtend(Coeff, WiderType), in isConsecutive()
|
| H A D | ScalarEvolution.cpp | 994 const SCEV *Coeff = BinomialCoefficient(It, i, SE, Result->getType()); in evaluateAtIteration() local 995 if (isa<SCEVCouldNotCompute>(Coeff)) in evaluateAtIteration() 996 return Coeff; in evaluateAtIteration() 998 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration() 3319 uint64_t Coeff; in getMulExpr() local 3321 Coeff = umul_ov(Coeff1, Coeff2, Overflow); in getMulExpr() 3323 Coeff = Coeff1*Coeff2; in getMulExpr() 3324 const SCEV *CoeffTerm = getConstant(Ty, Coeff); in getMulExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 135 Coeff += T.Coeff; in operator +=() 139 const FAddendCoef &getCoef() const { return Coeff; } in getCoef() 142 bool isZero() const { return Coeff.isZero(); } in isZero() 145 Coeff.set(Coefficient); in set() 149 Coeff.set(Coefficient); in set() 153 Coeff.set(Coefficient->getValueAPF()); in set() 157 void negate() { Coeff.negate(); } in negate() 168 void Scale(const FAddendCoef& ScaleAmt) { Coeff *= ScaleAmt; } in Scale() 172 FAddendCoef Coeff; member in __anon84b617a60111::FAddend 416 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DependenceAnalysis.h | 390 const SCEV *Coeff; member 687 bool strongSIVtest(const SCEV *Coeff,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstraintElimination.cpp | 767 auto &Coeff = R[GetOrAddIndex(KV.Variable)]; in getConstraint() local 768 if (SubOverflow(Coeff, KV.Coefficient, Coeff)) in getConstraint() 1718 for (auto &Coeff : R.Coefficients) in addFactImpl() local 1719 Coeff *= -1; in addFactImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 5666 const SCEV *Coeff = TryGetStride(Diff, Stride); in calculateRtStride() local 5667 if (!Coeff) in calculateRtStride() 5669 const auto *SC = dyn_cast<SCEVConstant>(Coeff); in calculateRtStride()
|