| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | ScalarEvolutionExpanderTest.cpp | 194 Exp.expandCodeFor(AddRec, T_pint64, Ret); in TEST_F() 273 Exp.expandCodeFor(SE.getSCEV(Add), nullptr, Ret); in TEST_F() 325 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F() 377 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F() 428 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F() 479 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F() 521 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F() 572 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F() 654 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F() 813 Value *V = Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F() [all …]
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | ScopHelper.cpp | 245 Value *expandCodeFor(const SCEV *E, Type *Ty, Instruction *I) { in expandCodeFor() function 251 return Expander.expandCodeFor(E, Ty, I); in expandCodeFor() 286 auto *OpClone = expandCodeFor(OpSCEV, Op->getType(), IP); in visitGenericInst() 327 Value *LHS = expandCodeFor(LHSScev, E->getType(), IP); in visitUnknown() 328 Value *RHS = expandCodeFor(RHSScev, E->getType(), IP); in visitUnknown() 409 Value *polly::expandCodeFor(Scop &S, ScalarEvolution &SE, const DataLayout &DL, in expandCodeFor() function in polly 414 return Expander.expandCodeFor(E, Ty, IP); in expandCodeFor()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.h | 272 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 280 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr) {
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | value-ptr-bug.ll | 9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 423 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck() 425 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck() 1220 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1222 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
|
| H A D | IndVarSimplify.cpp | 1008 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit() 1051 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit() 1351 auto *LHSV = Rewriter.expandCodeFor(InvariantLHS); in replaceWithInvariantCond() 1352 auto *RHSV = Rewriter.expandCodeFor(InvariantRHS); in replaceWithInvariantCond() 1861 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1863 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
|
| H A D | LoopIdiomRecognize.cpp | 1141 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore() 1170 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore() 1366 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1419 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1454 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad() 2855 Value *ExtraOffset = Expander.expandCodeFor(ExtraOffsetExpr); in recognizeShiftUntilZero()
|
| H A D | LoopRerollPass.cpp | 1475 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace() 1483 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace() 1509 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
|
| H A D | InductiveRangeCheckElimination.cpp | 1028 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure() 1030 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure() 1462 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run() 1489 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
|
| H A D | LoopDataPrefetch.cpp | 402 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, P.InsertPt); in runOnLoop()
|
| H A D | LoopBoundSplit.cpp | 411 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
|
| H A D | LoopStrengthReduce.cpp | 3240 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() 3243 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 5321 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand() 5337 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand() 5344 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand() 5354 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand() 5358 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand() 5370 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), IntTy); in Expand() 5380 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand() 5416 Value *FullV = Rewriter.expandCodeFor(FullS, Ty); in Expand()
|
| H A D | LoopLoadElimination.cpp | 432 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
|
| H A D | NaryReassociate.cpp | 634 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 1424 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues() 1584 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds() 1585 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds() 1687 Value *Sink = Expander.expandCodeFor(C.SinkStart, Ty, Loc); in addDiffRuntimeChecks() 1688 Value *Src = Expander.expandCodeFor(C.SrcStart, Ty, Loc); in addDiffRuntimeChecks()
|
| H A D | LoopUnrollRuntime.cpp | 746 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 764 Expander.expandCodeFor(BECountSC, BECountSC->getType(), PreHeaderBR); in UnrollRuntimeLoopRemainder()
|
| H A D | SimplifyIndVar.cpp | 669 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant() 1923 Value *ExpandInst = Rewriter.expandCodeFor(AddRec, WideType, InsertPt); in createWideIV()
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | ScopHelper.h | 395 llvm::Value *expandCodeFor(Scop &S, llvm::ScalarEvolution &SE,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | HardwareLoops.cpp | 422 Value *Count = SCEVE.expandCodeFor(ExitCount, CountType, in InitLoopCount()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2057 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore() 2128 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore() 2167 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore() 2276 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 608 Value *OffsetValue = SCEVE.expandCodeFor( in rewriteLoadStoresForCommoningChains() 712 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in rewriteForBase()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 322 expandCodeFor(S, SE, DL, "polly", DimSCEV, DimSCEV->getType(), in createAccessAddress()
|
| H A D | IslNodeBuilder.cpp | 1508 return expandCodeFor(S, SE, DL, "polly", Expr, Expr->getType(), in generateSCEV()
|
| H A D | BlockGenerators.cpp | 89 expandCodeFor(S, SE, DL, "polly", NewScev, Old->getType(), &*IP, &VTV, in trySynthesizeNewValue()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 1006 Value *Res = Exp.expandCodeFor(Expr, Expr->getType(), in execute()
|