Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h279 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I);
280 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) {
281 return expandCodeFor(SH, Ty, I->getIterator());
288 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp400 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure()
402 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure()
770 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
797 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
H A DLoopUtils.cpp1508 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues()
1714 Start = Exp.expandCodeFor(Low, PtrArithTy, Loc); in expandBounds()
1715 End = Exp.expandCodeFor(High, PtrArithTy, Loc); in expandBounds()
1722 Stride ? Exp.expandCodeFor(Stride, Stride->getType(), Loc) : nullptr; in expandBounds()
1829 Value *Diff = Expander.expandCodeFor( 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.cpp228 Rewriter.expandCodeFor(InvariantLHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
230 Rewriter.expandCodeFor(InvariantRHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
645 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant()
1962 Value *ExpandInst = Rewriter.expandCodeFor(AddRec, WideType, InsertPt); in createWideIV()
H A DScalarEvolutionExpander.cpp1350 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty, in expandCodeFor() function in SCEVExpander
1353 Value *V = expandCodeFor(SH, Ty); in expandCodeFor()
1357 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty) { in expandCodeFor() function in SCEVExpander
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp392 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck()
394 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck()
1152 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1154 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
H A DIndVarSimplify.cpp929 return Rewriter.expandCodeFor(IVLimit, ARBase->getType(), in genLoopLimit()
1241 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond()
1242 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond()
1858 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1860 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
H A DLoopIdiomRecognize.cpp1044 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
1073 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore()
1284 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1337 Value *LoadBasePtr = Expander.expandCodeFor(LdStart, Builder.getPtrTy(LdAS), in processLoopStoreOfLoopLoad()
1372 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
2792 Value *ExtraOffset = Expander.expandCodeFor(ExtraOffsetExpr); in recognizeShiftUntilZero()
H A DLoopRerollPass.cpp1443 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace()
1451 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace()
1477 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
H A DLoopDataPrefetch.cpp403 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.cpp3238 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3241 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
5424 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand()
5440 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand()
5447 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand()
5457 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand()
5461 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand()
5473 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), IntTy); in Expand()
5483 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand()
5519 Value *FullV = Rewriter.expandCodeFor(FullS, Ty); in Expand()
[all …]
H A DLoopLoadElimination.cpp441 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
H A DNaryReassociate.cpp635 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp442 Value *Start = Expander.expandCodeFor(StartSCEV, StartSCEV->getType(), Ins); in TryConvertActiveLaneMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2056 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore()
2127 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore()
2166 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore()
2275 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp485 Value *Count = SCEVE.expandCodeFor(ExitCount, CountType, in InitLoopCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1630 Value *Res = Exp.expandCodeFor(Expr, Expr->getType(), in execute()