Searched refs:Coeff (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 1230 bool DependenceInfo::strongSIVtest(const SCEV *Coeff, const SCEV *SrcConst, in strongSIVtest() argument 1235 LLVM_DEBUG(dbgs() << "\t Coeff = " << *Coeff); in strongSIVtest() 1236 LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n"); in strongSIVtest() 1256 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest() 1267 if (isa<SCEVConstant>(Delta) && isa<SCEVConstant>(Coeff)) { in strongSIVtest() 1269 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest() 1300 if (Coeff->isOne()) { in strongSIVtest() 1307 NewConstraint.setLine(Coeff, in strongSIVtest() 1308 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1316 bool CoeffMaybePositive = !SE->isKnownNonPositive(Coeff); in strongSIVtest() [all …]
|
H A D | LoopCacheAnalysis.cpp | 480 const SCEV *Coeff = getLastCoefficient(); in isConsecutive() local 482 Type *WiderType = SE.getWiderType(Coeff->getType(), ElemSize->getType()); in isConsecutive() 493 Stride = SE.getMulExpr(SE.getNoopOrSignExtend(Coeff, WiderType), in isConsecutive()
|
H A D | ScalarEvolution.cpp | 988 const SCEV *Coeff = BinomialCoefficient(It, i, SE, Result->getType()); in evaluateAtIteration() local 989 if (isa<SCEVCouldNotCompute>(Coeff)) in evaluateAtIteration() 990 return Coeff; in evaluateAtIteration() 992 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration() 3352 uint64_t Coeff; in getMulExpr() local 3354 Coeff = umul_ov(Coeff1, Coeff2, Overflow); in getMulExpr() 3356 Coeff = Coeff1*Coeff2; in getMulExpr() 3357 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 | 376 const SCEV *Coeff; member 672 bool strongSIVtest(const SCEV *Coeff,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 1607 for (auto &Coeff : R.Coefficients) in addFact() local 1608 Coeff *= -1; in addFact()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 4501 const SCEV *Coeff = TryGetStride(Diff, Stride); in calculateRtStride() local 4502 if (!Coeff) in calculateRtStride() 4504 const auto *SC = dyn_cast<SCEVConstant>(Coeff); in calculateRtStride()
|