Lines Matching refs:getSCEV
443 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue( in DoInitialMatch()
941 SE.getSCEV(&PN) == AR) in isExistingPhi()
1003 return SE.getSCEV(UI) == Mul; in isHighCostExpansion()
2152 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH)); in OptimizeShadowIV()
2299 if (IterationCount != SE.getSCEV(Sel)) return Cond; in OptimizeMax()
2336 const SCEV *IV = SE.getSCEV(Cond->getOperand(0)); in OptimizeMax()
2353 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2357 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2361 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2363 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2763 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
2851 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement()
2895 && SE.getSCEV(Chain.tailUserInst()) == Chain.Incs[0].IncExpr) { in isProfitableChain()
2954 const SCEV *const OperExpr = SE.getSCEV(NextIV); in ChainInstruction()
2980 const SCEV *PrevExpr = SE.getSCEV(PrevIV); in ChainInstruction()
3048 && !isa<SCEVUnknown>(SE.getSCEV(OtherUse)) in ChainInstruction()
3104 if (SE.isSCEVable(I.getType()) && !isa<SCEVUnknown>(SE.getSCEV(&I))) in CollectChains()
3204 if (SE.getSCEV(*IVOpIter) == Head.IncExpr in GenerateIVChain()
3205 || SE.getSCEV(IVSrc) == Head.IncExpr) { in GenerateIVChain()
3270 if (!PostIncV || (SE.getSCEV(PostIncV) != SE.getSCEV(IVSrc))) in GenerateIVChain()
3334 const SCEV *N = SE.getSCEV(NV); in CollectFixupsAndInitialFormulae()
3491 const SCEV *UserS = SE.getSCEV(const_cast<Instruction *>(UserInst)); in CollectLoopInvariantFixupsAndFormulae()
3505 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
4244 const SCEV *NegImmS = SE.getSCEV(ConstantInt::get(IntTy, -(uint64_t)Imm)); in GenerateCrossUseConstantOffsets()
4259 if (F.referencesReg(SE.getSCEV( in GenerateCrossUseConstantOffsets()
6163 const llvm::SCEV *SCEVInductionVar = SE.getSCEV(LSRInductionVar); in DbgRewriteSalvageableDVIs()
6226 SE.getSCEV(DVI->getVariableLocationOp(0))}); in DbgGatherSalvagableDVI()
6247 << "with SCEV: " << *SE.getSCEV(Phi) << "\n"); in GetInductionVariable()
6256 const llvm::SCEV *PhiSCEV = SE.getSCEV(&Phi); in GetInductionVariable()