Lines Matching refs:getSCEV
2308 const SCEV *LHS = getSCEV(OBO->getOperand(0)); in getStrengthenedNoWrapFlagsFromBinOp()
2309 const SCEV *RHS = getSCEV(OBO->getOperand(1)); in getStrengthenedNoWrapFlagsFromBinOp()
3592 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand()); in getGEPExpr()
4048 const SCEV *ScalarEvolution::getSCEV(Value *V) { in getSCEV() function in ScalarEvolution
4550 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
5018 const SCEV *BEValue = getSCEV(BEValueV); in createAddRecFromPHIWithCastsImpl()
5106 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHIWithCastsImpl()
5276 Accum = getSCEV(BO->RHS); in createSimpleAffineAddRec()
5278 Accum = getSCEV(BO->LHS); in createSimpleAffineAddRec()
5289 const SCEV *StartVal = getSCEV(StartValueV); in createSimpleAffineAddRec()
5346 const SCEV *BEValue = getSCEV(BEValueV); in createAddRecFromPHI()
5397 const SCEV *Ptr = getSCEV(GEP->getPointerOperand()); in createAddRecFromPHI()
5398 if (isKnownPositive(getMinusSCEV(getSCEV(GEP), Ptr))) in createAddRecFromPHI()
5407 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHI()
5440 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHI()
5607 IsAvailableOnEntry(L, DT, getSCEV(LHS), PN->getParent()) && in createNodeFromSelectLikePHI()
5608 IsAvailableOnEntry(L, DT, getSCEV(RHS), PN->getParent())) in createNodeFromSelectLikePHI()
5628 return getSCEV(V); in createNodeForPHI()
5641 return getSCEV(CI->isOne() ? TrueVal : FalseVal); in createNodeForSelectOrPHI()
5666 const SCEV *LA = getSCEV(TrueVal); in createNodeForSelectOrPHI()
5667 const SCEV *RA = getSCEV(FalseVal); in createNodeForSelectOrPHI()
5668 const SCEV *LS = getSCEV(LHS); in createNodeForSelectOrPHI()
5669 const SCEV *RS = getSCEV(RHS); in createNodeForSelectOrPHI()
5712 const SCEV *LS = getNoopOrZeroExtend(getSCEV(LHS), I->getType()); in createNodeForSelectOrPHI()
5713 const SCEV *LA = getSCEV(TrueVal); in createNodeForSelectOrPHI()
5714 const SCEV *RA = getSCEV(FalseVal); in createNodeForSelectOrPHI()
5726 const SCEV *LS = getNoopOrZeroExtend(getSCEV(LHS), I->getType()); in createNodeForSelectOrPHI()
5727 const SCEV *LA = getSCEV(TrueVal); in createNodeForSelectOrPHI()
5728 const SCEV *RA = getSCEV(FalseVal); in createNodeForSelectOrPHI()
5751 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6236 auto OpRange = getRangeRef(getSCEV(Op), SignHint); in getRangeRef()
6587 const SCEV *Op = getSCEV(I->getOperand(OpIndex)); in isSCEVExprNeverPoison()
6593 const SCEV *OtherOp = getSCEV(I->getOperand(OtherOpIndex)); in isSCEVExprNeverPoison()
6725 return GA->isInterposable() ? getUnknown(V) : getSCEV(GA->getAliasee()); in createSCEV()
6754 const SCEV *RHS = getSCEV(BO->RHS); in createSCEV()
6757 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
6767 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV()
6769 AddOps.push_back(getSCEV(BO->RHS)); in createSCEV()
6774 AddOps.push_back(getSCEV(BO->LHS)); in createSCEV()
6795 getMulExpr(getSCEV(BO->LHS), getSCEV(BO->RHS), Flags)); in createSCEV()
6800 MulOps.push_back(getSCEV(BO->RHS)); in createSCEV()
6803 MulOps.push_back(getSCEV(BO->LHS)); in createSCEV()
6812 return getUDivExpr(getSCEV(BO->LHS), getSCEV(BO->RHS)); in createSCEV()
6814 return getURemExpr(getSCEV(BO->LHS), getSCEV(BO->RHS)); in createSCEV()
6819 return getMinusSCEV(getSCEV(BO->LHS), getSCEV(BO->RHS), Flags); in createSCEV()
6826 return getSCEV(BO->RHS); in createSCEV()
6828 return getSCEV(BO->LHS); in createSCEV()
6846 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
6881 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
6886 return getAddExpr(LHS, getSCEV(CI), in createSCEV()
6896 return getNotSCEV(getSCEV(BO->LHS)); in createSCEV()
6907 dyn_cast<SCEVZeroExtendExpr>(getSCEV(BO->LHS))) { in createSCEV()
6959 return getMulExpr(getSCEV(BO->LHS), getSCEV(X), Flags); in createSCEV()
6979 return getSCEV(BO->LHS); // shift by zero --> noop in createSCEV()
6990 const SCEV *ShlOp0SCEV = getSCEV(L->getOperand(0)); in createSCEV()
7020 return getTruncateExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7023 return getZeroExtendExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7036 auto *V1 = getSignExtendExpr(getSCEV(BO->LHS), Ty); in createSCEV()
7037 auto *V2 = getSignExtendExpr(getSCEV(BO->RHS), Ty); in createSCEV()
7041 return getSignExtendExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7046 return getSCEV(U->getOperand(0)); in createSCEV()
7051 const SCEV *Op = getSCEV(U->getOperand(0)); in createSCEV()
7066 if (isKnownNonNegative(getSCEV(U->getOperand(0))) && in createSCEV()
7067 isKnownNonNegative(getSCEV(U->getOperand(1)))) in createSCEV()
7068 return getUDivExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1))); in createSCEV()
7073 if (isKnownNonNegative(getSCEV(U->getOperand(0))) && in createSCEV()
7074 isKnownNonNegative(getSCEV(U->getOperand(1)))) in createSCEV()
7075 return getURemExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1))); in createSCEV()
7097 return getSCEV(RV); in createSCEV()
7103 getSCEV(II->getArgOperand(0)), in createSCEV()
7106 return getUMaxExpr(getSCEV(II->getArgOperand(0)), in createSCEV()
7107 getSCEV(II->getArgOperand(1))); in createSCEV()
7109 return getUMinExpr(getSCEV(II->getArgOperand(0)), in createSCEV()
7110 getSCEV(II->getArgOperand(1))); in createSCEV()
7112 return getSMaxExpr(getSCEV(II->getArgOperand(0)), in createSCEV()
7113 getSCEV(II->getArgOperand(1))); in createSCEV()
7115 return getSMinExpr(getSCEV(II->getArgOperand(0)), in createSCEV()
7116 getSCEV(II->getArgOperand(1))); in createSCEV()
7118 const SCEV *X = getSCEV(II->getArgOperand(0)); in createSCEV()
7119 const SCEV *Y = getSCEV(II->getArgOperand(1)); in createSCEV()
7124 const SCEV *X = getSCEV(II->getArgOperand(0)); in createSCEV()
7125 const SCEV *Y = getSCEV(II->getArgOperand(1)); in createSCEV()
7132 return getSCEV(II->getArgOperand(0)); in createSCEV()
8042 const SCEV *LHS = getSCEV(ExitCond->getOperand(0)); in computeExitLimitFromICmp()
8043 const SCEV *RHS = getSCEV(ExitCond->getOperand(1)); in computeExitLimitFromICmp()
8215 const SCEV *Idx = getSCEV(VarIdx); in computeLoadConstantCompareExitLimit()
8872 return getSCEV(InitValue); in computeSCEVAtScope()
8884 return getSCEV(BackedgeVal); in computeSCEVAtScope()
8892 if (RV) return getSCEV(RV); in computeSCEVAtScope()
8899 const SCEV *Input = getSCEV(PN->getOperand(0)); in computeSCEVAtScope()
8926 const SCEV *OrigV = getSCEV(Op); in computeSCEVAtScope()
8954 return getSCEV(C); in computeSCEVAtScope()
9078 return getSCEVAtScope(getSCEV(V), L); in getSCEVAtScope()
10563 const SCEV *FoundLHS = getSCEV(ICI->getOperand(0)); in isImpliedCond()
10564 const SCEV *FoundRHS = getSCEV(ICI->getOperand(1)); in isImpliedCond()
11044 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11045 const SCEV *R = getSCEV(RPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11060 const SCEV *L1 = getSCEV(LPhi->getIncomingValueForBlock(Predecessor)); in isImpliedViaMerge()
11065 const SCEV *L2 = getSCEV(LPhi->getIncomingValueForBlock(Latch)); in isImpliedViaMerge()
11077 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11291 auto *Denominator = cast<SCEVConstant>(getSCEV(LR)); in isImpliedViaOperations()
12611 const SCEV *Expr = getSCEV(GEP->getOperand(i)); in getIndexExpressionsFromGEP()
12854 const SCEV *SV = SE.getSCEV(&I); in print()
13688 const SCEV *PredicatedScalarEvolution::getSCEV(Value *V) { in getSCEV() function in PredicatedScalarEvolution
13689 const SCEV *Expr = SE.getSCEV(V); in getSCEV()
13739 const SCEV *Expr = getSCEV(V); in setNoOverflow()
13755 const SCEV *Expr = getSCEV(V); in hasNoOverflow()
13770 const SCEV *Expr = this->getSCEV(V); in getAsAddRec()
13781 RewriteMap[SE.getSCEV(V)] = {Generation, New}; in getAsAddRec()
13800 auto *Expr = SE.getSCEV(&I); in print()
14063 CollectCondition(Predicate, getSCEV(Cmp->getOperand(0)), in applyLoopGuards()
14064 getSCEV(Cmp->getOperand(1)), RewriteMap); in applyLoopGuards()
14085 CollectCondition(Cmp->getPredicate(), getSCEV(Cmp->getOperand(0)), in applyLoopGuards()
14086 getSCEV(Cmp->getOperand(1)), RewriteMap); in applyLoopGuards()