HomeSort by: relevance | last modified time | path
    Searched refs:getSCEV (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
NaryReassociate.cpp 237 const SCEV *NewSCEV = SE->getSCEV(NewI);
241 // is equivalent to I. However, ScalarEvolution::getSCEV may
249 // getSCEV(I) = a + 4 * sext(i + j)
250 // getSCEV(newI) = a + 4 * sext(i) + 4 * sext(j)
284 OrigSCEV = SE->getSCEV(I);
300 OrigSCEV = SE->getSCEV(I);
303 OrigSCEV = SE->getSCEV(I);
398 IndexExprs.push_back(SE->getSCEV(Index));
400 IndexExprs[I] = SE->getSCEV(LHS);
464 if (SE->getSCEV(I)->isZero()
    [all...]
AlignmentFromAssumptions.cpp 130 const SCEV *PtrSCEV = SE->getSCEV(Ptr);
219 AlignSCEV = SE->getSCEV(AlignOB.Inputs[1].get());
222 OffSCEV = SE->getSCEV(AlignOB.Inputs[2].get());
241 const SCEV *AASCEV = SE->getSCEV(AAPtr);
LoopLoadElimination.cpp 120 auto *LoadPtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(LoadPtr));
121 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr));
431 auto *PtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(Ptr));
508 assert(isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Load->getPointerOperand())) &&
511 isa<SCEVAddRecExpr>(PSE.getSCEV(Cand.Store->getPointerOperand())) &&
574 PSE.getSCEV(Cand.Load->getPointerOperand())) ||
576 PSE.getSCEV(Cand.Store->getPointerOperand()));
StraightLineStrengthReduce.cpp 417 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), Idx, S, I);
422 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), Idx, S, I);
426 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), One, RHS,
450 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I);
456 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I);
460 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(LHS), Zero, RHS,
537 IndexExprs.push_back(SE->getSCEV(Idx));
LoopRerollPass.cpp 594 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(&*I))) {
907 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst));
913 const SCEV *StepSCEV = SE->getMinusSCEV(SE->getSCEV(DRS.Roots[0]), ADR);
920 const SCEV *NewStepSCEV = SE->getMinusSCEV(SE->getSCEV(DRS.Roots[i]),
921 SE->getSCEV(DRS.Roots[i-1]));
932 const auto *IVU_ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IVU));
1451 cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst));
1453 IncrExprs.push_back(SE->getMinusSCEV(SE->getSCEV(DRS.Roots[0]), IVSCEV));
InductiveRangeCheckElimination.cpp 299 return SE.isLoopInvariant(SE.getSCEV(V), L);
380 const auto *IndexAddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Index));
391 End = SE.getSCEV(Length);
802 const SCEV *LeftSCEV = SE.getSCEV(LeftValue);
806 const SCEV *RightSCEV = SE.getSCEV(RightValue);
872 const SCEV *Step = SE.getSCEV(StepCI);
1079 const SCEV *Start = NoopOrExtend(SE.getSCEV(MainLoopStructure.IndVarStart),
1081 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy,
1932 cast<SCEVAddRecExpr>(SE.getMinusSCEV(SE.getSCEV(LS.IndVarBase), SE.getSCEV(LS.IndVarStep)))
    [all...]
LoopIdiomRecognize.cpp 507 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
566 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand()));
672 cast<SCEVAddRecExpr>(SE->getSCEV(FirstStorePtr));
708 cast<SCEVAddRecExpr>(SE->getSCEV(SecondStorePtr));
778 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
845 const SCEVAddRecExpr *StoreEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Dest));
848 const SCEVAddRecExpr *LoadEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Source));
910 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer));
1171 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
1182 const SCEVAddRecExpr *LoadEv = cast<SCEVAddRecExpr>(SE->getSCEV(LoadPtr))
    [all...]
LoopVersioningLICM.cpp 374 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop))
388 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop))
IndVarSimplify.cpp 868 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
879 isa<SCEVAddRecExpr>(SE->getSCEV(IncV)));
912 const auto *AR = cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
977 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
1107 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IncVar));
1152 const SCEV *IV = SE->getSCEV(CmpIndVar);
1153 const SCEV *TruncatedIV = SE->getTruncateExpr(SE->getSCEV(CmpIndVar),
LoopStrengthReduce.cpp 443 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue(
915 SE.getSCEV(&PN) == AR)
977 return SE.getSCEV(UI) == Mul;
2120 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH));
2267 if (IterationCount != SE.getSCEV(Sel)) return Cond;
2304 const SCEV *IV = SE.getSCEV(Cond->getOperand(0));
2321 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS)
2325 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS)
2329 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS)
2331 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 164 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D));
168 SE->getSCEV(IVSrc) != SE->getMulExpr(FoldedExpr, SE->getSCEV(D)))
176 if (SE->getSCEV(UseInst) != FoldedExpr)
183 assert(SE->getSCEV(UseInst) == FoldedExpr && "bad SCEV with folded oper");
236 const SCEV *IncomingS = SE->getSCEV(Incoming);
314 auto *N = SE->getSCEV(SDiv->getOperand(0));
315 auto *D = SE->getSCEV(SDiv->getOperand(1));
387 const SCEV *N = SE->getSCEV(NValue)
    [all...]
