Home
last modified time | relevance | path

Searched refs:Coeff (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DDependenceAnalysis.cpp1145 bool DependenceInfo::strongSIVtest(const SCEV *Coeff, const SCEV *SrcConst, in strongSIVtest() argument
1150 LLVM_DEBUG(dbgs() << "\t Coeff = " << *Coeff); in strongSIVtest()
1151 LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n"); in strongSIVtest()
1171 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest()
1182 if (isa<SCEVConstant>(Delta) && isa<SCEVConstant>(Coeff)) { in strongSIVtest()
1184 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest()
1215 if (Coeff->isOne()) { in strongSIVtest()
1222 NewConstraint.setLine(Coeff, in strongSIVtest()
1223 SE->getNegativeSCEV(Coeff), in strongSIVtest()
1231 bool CoeffMaybePositive = !SE->isKnownNonPositive(Coeff); in strongSIVtest()
[all …]
DLoopCacheAnalysis.cpp290 const SCEV *Coeff = getLastCoefficient(); in computeRefCost() local
292 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in computeRefCost()
417 const SCEV *Coeff = getLastCoefficient(); in isConsecutive() local
419 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in isConsecutive()
DScalarEvolution.cpp1039 const SCEV *Coeff = BinomialCoefficient(It, i, SE, Result->getType()); in evaluateAtIteration() local
1040 if (isa<SCEVCouldNotCompute>(Coeff)) in evaluateAtIteration()
1041 return Coeff; in evaluateAtIteration()
1043 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration()
3195 uint64_t Coeff; in getMulExpr() local
3197 Coeff = umul_ov(Coeff1, Coeff2, Overflow); in getMulExpr()
3199 Coeff = Coeff1*Coeff2; in getMulExpr()
3200 const SCEV *CoeffTerm = getConstant(Ty, Coeff); in getMulExpr()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp135 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 __anona1e5cfbe0111::FAddend
416 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DDependenceAnalysis.h355 const SCEV *Coeff; member
651 bool strongSIVtest(const SCEV *Coeff,