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

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp90 Value *IVSrc = 0; local
110 IVSrc = IVOperand->getOperand(0);
111 // IVSrc must be the (SCEVable) IV, since the other operand is const.
112 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand");
124 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D));
137 UseInst->setOperand(OperIdx, IVSrc);
144 return IVSrc;
/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2805 Value *IVSrc = 0; local
2807 IVSrc = getWideOperand(*IVOpIter);
2810 // it. (Check this after setting IVSrc which is used below.)
2812 // Note that if Head.IncExpr is wider than IVSrc, then this phi is too
2816 // getSCEV(IVSrc) == IncExpr.
2818 || SE.getSCEV(IVSrc) == Head.IncExpr) {
2829 DEBUG(dbgs() << "Generate chain at: " << *IVSrc << "\n");
2830 Type *IVTy = IVSrc->getType();
2840 // IVOper will replace the current IV User's operand. IVSrc is the IV
2842 Value *IVOper = IVSrc;
[all...]

Completed in 102 milliseconds