Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp742 Value *W = expandCodeFor(Op, Ty); in visitAddExpr()
793 Value *P = expandCodeFor(I->second, Ty); in visitMulExpr()
841 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr()
849 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr()
1606 Value *V = expandCodeFor(S->getOperand(), in visitTruncateExpr()
1615 Value *V = expandCodeFor(S->getOperand(), in visitZeroExtendExpr()
1624 Value *V = expandCodeFor(S->getOperand(), in visitSignExtendExpr()
1641 Value *RHS = expandCodeFor(S->getOperand(i), Ty); in visitSMaxExpr()
1665 Value *RHS = expandCodeFor(S->getOperand(i), Ty); in visitUMaxExpr()
1682 return expandCodeFor(SH, Ty); in expandCodeFor()
[all …]
H A DLoopAccessAnalysis.cpp2103 ? Exp.expandCodeFor(Sc, PtrArithTy, Loc) in expandBounds()
2107 Value *NewPtrPlusOne = Exp.expandCodeFor(ScPlusOne, PtrArithTy, Loc); in expandBounds()
2112 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds()
2113 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpander.h204 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
210 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp899 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
922 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore()
1007 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1029 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1050 Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
H A DLoopPredication.cpp394 Value *LHSV = Expander.expandCodeFor(LHS, Ty, InsertAt); in expandCheck()
395 Value *RHSV = Expander.expandCodeFor(RHS, Ty, InsertAt); in expandCheck()
H A DLoopDataPrefetch.cpp311 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
H A DLoopRerollPass.cpp1451 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace()
1459 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace()
1485 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
H A DLoopStrengthReduce.cpp3166 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3169 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
5072 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand()
5088 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand()
5095 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand()
5105 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand()
5109 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand()
5121 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand()
5131 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand()
5167 Value *FullV = Rewriter.expandCodeFor(FullS, Ty); in Expand()
H A DIndVarSimplify.cpp632 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in rewriteLoopExitValues()
1720 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in createWideIV()
2310 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit()
2360 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit()
H A DInductiveRangeCheckElimination.cpp1025 .expandCodeFor(IndVarStart, IndVarTy, Preheader->getTerminator()); in parseLoopStructure()
1438 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1465 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
H A DLoopLoadElimination.cpp429 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp721 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
723 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp676 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp433 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in runOnLoop()
H A DPPCCTRLoops.cpp660 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2041 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore()
2112 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore()
2151 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore()
2263 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1664 Step = Exp.expandCodeFor(ID.getStep(), ID.getStep()->getType(), in widenIntOrFpInduction()
2425 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()
2661 Index, Exp.expandCodeFor(Step, Index->getType(), &*B.GetInsertPoint())); in emitTransformedIndex()
2669 CreateMul(Index, Exp.expandCodeFor(Step, Index->getType(), in emitTransformedIndex()