Lines Matching defs:getSCEV

2411   const SCEV *LHS = getSCEV(OBO->getOperand(0));
2412 const SCEV *RHS = getSCEV(OBO->getOperand(1));
3738 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand());
3739 // getSCEV(Base)->getType() has the same address space as Base->getType()
4547 const SCEV *ScalarEvolution::getSCEV(Value *V) {
4984 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue());
5485 const SCEV *BEValue = getSCEV(BEValueV);
5573 const SCEV *StartVal = getSCEV(StartValueV);
5744 Accum = getSCEV(BO->RHS);
5746 Accum = getSCEV(BO->LHS);
5757 const SCEV *StartVal = getSCEV(StartValueV);
5822 const SCEV *BEValue = getSCEV(BEValueV);
5883 const SCEV *StartVal = getSCEV(StartValueV);
5924 const SCEV *StartVal = getSCEV(StartValueV);
6002 properlyDominates(getSCEV(LHS), PN->getParent()) &&
6003 properlyDominates(getSCEV(RHS), PN->getParent()))
6039 const SCEV *CommonSCEV = getSCEV(CommonInst);
6042 [this, CommonSCEV](Value *V) { return CommonSCEV == getSCEV(V); });
6055 return getSCEV(V);
6129 const SCEV *LA = getSCEV(TrueVal);
6130 const SCEV *RA = getSCEV(FalseVal);
6131 const SCEV *LS = getSCEV(LHS);
6132 const SCEV *RS = getSCEV(RHS);
6178 const SCEV *X = getNoopOrZeroExtend(getSCEV(LHS), Ty);
6179 const SCEV *TrueValExpr = getSCEV(TrueVal); // C+y
6180 const SCEV *FalseValExpr = getSCEV(FalseVal); // x+y
6192 const SCEV *X = getSCEV(LHS);
6196 const SCEV *FalseValExpr = getSCEV(FalseVal);
6249 const auto *SECond = SE->getSCEV(Cond);
6250 const auto *SETrue = SE->getSCEV(TrueVal);
6251 const auto *SEFalse = SE->getSCEV(FalseVal);
6279 return getSCEV(CI->isOne() ? TrueVal : FalseVal);
6301 IndexExprs.push_back(getSCEV(Index));
6618 AddToWorklist(getSCEV(Op));
6946 auto OpRange = getRangeRef(getSCEV(Op), SignHint, Depth + 1);
7240 // from deep in the call stack, and calling getSCEV (on a sext instruction,
7381 SCEVOps.push_back(getSCEV(Op));
7726 // The simple thing to do would be to just call getSCEV on both operands
7747 const SCEV *RHS = getSCEV(BO->RHS);
7750 const SCEV *LHS = getSCEV(BO->LHS);
7760 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS)));
7762 AddOps.push_back(getSCEV(BO->RHS));
7768 AddOps.push_back(getSCEV(BO->LHS));
7788 LHS = getSCEV(BO->LHS);
7789 RHS = getSCEV(BO->RHS);
7795 MulOps.push_back(getSCEV(BO->RHS));
7799 MulOps.push_back(getSCEV(BO->LHS));
7808 LHS = getSCEV(BO->LHS);
7809 RHS = getSCEV(BO->RHS);
7812 LHS = getSCEV(BO->LHS);
7813 RHS = getSCEV(BO->RHS);
7819 LHS = getSCEV(BO->LHS);
7820 RHS = getSCEV(BO->RHS);
7828 return getSCEV(BO->RHS);
7830 return getSCEV(BO->LHS);
7848 const SCEV *LHS = getSCEV(BO->LHS);
7875 LHS = getSCEV(BO->LHS);
7876 RHS = getSCEV(BO->RHS);
7884 LHS = getSCEV(BO->LHS);
7885 RHS = getSCEV(BO->RHS);
7894 return getNotSCEV(getSCEV(BO->LHS));
7905 dyn_cast<SCEVZeroExtendExpr>(getSCEV(BO->LHS))) {
7957 return getMulExpr(getSCEV(BO->LHS), getConstant(X), Flags);
7977 return getSCEV(BO->LHS); // shift by zero --> noop
7997 const SCEV *ShlOp0SCEV = getSCEV(LShift->getOperand(0));
8015 const SCEV *ShlOp0SCEV = getSCEV(L->getOperand(0));
8050 return getTruncateExpr(getSCEV(U->getOperand(0)), U->getType());
8053 return getZeroExtendExpr(getSCEV(U->getOperand(0)), U->getType());
8067 auto *V1 = getSignExtendExpr(getSCEV(BO->LHS), Ty);
8068 auto *V2 = getSignExtendExpr(getSCEV(BO->RHS), Ty);
8072 return getSignExtendExpr(getSCEV(U->getOperand(0)), U->getType());
8077 return getSCEV(U->getOperand(0));
8082 const SCEV *Op = getSCEV(U->getOperand(0));
8097 if (isKnownNonNegative(getSCEV(U->getOperand(0))) &&
8098 isKnownNonNegative(getSCEV(U->getOperand(1))))
8099 return getUDivExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1)));
8104 if (isKnownNonNegative(getSCEV(U->getOperand(0))) &&
8105 isKnownNonNegative(getSCEV(U->getOperand(1))))
8106 return getURemExpr(getSCEV(U->getOperand(0)), getSCEV(U->getOperand(1)));
8122 return getSCEV(RV);
8128 getSCEV(II->getArgOperand(0)),
8131 LHS = getSCEV(II->getArgOperand(0));
8132 RHS = getSCEV(II->getArgOperand(1));
8135 LHS = getSCEV(II->getArgOperand(0));
8136 RHS = getSCEV(II->getArgOperand(1));
8139 LHS = getSCEV(II->getArgOperand(0));
8140 RHS = getSCEV(II->getArgOperand(1));
8143 LHS = getSCEV(II->getArgOperand(0));
8144 RHS = getSCEV(II->getArgOperand(1));
8147 const SCEV *X = getSCEV(II->getArgOperand(0));
8148 const SCEV *Y = getSCEV(II->getArgOperand(1));
8153 const SCEV *X = getSCEV(II->getArgOperand(0));
8154 const SCEV *Y = getSCEV(II->getArgOperand(1));
8163 return getSCEV(II->getArgOperand(0));
9074 auto *LHS = getSCEV(WO->getLHS());
9179 const SCEV *LHS = getSCEV(ExitCond->getOperand(0));
9180 const SCEV *RHS = getSCEV(ExitCond->getOperand(1));
10099 return getSCEV(InitValue);
10111 return getSCEV(BackedgeVal);
10120 return getSCEV(RV);
10147 const SCEV *OrigV = getSCEV(Op);
10168 return getSCEV(C);
10177 return getSCEVAtScope(getSCEV(V), L);
11777 const SCEV *FoundLHS = getSCEV(ICI->getOperand(0));
11778 const SCEV *FoundRHS = getSCEV(ICI->getOperand(1));
12367 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB));
12368 const SCEV *R = getSCEV(RPhi->getIncomingValueForBlock(IncBB));
12383 const SCEV *L1 = getSCEV(LPhi->getIncomingValueForBlock(Predecessor));
12388 const SCEV *L2 = getSCEV(LPhi->getIncomingValueForBlock(Latch));
12400 const SCEV *L = getSCEV(LPhi->getIncomingValueForBlock(IncBB));
12436 auto *ShifteeS = getSCEV(Shiftee);
12659 auto *Denominator = cast<SCEVConstant>(getSCEV(LR));
13934 const SCEV *SV = SE.getSCEV(&I);
14332 const SCEV *L = getSCEV(Cmp->getOperand(0));
14333 const SCEV *R = getSCEV(Cmp->getOperand(1));
14470 const SCEV *NewSCEV = SE2.getSCEV(I);
15109 const SCEV *PredicatedScalarEvolution::getSCEV(Value *V) {
15110 const SCEV *Expr = SE.getSCEV(V);
15185 const SCEV *Expr = getSCEV(V);
15201 const SCEV *Expr = getSCEV(V);
15216 const SCEV *Expr = this->getSCEV(V);
15226 RewriteMap[SE.getSCEV(V)] = {Generation, New};
15247 auto *Expr = SE.getSCEV(&I);
15356 auto S = RewriteMap.find(SE.getSCEV(Phi.getIncomingValue(IncomingIdx)));
15392 const SCEV *LHS = SE.getSCEV(const_cast<PHINode *>(&Phi));
15810 const auto *LHS = SE.getSCEV(Cmp->getOperand(0));
15811 const auto *RHS = SE.getSCEV(Cmp->getOperand(1));