Searched refs:IVSrc (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp98 Value *IVSrc = nullptr; local
118 IVSrc = IVOperand->getOperand(0);
119 // IVSrc must be the (SCEVable) IV, since the other operand is const.
120 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand");
132 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D));
145 UseInst->setOperand(OperIdx, IVSrc);
152 return IVSrc;
/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2885 Value *IVSrc = nullptr; local
2887 IVSrc = getWideOperand(*IVOpIter);
2890 // it. (Check this after setting IVSrc which is used below.)
2892 // Note that if Head.IncExpr is wider than IVSrc, then this phi is too
2896 // getSCEV(IVSrc) == IncExpr.
2898 || SE.getSCEV(IVSrc) == Head.IncExpr) {
2909 DEBUG(dbgs() << "Generate chain at: " << *IVSrc << "\n");
2910 Type *IVTy = IVSrc->getType();
2920 // IVOper will replace the current IV User's operand. IVSrc is the IV
2922 Value *IVOper = IVSrc;
[all...]

Completed in 924 milliseconds