LoopPeel.cpp 209 const SCEV *LeftSCEV = SE.getSCEV(LeftVal);
210 const SCEV *RightSCEV = SE.getSCEV(RightVal);
ScalarEvolutionExpander.cpp 768 X = SE.getSCEV(U->getValue());
778 SE.getSCEV(Sum));
1107 IncV = expandAddToGEP(SE.getSCEV(StepV), GEPPtrTy, IntTy, PN);
1233 const SCEVAddRecExpr *PhiSCEV = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(&PN));
2075 auto *Const = dyn_cast<SCEVConstant>(SE.getSCEV(PN));
2097 PHINode *&OrigPhiRef = ExprToIVMap[SE.getSCEV(Phi)];
2105 SE.getTruncateExpr(SE.getSCEV(Phi), Phis.back()->getType());
2142 SE.getTruncateOrNoop(SE.getSCEV(OrigInc), IsomorphicInc->getType());
2144 TruncExpr == SE.getSCEV(IsomorphicInc) &&
2203 if (SE.getSCEV(LHS) == S && SE.DT.dominates(LHS, At)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVETailPredication.cpp 212 auto *EC= SE->getSCEV(ElemCount);
213 auto *TC = SE->getSCEV(TripCount);
266 auto *VW = SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth));
269 SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth - 1)));
315 auto *IVExpr = SE->getSCEV(IV);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ScalarEvolutionAliasAnalysis.cpp 35 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr));
36 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr));
ScalarEvolution.cpp 3441 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand());
3442 // getSCEV(Base)->getType() has the same address space as Base->getType()
3696 // want to simplify it any further Also, if we call a normal getSCEV(),
3893 const SCEV *ScalarEvolution::getSCEV(Value *V) {
4349 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue());
4817 const SCEV *BEValue = getSCEV(BEValueV);
4905 const SCEV *StartVal = getSCEV(StartValueV);
5075 Accum = getSCEV(BO->RHS);
5077 Accum = getSCEV(BO->LHS);
5088 const SCEV *StartVal = getSCEV(StartValueV)
    [all...]
IVUsers.cpp 199 const SCEV *ISE = SE->getSCEV(I);
284 LLVM_DEBUG(if (SE->getSCEV(I) != ISE) dbgs()
386 return SE->getSCEV(IU.getOperandValToReplace());
LoopAccessAnalysis.cpp 146 const SCEV *OrigSCEV = PSE.getSCEV(Ptr);
159 const auto *U = cast<SCEVUnknown>(SE->getSCEV(StrideVal));
164 auto *Expr = PSE.getSCEV(Ptr);
646 const SCEV *PtrScev = PSE.getSCEV(Ptr);
672 auto *Expr = PSE.getSCEV(Ptr);
1007 auto *OpScev = PSE.getSCEV(OBO->getOperand(0));
1169 const SCEV *PtrSCEVA = SE.getSCEV(PtrA);
1170 const SCEV *PtrSCEVB = SE.getSCEV(PtrB);
1475 const SCEV *Src = PSE.getSCEV(APtr);
1476 const SCEV *Sink = PSE.getSCEV(BPtr)
    [all...]
LoopUnrollAnalyzer.cpp 32 const SCEV *S = SE.getSCEV(I);
IVDescriptors.cpp 1056 /// PSE.getSCEV(%x) is equal to PSE.getSCEV(%casted_phi) under a predicate,
1074 assert(PSE.getSCEV(PN) == AR && "Unexpected phi node SCEV expression");
1120 auto *AddRec = dyn_cast<SCEVAddRecExpr>(PSE.getSCEV(Val));
1156 const SCEV *PhiScev = PSE.getSCEV(Phi);
1194 const SCEV *PhiScev = Expr ? Expr : SE->getSCEV(Phi);
LoopInfo.cpp 217 if (SE.getSCEV(StepInstOp1) == Step)
219 else if (SE.getSCEV(StepInstOp0) == Step)
276 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(&getStepInst())))
StackSafetyAnalysis.cpp 263 const SCEV *AddrExp = SE.getTruncateOrZeroExtend(SE.getSCEV(Addr), PtrTy);
264 const SCEV *BaseExp = SE.getTruncateOrZeroExtend(SE.getSCEV(Base), PtrTy);
317 SE.getTruncateOrZeroExtend(SE.getSCEV(MI->getLength()), CalculationTy);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
BoundsChecking.cpp 79 auto SizeRange = SE.getUnsignedRange(SE.getSCEV(Size));
80 auto OffsetRange = SE.getUnsignedRange(SE.getSCEV(Offset));
81 auto NeededSizeRange = SE.getUnsignedRange(SE.getSCEV(NeededSizeVal));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlanTransforms.cpp 79 SE.isLoopInvariant(SE.getSCEV(SI->getOperand(0)), OrigLoop);
LoadStoreVectorizer.cpp 366 const SCEV *PtrSCEVA = SE.getSCEV(PtrA);
367 const SCEV *PtrSCEVB = SE.getSCEV(PtrB);
526 const SCEV *OffsetSCEVA = SE.getSCEV(ValA);
527 const SCEV *OffsetSCEVB = SE.getSCEV(OpB);

Completed in 60 milliseconds

1 2