reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ScalarEvolutionExpander.h
  207     Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);

References

lib/Analysis/LoopAccessAnalysis.cpp
 2164                         ? Exp.expandCodeFor(Sc, PtrArithTy, Loc)
 2168     Value *NewPtrPlusOne = Exp.expandCodeFor(ScPlusOne, PtrArithTy, Loc);
 2173     Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc);
 2174     End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc);
lib/Analysis/ScalarEvolutionExpander.cpp
 1265   Value *StartV = expandCodeFor(Normalized->getStart(), ExpandTy,
 1284   Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front());
 1430         StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front());
 1520     V = expandCodeFor(SE.getTruncateExpr(SE.getUnknown(V), Ty), nullptr,
 1937       cast<PHINode>(expandCodeFor(H, nullptr, &L->getHeader()->front()));
 2230   Value *Expr0 = expandCodeFor(Pred->getLHS(), Pred->getLHS()->getType(), IP);
 2231   Value *Expr1 = expandCodeFor(Pred->getRHS(), Pred->getRHS()->getType(), IP);
 2263   Value *TripCountVal = expandCodeFor(ExitCount, CountTy, Loc);
 2269   Value *StepValue = expandCodeFor(Step, Ty, Loc);
 2270   Value *NegStepValue = expandCodeFor(SE.getNegativeSCEV(Step), Ty, Loc);
 2271   Value *StartValue = expandCodeFor(Start, ARExpandTy, Loc);
lib/CodeGen/HardwareLoops.cpp
  351   Value *Count = SCEVE.expandCodeFor(ExitCount, CountType,
lib/Target/ARM/MVETailPredication.cpp
  390   return Expander.expandCodeFor(Elems, Elems->getType(), InsertPt);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2042   Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(),
 2113   LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(),
 2152   Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt);
 2262       Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty,
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  375   Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy,
lib/Transforms/Scalar/IndVarSimplify.cpp
  674         Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst);
 1770   WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt));
 2368     return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI);
 2412     return Rewriter.expandCodeFor(IVLimit, LimitTy, BI);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1016           .expandCodeFor(IndVarStart, IndVarTy, Preheader->getTerminator());
 1448     ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt);
 1475     ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt);
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  310       Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  981       Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator());
 1004       Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator());
 1096   Value *StoreBasePtr = Expander.expandCodeFor(
 1118   Value *LoadBasePtr = Expander.expandCodeFor(
 1139       Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator());
lib/Transforms/Scalar/LoopLoadElimination.cpp
  434     Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(),
lib/Transforms/Scalar/LoopPredication.cpp
  405   Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS}));
  406   Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS}));
lib/Transforms/Scalar/LoopRerollPass.cpp
 1460         Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(),
 1468         Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(),
 1494     Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(),
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 3194       Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt);
 3197       IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt);
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  713   Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(),
  715   Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(),
lib/Transforms/Utils/SimplifyIndVar.cpp
  674   auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP);
lib/Transforms/Vectorize/LoopVectorize.cpp
 1828     Step = Exp.expandCodeFor(ID.getStep(), ID.getStep()->getType(),
 2590   TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(),
 2840         Index, Exp.expandCodeFor(Step, Index->getType(), &*B.GetInsertPoint()));
 2848         CreateMul(Index, Exp.expandCodeFor(Step, Index->getType(),
tools/polly/lib/Support/ScopHelper.cpp
  245     return Expander.expandCodeFor(E, Ty, I);
unittests/Analysis/ScalarEvolutionTest.cpp
  196       Exp.expandCodeFor(cast<SCEVAddExpr>(S)->getOperand(1), nullptr, Br);
  792   Exp.expandCodeFor(AddRec, T_pint64, Ret);
 1244   auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R));
 1296   auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R));
 1347   auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R));
 1398   auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R));
 1487       Exp.expandCodeFor(AR, nullptr, InsertAt);
 1537       Exp.expandCodeFor(AR, nullptr, InsertAt);
 1616       Exp.expandCodeFor(AR, nullptr, InsertAt);
 1668     auto *I = cast<Instruction>(Exp.expandCodeFor(AndSCEV, nullptr, And));
 1786       Value *V = Exp.expandCodeFor(AR, nullptr, InsertAt);
 1835       Value *V = Exp.expandCodeFor(AR, nullptr, InsertAt);
 1887       Value *V = Exp.expandCodeFor(AR, nullptr, InsertAt);