Home
last modified time | relevance | path

Searched refs:expandCodeFor (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DScalarEvolutionExpanderTest.cpp194 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 DScopHelper.cpp245 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 DScalarEvolutionExpander.h272 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 Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp423 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 DIndVarSimplify.cpp1008 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 DLoopIdiomRecognize.cpp1141 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 DLoopRerollPass.cpp1475 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 DInductiveRangeCheckElimination.cpp1028 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 DLoopDataPrefetch.cpp402 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, P.InsertPt); in runOnLoop()
H A DLoopBoundSplit.cpp411 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
H A DLoopStrengthReduce.cpp3240 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 DLoopLoadElimination.cpp432 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
H A DNaryReassociate.cpp634 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1424 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 DLoopUnrollRuntime.cpp746 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
764 Expander.expandCodeFor(BECountSC, BECountSC->getType(), PreHeaderBR); in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp669 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 DScopHelper.h395 llvm::Value *expandCodeFor(Scop &S, llvm::ScalarEvolution &SE,
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DHardwareLoops.cpp422 Value *Count = SCEVE.expandCodeFor(ExitCount, CountType, in InitLoopCount()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2057 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 DPPCLoopInstrFormPrep.cpp608 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 DIslExprBuilder.cpp322 expandCodeFor(S, SE, DL, "polly", DimSCEV, DimSCEV->getType(), in createAccessAddress()
H A DIslNodeBuilder.cpp1508 return expandCodeFor(S, SE, DL, "polly", Expr, Expr->getType(), in generateSCEV()
H A DBlockGenerators.cpp89 expandCodeFor(S, SE, DL, "polly", NewScev, Old->getType(), &*IP, &VTV, in trySynthesizeNewValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1006 Value *Res = Exp.expandCodeFor(Expr, Expr->getType(), in execute()

12