• Home
  • Raw
  • Download

Lines Matching refs:SCEV

116     Value *LinearFunctionTestReplace(Loop *L, const SCEV *BackedgeTakenCount,
177 const SCEV *FromBase = SE->getPointerBase(SE->getSCEV(FromPtr)); in isValidRewrite()
178 const SCEV *ToBase = SE->getPointerBase(SE->getSCEV(ToPtr)); in isValidRewrite()
553 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in RewriteLoopExitValues()
724 const SCEV *WideIncExpr;
850 const SCEV *ExtendOperExpr = nullptr; in GetExtendedOperandRecurrence()
884 const SCEV *NarrowExpr = SE->getSCEV(NarrowUse); in GetWideRecurrence()
892 const SCEV *WideExpr = IsSigned ? in GetWideRecurrence()
1051 const SCEV *WideIVExpr = IsSigned ? in CreateWideIV()
1132 IndVarSimplifyVisitor(PHINode *IV, ScalarEvolution *SCEV, in IndVarSimplifyVisitor() argument
1134 SE(SCEV), DL(DL), IVPhi(IV) { in IndVarSimplifyVisitor()
1202 static bool isHighCostExpansion(const SCEV *S, BranchInst *BI, in isHighCostExpansion()
1203 SmallPtrSet<const SCEV*, 8> &Processed, in isHighCostExpansion() argument
1216 const SCEV *R = SE->getSCEV(OrigCond->getOperand(1)); in isHighCostExpansion()
1219 const SCEV *L = SE->getSCEV(OrigCond->getOperand(0)); in isHighCostExpansion()
1262 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L); in canExpandBackedgeTakenCount()
1275 SmallPtrSet<const SCEV*, 8> Processed; in canExpandBackedgeTakenCount()
1443 FindLoopCounter(Loop *L, const SCEV *BECount, in FindLoopCounter()
1452 const SCEV *BestInit = nullptr; in FindLoopCounter()
1476 const SCEV *Step = dyn_cast<SCEVConstant>(AR->getStepRecurrence(*SE)); in FindLoopCounter()
1498 const SCEV *Init = AR->getStart(); in FindLoopCounter()
1525 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit()
1529 const SCEV *IVInit = AR->getStart(); in genLoopLimit()
1545 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(IVCount, OfsTy); in genLoopLimit()
1576 const SCEV *IVLimit = nullptr; in genLoopLimit()
1583 const SCEV *IVInit = AR->getStart(); in genLoopLimit()
1613 const SCEV *BackedgeTakenCount, in LinearFunctionTestReplace()
1620 const SCEV *IVCount = BackedgeTakenCount; in LinearFunctionTestReplace()
1664 const SCEV *ARStart = AR->getStart(); in LinearFunctionTestReplace()
1665 const SCEV *ARStep = AR->getStepRecurrence(*SE); in LinearFunctionTestReplace()
1828 const SCEV *BackedgeTakenCount = SE->getBackedgeTakenCount(L); in runOnLoop()
1905 const SCEV *NewBECount = SE->getBackedgeTakenCount(L); in runOnLoop()