Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp94 Value *IVSrc = nullptr; in foldIVUser() local
114 IVSrc = IVOperand->getOperand(0); in foldIVUser()
116 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand"); in foldIVUser()
128 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D)); in foldIVUser()
141 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser()
148 return IVSrc; in foldIVUser()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2857 Value *IVSrc = nullptr; in GenerateIVChain() local
2859 IVSrc = getWideOperand(*IVOpIter); in GenerateIVChain()
2870 || SE.getSCEV(IVSrc) == Head.IncExpr) { in GenerateIVChain()
2881 DEBUG(dbgs() << "Generate chain at: " << *IVSrc << "\n"); in GenerateIVChain()
2882 Type *IVTy = IVSrc->getType(); in GenerateIVChain()
2892 Value *IVOper = IVSrc; in GenerateIVChain()
2904 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc), in GenerateIVChain()
2911 IVSrc = IVOper; in GenerateIVChain()
2930 if (!isCompatibleIVType(Phi, IVSrc)) in GenerateIVChain()
2934 if (!PostIncV || (SE.getSCEV(PostIncV) != SE.getSCEV(IVSrc))) in GenerateIVChain()
[all …]