Lines Matching refs:getSCEV

329   const SCEV *getSCEV(ScalarEvolution &SE, Type *Ty) const {  in getSCEV()  function in __anonc21373340111::Immediate
587 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue( in DoInitialMatch()
1092 SE.getSCEV(&PN) == AR) in isExistingPhi()
1155 return SE.getSCEV(UI) == Mul; in isHighCostExpansion()
2358 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH)); in OptimizeShadowIV()
2508 if (IterationCount != SE.getSCEV(Sel)) return Cond; in OptimizeMax()
2545 const SCEV *IV = SE.getSCEV(Cond->getOperand(0)); in OptimizeMax()
2562 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2566 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2570 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2572 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2971 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
3046 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement()
3090 && SE.getSCEV(Chain.tailUserInst()) == Chain.Incs[0].IncExpr) { in isProfitableChain()
3149 const SCEV *const OperExpr = SE.getSCEV(NextIV); in ChainInstruction()
3175 const SCEV *PrevExpr = SE.getSCEV(PrevIV); in ChainInstruction()
3243 && !isa<SCEVUnknown>(SE.getSCEV(OtherUse)) in ChainInstruction()
3299 if (SE.isSCEVable(I.getType()) && !isa<SCEVUnknown>(SE.getSCEV(&I))) in CollectChains()
3412 if (SE.getSCEV(*IVOpIter) == Head.IncExpr in GenerateIVChain()
3413 || SE.getSCEV(IVSrc) == Head.IncExpr) { in GenerateIVChain()
3504 if (!PostIncV || (SE.getSCEV(PostIncV) != SE.getSCEV(IVSrc))) in GenerateIVChain()
3575 const SCEV *N = SE.getSCEV(NV); in CollectFixupsAndInitialFormulae()
3789 const SCEV *UserS = SE.getSCEV(const_cast<Instruction *>(UserInst)); in CollectLoopInvariantFixupsAndFormulae()
3803 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
4138 const SCEV *NewOffset = Offset.getSCEV(SE, G->getType()); in GenerateConstantOffsetsImpl()
6938 const llvm::SCEV *SCEVInductionVar = SE.getSCEV(LSRInductionVar); in DbgRewriteSalvageableDVIs()
6993 const SCEV *S = SE.getSCEV(LocOp); in DbgGatherSalvagableDVI()
7010 NewRec->SCEVs.push_back(SE.getSCEV(LocOp)); in DbgGatherSalvagableDVI()
7039 if (const SCEVAddRecExpr *Rec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(P))) in GetInductionVariable()
7040 return Rec->isAffine() && !SE.containsUndefs(SE.getSCEV(P)); in GetInductionVariable()
7152 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(&PN)); in canFoldTermCondOfLoop()