Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h305 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I);
306 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) {
307 return expandCodeFor(SH, Ty, I->getIterator());
314 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp406 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure()
408 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure()
776 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
803 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
H A DLoopUtils.cpp1653 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues()
1860 Start = Exp.expandCodeFor(Low, PtrArithTy, Loc); in expandBounds()
1861 End = Exp.expandCodeFor(High, PtrArithTy, Loc); in expandBounds()
1868 Stride ? Exp.expandCodeFor(Stride, Stride->getType(), Loc) : nullptr; in expandBounds()
1975 Expander.expandCodeFor(SE.getMinusSCEV(SinkStart, SrcStart), Ty, Loc); in addDiffRuntimeChecks()
H A DLoopUnrollRuntime.cpp766 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
784 Expander.expandCodeFor(BECountSC, BECountSC->getType(), PreHeaderBR); in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp236 Rewriter.expandCodeFor(InvariantLHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
238 Rewriter.expandCodeFor(InvariantRHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
659 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant()
2078 Value *ExpandInst = Rewriter.expandCodeFor(AddRec, WideType, InsertPt); in createWideIV()
H A DScalarEvolutionExpander.cpp1407 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty, in expandCodeFor() function in SCEVExpander
1410 Value *V = expandCodeFor(SH, Ty); in expandCodeFor()
1414 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty) { in expandCodeFor() function in SCEVExpander
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp392 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in parseLoopICmp()
394 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in parseLoopICmp()
1152 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1154 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
H A DIndVarSimplify.cpp941 return Rewriter.expandCodeFor(IVLimit, ARBase->getType(), in genLoopLimit()
1253 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond()
1254 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond()
1870 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1872 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
H A DLoopIdiomRecognize.cpp1049 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
1078 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore()
1289 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1342 Value *LoadBasePtr = Expander.expandCodeFor(LdStart, Builder.getPtrTy(LdAS), in processLoopStoreOfLoopLoad()
1377 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
3009 Value *ExtraOffset = Expander.expandCodeFor(ExtraOffsetExpr); in recognizeShiftUntilZero()
H A DLoopDataPrefetch.cpp403 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, P.InsertPt); in runOnLoop()
H A DInductiveRangeCheckElimination.cpp
H A DLoopStrengthReduce.cpp3457 Value *IncV = Rewriter.expandCodeFor(Remainder, IntTy, InsertPt); in GenerateIVChain()
3460 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3472 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3475 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
5721 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand()
5737 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand()
5744 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand()
5754 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand()
5758 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand()
5770 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), IntTy); in Expand()
[all …]
H A DLoopBoundSplit.cpp411 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
H A DLoopLoadElimination.cpp445 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
H A DNaryReassociate.cpp646 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp442 Value *Start = Expander.expandCodeFor(StartSCEV, StartSCEV->getType(), Ins); in TryConvertActiveLaneMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2050 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore()
2121 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore()
2160 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore()
2269 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp609 Value *OffsetValue = SCEVE.expandCodeFor( in rewriteLoadStoresForCommoningChains()
713 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in rewriteForBase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp485 Value *Count = SCEVE.expandCodeFor(ExitCount, CountType, in InitLoopCount()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp2468 Value *Res = Exp.expandCodeFor(Expr, Expr->getType(), in execute()
H A DSLPVectorizer.cpp4538 return Expander.expandCodeFor(Stride, Stride->getType(), Inst); in calculateRtStride()