Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp445 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP()
500 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP()
722 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr()
728 Value *W = expandCodeFor(Op, Ty); in visitAddExpr()
767 Value *W = expandCodeFor(Op, Ty); in visitMulExpr()
789 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr()
797 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr()
1173 expandCodeFor(Normalized->getStart(), ExpandTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1190 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1325 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally()
[all …]
DLoopAccessAnalysis.cpp1649 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds()
1650 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h152 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
263 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp548 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
571 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore()
656 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
676 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
701 Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
DLoopRerollPass.cpp1289 Value *NewIV = Expander.expandCodeFor(H, IV->getType(), &Header->front()); in replace()
1307 ICMinus1 = Expander.expandCodeFor(ICMinus1SCEV, NewIV->getType(), BI); in replace()
1313 ICMinus1 = Expander.expandCodeFor(ICMinus1SCEV, NewIV->getType(), in replace()
DInductiveRangeCheckElimination.cpp836 .expandCodeFor(IndVarStart, IndVarTy, &*Preheader->rbegin()); in parseLoopStructure()
1230 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1249 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
DIndVarSimplify.cpp524 return Rewriter.expandCodeFor(S, ResultTy, InsertPt); in expandSCEVIfNeeded()
1403 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in createWideIV()
1829 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit()
1880 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit()
DLoopStrengthReduce.cpp2903 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
2906 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
4488 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr, &*IP))); in Expand()
4506 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, &*IP))); in Expand()
4513 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr, &*IP); in Expand()
4523 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand()
4527 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, &*IP)); in Expand()
4539 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand()
4549 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand()
4585 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, &*IP); in Expand()
DLoopLoadElimination.cpp377 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp344 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopProlog()
346 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopProlog()
/external/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/external/llvm/lib/Target/PowerPC/
DPPCLoopDataPrefetch.cpp215 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
DPPCLoopPreIncPrep.cpp337 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in runOnLoop()
DPPCCTRLoops.cpp561 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2676 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()