Lines Matching refs:getSCEV

2343   const SCEV *LHS = getSCEV(OBO->getOperand(0));  in getStrengthenedNoWrapFlagsFromBinOp()
2344 const SCEV *RHS = getSCEV(OBO->getOperand(1)); in getStrengthenedNoWrapFlagsFromBinOp()
3671 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand()); in getGEPExpr()
4405 const SCEV *ScalarEvolution::getSCEV(Value *V) { in getSCEV() function in ScalarEvolution
4842 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
5313 const SCEV *BEValue = getSCEV(BEValueV); in createAddRecFromPHIWithCastsImpl()
5401 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHIWithCastsImpl()
5571 Accum = getSCEV(BO->RHS); in createSimpleAffineAddRec()
5573 Accum = getSCEV(BO->LHS); in createSimpleAffineAddRec()
5584 const SCEV *StartVal = getSCEV(StartValueV); in createSimpleAffineAddRec()
5643 const SCEV *BEValue = getSCEV(BEValueV); in createAddRecFromPHI()
5694 const SCEV *Ptr = getSCEV(GEP->getPointerOperand()); in createAddRecFromPHI()
5695 if (isKnownPositive(getMinusSCEV(getSCEV(GEP), Ptr))) in createAddRecFromPHI()
5704 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHI()
5737 const SCEV *StartVal = getSCEV(StartValueV); in createAddRecFromPHI()
5905 IsAvailableOnEntry(L, DT, getSCEV(LHS), PN->getParent()) && in createNodeFromSelectLikePHI()
5906 IsAvailableOnEntry(L, DT, getSCEV(RHS), PN->getParent())) in createNodeFromSelectLikePHI()
5926 return getSCEV(V); in createNodeForPHI()
5991 const SCEV *LA = getSCEV(TrueVal); in createNodeForSelectOrPHIInstWithICmpInstCond()
5992 const SCEV *RA = getSCEV(FalseVal); in createNodeForSelectOrPHIInstWithICmpInstCond()
5993 const SCEV *LS = getSCEV(LHS); in createNodeForSelectOrPHIInstWithICmpInstCond()
5994 const SCEV *RS = getSCEV(RHS); in createNodeForSelectOrPHIInstWithICmpInstCond()
6040 const SCEV *X = getNoopOrZeroExtend(getSCEV(LHS), I->getType()); in createNodeForSelectOrPHIInstWithICmpInstCond()
6041 const SCEV *TrueValExpr = getSCEV(TrueVal); // C+y in createNodeForSelectOrPHIInstWithICmpInstCond()
6042 const SCEV *FalseValExpr = getSCEV(FalseVal); // x+y in createNodeForSelectOrPHIInstWithICmpInstCond()
6054 const SCEV *X = getSCEV(LHS); in createNodeForSelectOrPHIInstWithICmpInstCond()
6058 const SCEV *FalseValExpr = getSCEV(FalseVal); in createNodeForSelectOrPHIInstWithICmpInstCond()
6112 const auto *SECond = SE->getSCEV(Cond); in createNodeForSelectViaUMinSeq()
6113 const auto *SETrue = SE->getSCEV(TrueVal); in createNodeForSelectViaUMinSeq()
6114 const auto *SEFalse = SE->getSCEV(FalseVal); in createNodeForSelectViaUMinSeq()
6142 return getSCEV(CI->isOne() ? TrueVal : FalseVal); in createNodeForSelectOrPHI()
6164 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6645 auto OpRange = getRangeRef(getSCEV(Op), SignHint); in getRangeRef()
7081 SCEVOps.push_back(getSCEV(Op)); in isSCEVExprNeverPoison()
7439 return GA->isInterposable() ? getUnknown(V) : getSCEV(GA->getAliasee()); in createSCEV()
7471 const SCEV *RHS = getSCEV(BO->RHS); in createSCEV()
7474 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
7484 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV()
7486 AddOps.push_back(getSCEV(BO->RHS)); in createSCEV()
7491 AddOps.push_back(getSCEV(BO->LHS)); in createSCEV()
7511 LHS = getSCEV(BO->LHS); in createSCEV()
7512 RHS = getSCEV(BO->RHS); in createSCEV()
7518 MulOps.push_back(getSCEV(BO->RHS)); in createSCEV()
7521 MulOps.push_back(getSCEV(BO->LHS)); in createSCEV()
7530 LHS = getSCEV(BO->LHS); in createSCEV()
7531 RHS = getSCEV(BO->RHS); in createSCEV()
7534 LHS = getSCEV(BO->LHS); in createSCEV()
7535 RHS = getSCEV(BO->RHS); in createSCEV()
7541 LHS = getSCEV(BO->LHS); in createSCEV()
7542 RHS = getSCEV(BO->RHS); in createSCEV()
7550 return getSCEV(BO->RHS); in createSCEV()
7552 return getSCEV(BO->LHS); in createSCEV()
7570 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
7597 LHS = getSCEV(BO->LHS); in createSCEV()
7598 RHS = getSCEV(BO->RHS); in createSCEV()
7611 const SCEV *LHS = getSCEV(BO->LHS); in createSCEV()
7616 return getAddExpr(LHS, getSCEV(CI), in createSCEV()
7622 LHS = getSCEV(BO->LHS); in createSCEV()
7623 RHS = getSCEV(BO->RHS); in createSCEV()
7632 return getNotSCEV(getSCEV(BO->LHS)); in createSCEV()
7643 dyn_cast<SCEVZeroExtendExpr>(getSCEV(BO->LHS))) { in createSCEV()
7695 return getMulExpr(getSCEV(BO->LHS), getConstant(X), Flags); in createSCEV()
7715 return getSCEV(BO->LHS); // shift by zero --> noop in createSCEV()
7726 const SCEV *ShlOp0SCEV = getSCEV(L->getOperand(0)); in createSCEV()
7756 return getTruncateExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7759 return getZeroExtendExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7772 auto *V1 = getSignExtendExpr(getSCEV(BO->LHS), Ty); in createSCEV()
7773 auto *V2 = getSignExtendExpr(getSCEV(BO->RHS), Ty); in createSCEV()
7777 return getSignExtendExpr(getSCEV(U->getOperand(0)), U->getType()); in createSCEV()
7782 return getSCEV(U->getOperand(0)); in createSCEV()
7787 const SCEV *Op = getSCEV(U->getOperand(0)); in createSCEV()
7802 if (isKnownNonNegative(getSCEV(U->getOperand(0))) && in createSCEV()
7803 isKnownNonNegative(getSCEV(U->getOperand(1)))) in createSCEV()
7804 return getUDivExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1))); in createSCEV()
7809 if (isKnownNonNegative(getSCEV(U->getOperand(0))) && in createSCEV()
7810 isKnownNonNegative(getSCEV(U->getOperand(1)))) in createSCEV()
7811 return getURemExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1))); in createSCEV()
7827 return getSCEV(RV); in createSCEV()
7833 getSCEV(II->getArgOperand(0)), in createSCEV()
7836 LHS = getSCEV(II->getArgOperand(0)); in createSCEV()
7837 RHS = getSCEV(II->getArgOperand(1)); in createSCEV()
7840 LHS = getSCEV(II->getArgOperand(0)); in createSCEV()
7841 RHS = getSCEV(II->getArgOperand(1)); in createSCEV()
7844 LHS = getSCEV(II->getArgOperand(0)); in createSCEV()
7845 RHS = getSCEV(II->getArgOperand(1)); in createSCEV()
7848 LHS = getSCEV(II->getArgOperand(0)); in createSCEV()
7849 RHS = getSCEV(II->getArgOperand(1)); in createSCEV()
7852 const SCEV *X = getSCEV(II->getArgOperand(0)); in createSCEV()
7853 const SCEV *Y = getSCEV(II->getArgOperand(1)); in createSCEV()
7858 const SCEV *X = getSCEV(II->getArgOperand(0)); in createSCEV()
7859 const SCEV *Y = getSCEV(II->getArgOperand(1)); in createSCEV()
7868 return getSCEV(II->getArgOperand(0)); in createSCEV()
7989 auto *AddRec = dyn_cast<SCEVAddRecExpr>(getSCEV(GEP)); in getConstantMaxTripCountFromArray()
8751 auto *LHS = getSCEV(WO->getLHS()); in computeExitLimitFromCondImpl()
8846 const SCEV *LHS = getSCEV(ExitCond->getOperand(0)); in computeExitLimitFromICmp()
8847 const SCEV *RHS = getSCEV(ExitCond->getOperand(1)); in computeExitLimitFromICmp()
9611 return getSCEV(InitValue); in computeSCEVAtScope()
9623 return getSCEV(BackedgeVal); in computeSCEVAtScope()
9631 if (RV) return getSCEV(RV); in computeSCEVAtScope()
9638 const SCEV *Input = getSCEV(PN->getOperand(0)); in computeSCEVAtScope()
9665 const SCEV *OrigV = getSCEV(Op); in computeSCEVAtScope()
9685 return getSCEV(C); in computeSCEVAtScope()
9791 return getSCEVAtScope(getSCEV(V), L); in getSCEVAtScope()
11280 const SCEV *FoundLHS = getSCEV(ICI->getOperand(0)); in isImpliedCond()
11281 const SCEV *FoundRHS = getSCEV(ICI->getOperand(1)); in isImpliedCond()
11805 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11806 const SCEV *R = getSCEV(RPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11821 const SCEV *L1 = getSCEV(LPhi->getIncomingValueForBlock(Predecessor)); in isImpliedViaMerge()
11826 const SCEV *L2 = getSCEV(LPhi->getIncomingValueForBlock(Latch)); in isImpliedViaMerge()
11838 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB)); in isImpliedViaMerge()
11874 auto *ShifteeS = getSCEV(Shiftee); in isImpliedCondOperandsViaShift()
12098 auto *Denominator = cast<SCEVConstant>(getSCEV(LR)); in isImpliedViaOperations()
13256 const SCEV *SV = SE.getSCEV(&I); in print()
13663 const SCEV *L = getSCEV(Cmp->getOperand(0)); in getReachableBlocks()
13664 const SCEV *R = getSCEV(Cmp->getOperand(1)); in getReachableBlocks()
13801 const SCEV *NewSCEV = SE2.getSCEV(I); in verify()
14317 const SCEV *PredicatedScalarEvolution::getSCEV(Value *V) { in getSCEV() function in PredicatedScalarEvolution
14318 const SCEV *Expr = SE.getSCEV(V); in getSCEV()
14373 const SCEV *Expr = getSCEV(V); in setNoOverflow()
14389 const SCEV *Expr = getSCEV(V); in hasNoOverflow()
14404 const SCEV *Expr = this->getSCEV(V); in getAsAddRec()
14414 RewriteMap[SE.getSCEV(V)] = {Generation, New}; in getAsAddRec()
14434 auto *Expr = SE.getSCEV(&I); in print()
14751 const auto *LHS = getSCEV(Cmp->getOperand(0)); in applyLoopGuards()
14752 const auto *RHS = getSCEV(Cmp->getOperand(1)); in applyLoopGuards()